未验证 提交 4733c70d 编写于 作者: M Michal Strehovský 提交者: GitHub

Manifest DllImportSourceGenerator as a generator (#62836)

上级 74e6d016
......@@ -8,5 +8,6 @@
<EnableDefaultItems>true</EnableDefaultItems>
<CLSCompliant>false</CLSCompliant>
<ILLinkTrimAssembly>false</ILLinkTrimAssembly>
<IsGeneratorProject>true</IsGeneratorProject>
</PropertyGroup>
</Project>
\ No newline at end of file
......@@ -176,12 +176,7 @@
<AotCompilerCopyLocal Include="$(CoreCLRArtifactsPath)aotsdk/**/*" TargetDir="nativeaot/sdk/" />
<AotCompilerCopyLocal Include="$(CoreCLRArtifactsPath)build/**/*" TargetDir="nativeaot/build/" />
<AotCompilerCopyLocal Include="$(TargetingPackPath)/*" TargetDir="nativeaot/framework/" />
<!-- Works around https://github.com/dotnet/runtime/issues/62372 -->
<_FixedRuntimeCopyLocalItems Include="@(RuntimeCopyLocalItems)" />
<_FixedRuntimeCopyLocalItems Remove="@(_FixedRuntimeCopyLocalItems)" Condition="'%(Filename)' == 'Microsoft.Interop.DllImportGenerator'" />
<AotCompilerCopyLocal Include="@(_FixedRuntimeCopyLocalItems)" TargetDir="nativeaot/framework/" />
<AotCompilerCopyLocal Include="@(RuntimeCopyLocalItems)" TargetDir="nativeaot/framework/" />
</ItemGroup>
<ItemGroup Condition="'$(RuntimeFlavor)' == 'mono' and '$(IsDesktopOS)' == 'true' " >
......
......@@ -122,10 +122,7 @@
</RemoveDuplicates>
<ItemGroup>
<TestsAndAssociatedAssemblies Include="%(TestDirs.Identity)/*.dll" />
<CoreRootDlls Include="$(CORE_ROOT)/*.dll"
Exclude="$(CORE_ROOT)/xunit.performance.api.dll;
$(CORE_ROOT)/Microsoft.Interop.DllImportGenerator.dll;
$(CORE_ROOT)/Microsoft.Interop.SourceGeneration.dll" />
<CoreRootDlls Include="$(CORE_ROOT)/*.dll" Exclude="$(CORE_ROOT)/xunit.performance.api.dll" />
<AllDlls Condition="'$(MonoFullAot)' == 'true'" Include="@(TestsAndAssociatedAssemblies);@(CoreRootDlls)" />
<AllDlls Condition="'$(MonoFullAot)' != 'true'" Include="@(TestsAndAssociatedAssemblies)" />
</ItemGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册