This repository was archived by the owner on Apr 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed
Microsoft.DotNet.MSBuildSdkResolver Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 11<Project ToolsVersion =" 15.0" >
22 <Target Name =" WriteGitCommitInfoProps" >
33 <Exec Command =" git rev-list --count HEAD"
4- ConsoleToMSBuild =" true" >
4+ ConsoleToMSBuild =" true"
5+ Condition =" '$(GitInfoCommitCount)' == '' " >
56 <Output TaskParameter =" ConsoleOutput" PropertyName =" GitInfoCommitCount" />
67 </Exec >
78
89 <Exec Command =" git rev-parse HEAD"
9- ConsoleToMSBuild =" true" >
10+ ConsoleToMSBuild =" true"
11+ Condition =" '$(GitInfoCommitHash)' == '' " >
1012 <Output TaskParameter =" ConsoleOutput" PropertyName =" GitInfoCommitHash" />
1113 </Exec >
1214
Original file line number Diff line number Diff line change 4343
4444 <WriteLinesToFile Condition =" '$(ExternalRestoreSources)' != '' and '$(DotNetBuildOffline)' != 'true'"
4545 File =" $(GeneratedNuGetConfig)"
46- Lines =" < add key=" PrivateBlobFeed%(NugetConfigPrivateFeeds.Filename )" value=" %(NugetConfigPrivateFeeds.Identity)" /> "
46+ Lines =" < add key=" PrivateBlobFeed%(NugetConfigPrivateFeeds.Identity )" value=" %(NugetConfigPrivateFeeds.Identity)" /> "
4747 Overwrite =" false" />
4848
4949 <WriteLinesToFile Condition =" '$(DotNetBuildOffline)' != 'true'"
Original file line number Diff line number Diff line change 189189export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
190190
191191if [ $BUILD -eq 1 ]; then
192- dotnet msbuild build.proj /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles $argsnotargets
192+ dotnet msbuild build.proj /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles ${ argsnotargets[@]}
193193 dotnet msbuild build.proj /m /v:normal /fl /flp:v=diag /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS $args
194194else
195195 echo " Not building due to --nobuild"
Original file line number Diff line number Diff line change 55 <TargetFrameworks >netstandard2.0;net46</TargetFrameworks >
66 <TargetFrameworks Condition =" '$(OS)' != 'Windows_NT'" >netstandard2.0</TargetFrameworks >
77 <PlatformTarget >AnyCPU</PlatformTarget >
8- <RuntimeIdentifiers >win-x86;win-x64</RuntimeIdentifiers >
8+ <RuntimeIdentifiers Condition = " '$(OS)' == 'Windows_NT' " >win-x86;win-x64</RuntimeIdentifiers >
99 <WarningsAsErrors >true</WarningsAsErrors >
1010 <AssemblyOriginatorKeyFile >../../tools/Key.snk</AssemblyOriginatorKeyFile >
1111 <SignAssembly >true</SignAssembly >
Original file line number Diff line number Diff line change 1919 <PackageReference Include =" NuGet.Build.Tasks" Version =" $(NuGetBuildTasksPackageVersion)" />
2020 <PackageReference Include =" Microsoft.TestPlatform.CLI" Version =" $(MicrosoftTestPlatformCLIPackageVersion)" />
2121 <PackageReference Include =" Microsoft.TestPlatform.Build" Version =" $(MicrosoftTestPlatformBuildPackageVersion)" />
22- <PackageReference Include =" NuGet.Localization" Version =" $(NuGetProjectModelPackageVersion)" />
22+ <PackageReference Condition = " '$(DotNetBuildFromSource)' != 'true' " Include =" NuGet.Localization" Version =" $(NuGetProjectModelPackageVersion)" />
2323 <PackageReference Include =" NuGet.ProjectModel" Version =" $(NuGetProjectModelPackageVersion)" />
2424 <PackageReference Include =" Microsoft.NETCore.Compilers" Version =" $(MicrosoftNETCoreCompilersPackageVersion)" >
2525 <ExcludeAssets >All</ExcludeAssets >
You can’t perform that action at this time.
0 commit comments