提交 330fa788 编写于 作者: C Christopher Costa
上级 f8da39da
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
</Target> </Target>
<Target Name="BatchRestorePackages" Condition="'$(RestoreDuringBuild)'=='true'"> <Target Name="BatchRestorePackages" Condition="'$(RestoreDuringBuild)'=='true'">
<!-- Restore packages in a separate msbuild instance so that the buildversion props file generated in
CreateVersionInfoFile target gets evaluated, this ensures VersionSuffix is set (especially during
'dotnet restore') to work around https://github.com/NuGet/Home/issues/4337 -->
<MSBuild Projects="$(MSBuildThisFileDirectory)restore.proj" /> <MSBuild Projects="$(MSBuildThisFileDirectory)restore.proj" />
</Target> </Target>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册