Skip to content

Commit 722de45

Browse files
Fix building the nativeaot project in VS (#121946)
The build doesn't work unless VS knows about the generators in the SLNX.
1 parent 7baffba commit 722de45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/coreclr/nativeaot/nativeaot.slnx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,15 @@
1010
<Platform Name="x86" />
1111
</Configurations>
1212
<Folder Name="/gen/">
13+
<Project Path="../../libraries/System.Private.CoreLib/gen/EventSourceGenerator.csproj">
14+
<BuildType Solution="Checked|*" Project="Debug" />
15+
</Project>
1316
<Project Path="../../libraries/System.Private.CoreLib/gen/System.Private.CoreLib.Generators.csproj">
1417
<BuildType Solution="Checked|*" Project="Debug" />
1518
</Project>
19+
<Project Path="../../libraries/System.Runtime.InteropServices/gen/DownlevelLibraryImportGenerator/DownlevelLibraryImportGenerator.csproj">
20+
<BuildType Solution="Checked|*" Project="Debug" />
21+
</Project>
1622
<Project Path="../../libraries/System.Runtime.InteropServices/gen/LibraryImportGenerator/LibraryImportGenerator.csproj">
1723
<BuildType Solution="Checked|*" Project="Debug" />
1824
</Project>

0 commit comments

Comments
 (0)