提交 6a4429a4 编写于 作者: T Tomas Matousek 提交者: Tomáš Matoušek

Fix publishing of dependent projects

上级 2e31d973
......@@ -15,21 +15,22 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Compilers\CSharp\csc\csc.csproj" PrivateAssets="all"/>
<ProjectReference Include="..\..\Compilers\VisualBasic\vbc\vbc.csproj" PrivateAssets="all"/>
<ProjectReference Include="..\..\Interactive\csi\csi.csproj" PrivateAssets="all"/>
<ProjectReference Include="..\..\Compilers\Core\MSBuildTask\Microsoft.Build.Tasks.CodeAnalysis.csproj" PrivateAssets="all"/>
<ProjectReference Include="..\..\Compilers\Server\VBCSCompiler\VBCSCompiler.csproj" PrivateAssets="all"/>
<ProjectReference Include="..\..\Compilers\CSharp\csc\csc.csproj"/>
<ProjectReference Include="..\..\Compilers\VisualBasic\vbc\vbc.csproj"/>
<ProjectReference Include="..\..\Interactive\csi\csi.csproj"/>
<ProjectReference Include="..\..\Compilers\Core\MSBuildTask\Microsoft.Build.Tasks.CodeAnalysis.csproj"/>
<ProjectReference Include="..\..\Compilers\Server\VBCSCompiler\VBCSCompiler.csproj"/>
</ItemGroup>
<ItemGroup>
<_ExplicitProjectReference Include="@(ProjectReference)" />
<ProjectReference Update="@(ProjectReference)"
Targets="Publish"
ReferenceOutputAssembly="false"
SkipGetTargetFrameworkProperties="true"
SetTargetFramework="TargetFramework=$(TargetFramework)" />
</ItemGroup>
<Target Name="_GetFilesToPackage">
<!-- Publish dependent projects before packaging. -->
<MSBuild Projects="@(_ExplicitProjectReference)" Targets="Publish" Properties="TargetFramework=$(TargetFramework)" />
<PropertyGroup>
<_Dlls>$(ArtifactsConfigurationDir)Dlls\</_Dlls>
<_Exes>$(ArtifactsConfigurationDir)Exes\</_Exes>
......
......@@ -40,6 +40,7 @@
<PackageReference Include="Microsoft.NETCore.ILAsm" Version="$(MicrosoftNETCoreILAsmVersion)" />
</ItemGroup>
<!-- Workaround for https://github.com/dotnet/sdk/issues/2573 -->
<PropertyGroup>
<_IlasmIncrementalBuildMarker>$(PublishDir).v$(MicrosoftNETCoreILAsmVersion)</_IlasmIncrementalBuildMarker>
</PropertyGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册