Merge pull request #9188 from livarcocc/remove_patches
Removing some patches for source build.
This commit is contained in:
commit
7bb63cfddf
5 changed files with 8 additions and 6 deletions
|
@ -1,12 +1,14 @@
|
||||||
<Project ToolsVersion="15.0">
|
<Project ToolsVersion="15.0">
|
||||||
<Target Name="WriteGitCommitInfoProps">
|
<Target Name="WriteGitCommitInfoProps">
|
||||||
<Exec Command="git rev-list --count HEAD"
|
<Exec Command="git rev-list --count HEAD"
|
||||||
ConsoleToMSBuild="true">
|
ConsoleToMSBuild="true"
|
||||||
|
Condition=" '$(GitInfoCommitCount)' == '' ">
|
||||||
<Output TaskParameter="ConsoleOutput" PropertyName="GitInfoCommitCount" />
|
<Output TaskParameter="ConsoleOutput" PropertyName="GitInfoCommitCount" />
|
||||||
</Exec>
|
</Exec>
|
||||||
|
|
||||||
<Exec Command="git rev-parse HEAD"
|
<Exec Command="git rev-parse HEAD"
|
||||||
ConsoleToMSBuild="true">
|
ConsoleToMSBuild="true"
|
||||||
|
Condition=" '$(GitInfoCommitHash)' == '' ">
|
||||||
<Output TaskParameter="ConsoleOutput" PropertyName="GitInfoCommitHash" />
|
<Output TaskParameter="ConsoleOutput" PropertyName="GitInfoCommitHash" />
|
||||||
</Exec>
|
</Exec>
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
<WriteLinesToFile Condition="'$(ExternalRestoreSources)' != '' and '$(DotNetBuildOffline)' != 'true'"
|
<WriteLinesToFile Condition="'$(ExternalRestoreSources)' != '' and '$(DotNetBuildOffline)' != 'true'"
|
||||||
File="$(GeneratedNuGetConfig)"
|
File="$(GeneratedNuGetConfig)"
|
||||||
Lines="<add key="PrivateBlobFeed%(NugetConfigPrivateFeeds.Filename)" value="%(NugetConfigPrivateFeeds.Identity)" />"
|
Lines="<add key="PrivateBlobFeed%(NugetConfigPrivateFeeds.Identity)" value="%(NugetConfigPrivateFeeds.Identity)" />"
|
||||||
Overwrite="false" />
|
Overwrite="false" />
|
||||||
|
|
||||||
<WriteLinesToFile Condition="'$(DotNetBuildOffline)' != 'true'"
|
<WriteLinesToFile Condition="'$(DotNetBuildOffline)' != 'true'"
|
||||||
|
|
|
@ -189,7 +189,7 @@ fi
|
||||||
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
||||||
|
|
||||||
if [ $BUILD -eq 1 ]; then
|
if [ $BUILD -eq 1 ]; then
|
||||||
dotnet msbuild build.proj /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles $argsnotargets
|
dotnet msbuild build.proj /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles ${argsnotargets[@]}
|
||||||
dotnet msbuild build.proj /m /v:normal /fl /flp:v=diag /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS $args
|
dotnet msbuild build.proj /m /v:normal /fl /flp:v=diag /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS $args
|
||||||
else
|
else
|
||||||
echo "Not building due to --nobuild"
|
echo "Not building due to --nobuild"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;net46</TargetFrameworks>
|
||||||
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">netstandard2.0</TargetFrameworks>
|
<TargetFrameworks Condition="'$(OS)' != 'Windows_NT'">netstandard2.0</TargetFrameworks>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
|
<RuntimeIdentifiers Condition="'$(OS)' == 'Windows_NT'">win-x86;win-x64</RuntimeIdentifiers>
|
||||||
<WarningsAsErrors>true</WarningsAsErrors>
|
<WarningsAsErrors>true</WarningsAsErrors>
|
||||||
<AssemblyOriginatorKeyFile>../../tools/Key.snk</AssemblyOriginatorKeyFile>
|
<AssemblyOriginatorKeyFile>../../tools/Key.snk</AssemblyOriginatorKeyFile>
|
||||||
<SignAssembly>true</SignAssembly>
|
<SignAssembly>true</SignAssembly>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<PackageReference Include="NuGet.Build.Tasks" Version="$(NuGetBuildTasksPackageVersion)" />
|
<PackageReference Include="NuGet.Build.Tasks" Version="$(NuGetBuildTasksPackageVersion)" />
|
||||||
<PackageReference Include="Microsoft.TestPlatform.CLI" Version="$(MicrosoftTestPlatformCLIPackageVersion)" />
|
<PackageReference Include="Microsoft.TestPlatform.CLI" Version="$(MicrosoftTestPlatformCLIPackageVersion)" />
|
||||||
<PackageReference Include="Microsoft.TestPlatform.Build" Version="$(MicrosoftTestPlatformBuildPackageVersion)" />
|
<PackageReference Include="Microsoft.TestPlatform.Build" Version="$(MicrosoftTestPlatformBuildPackageVersion)" />
|
||||||
<PackageReference Include="NuGet.Localization" Version="$(NuGetProjectModelPackageVersion)" />
|
<PackageReference Condition=" '$(DotNetBuildFromSource)' != 'true' " Include="NuGet.Localization" Version="$(NuGetProjectModelPackageVersion)" />
|
||||||
<PackageReference Include="NuGet.ProjectModel" Version="$(NuGetProjectModelPackageVersion)" />
|
<PackageReference Include="NuGet.ProjectModel" Version="$(NuGetProjectModelPackageVersion)" />
|
||||||
<PackageReference Include="Microsoft.NETCore.Compilers" Version="$(MicrosoftNETCoreCompilersPackageVersion)">
|
<PackageReference Include="Microsoft.NETCore.Compilers" Version="$(MicrosoftNETCoreCompilersPackageVersion)">
|
||||||
<ExcludeAssets>All</ExcludeAssets>
|
<ExcludeAssets>All</ExcludeAssets>
|
||||||
|
|
Loading…
Reference in a new issue