Merge branch 'release/6.0.3xx' into merge/release/6.0.1xx-to-release/6.0.3xx
This commit is contained in:
commit
c50431e473
44 changed files with 360 additions and 1166 deletions
|
@ -37,7 +37,7 @@ variables:
|
||||||
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
- group: DotNetBuilds storage account read tokens
|
- group: DotNetBuilds storage account read tokens
|
||||||
- name: _InternalRuntimeDownloadArgs
|
- name: _InternalRuntimeDownloadArgs
|
||||||
value: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal
|
value: /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal
|
||||||
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
|
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
|
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<!-- Begin: Package sources from dotnet-runtime -->
|
<!-- Begin: Package sources from dotnet-runtime -->
|
||||||
<!-- End: Package sources from dotnet-runtime -->
|
<!-- End: Package sources from dotnet-runtime -->
|
||||||
<!-- Begin: Package sources from dotnet-templating -->
|
<!-- Begin: Package sources from dotnet-templating -->
|
||||||
|
<add key="darc-int-dotnet-templating-d251862" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-d251862f/nuget/v3/index.json" />
|
||||||
<!-- End: Package sources from dotnet-templating -->
|
<!-- End: Package sources from dotnet-templating -->
|
||||||
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
||||||
<!-- End: Package sources from dotnet-windowsdesktop -->
|
<!-- End: Package sources from dotnet-windowsdesktop -->
|
||||||
|
@ -31,8 +32,6 @@
|
||||||
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
|
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
|
||||||
<!-- Temporary feed for Xamarin workload manifest -->
|
<!-- Temporary feed for Xamarin workload manifest -->
|
||||||
<add key="xamarin" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" />
|
<add key="xamarin" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/xamarin-impl/nuget/v3/index.json" />
|
||||||
<!-- Remove after RTM. Working around lack of automated creation of isolated feeds for nuget client -->
|
|
||||||
<add key="darc-pub-nuget-nuget.client-078701b" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-nuget-nuget.client-078701b/nuget/v3/index.json" />
|
|
||||||
</packageSources>
|
</packageSources>
|
||||||
<disabledPackageSources>
|
<disabledPackageSources>
|
||||||
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
|
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
|
||||||
|
@ -40,6 +39,7 @@
|
||||||
<!-- End: Package sources from dotnet-aspnetcore -->
|
<!-- End: Package sources from dotnet-aspnetcore -->
|
||||||
<!-- Begin: Package sources from dotnet-runtime -->
|
<!-- Begin: Package sources from dotnet-runtime -->
|
||||||
<!-- Begin: Package sources from dotnet-templating -->
|
<!-- Begin: Package sources from dotnet-templating -->
|
||||||
|
<add key="darc-int-dotnet-templating-d251862" value="true" />
|
||||||
<!-- End: Package sources from dotnet-templating -->
|
<!-- End: Package sources from dotnet-templating -->
|
||||||
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
<!-- Begin: Package sources from dotnet-windowsdesktop -->
|
||||||
<!-- End: Package sources from dotnet-windowsdesktop -->
|
<!-- End: Package sources from dotnet-windowsdesktop -->
|
||||||
|
|
|
@ -77,40 +77,40 @@
|
||||||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-aspnetcore</Uri>
|
||||||
<Sha>6a01dd1e69c8b9bd1ae005ea465ef2bcd26294bf</Sha>
|
<Sha>6a01dd1e69c8b9bd1ae005ea465ef2bcd26294bf</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.2.1" Version="1.0.2-beta4.22064.3">
|
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.2.1" Version="1.0.2-beta4.22207.1">
|
||||||
<Uri>https://github.com/dotnet/test-templates</Uri>
|
<Uri>https://github.com/dotnet/test-templates</Uri>
|
||||||
<Sha>c40ef7e056b48e011c43a21354d6790ba6b8b4fc</Sha>
|
<Sha>9388790ba9ed8fef11584b2c74fe6789782a1592</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.5.0" Version="1.0.2-beta4.22064.3">
|
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.5.0" Version="1.0.2-beta4.22207.1">
|
||||||
<Uri>https://github.com/dotnet/test-templates</Uri>
|
<Uri>https://github.com/dotnet/test-templates</Uri>
|
||||||
<Sha>c40ef7e056b48e011c43a21354d6790ba6b8b4fc</Sha>
|
<Sha>9388790ba9ed8fef11584b2c74fe6789782a1592</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.6.0" Version="1.0.2-beta4.22064.3">
|
<Dependency Name="Microsoft.DotNet.Test.ProjectTemplates.6.0" Version="1.0.2-beta4.22207.1">
|
||||||
<Uri>https://github.com/dotnet/test-templates</Uri>
|
<Uri>https://github.com/dotnet/test-templates</Uri>
|
||||||
<Sha>c40ef7e056b48e011c43a21354d6790ba6b8b4fc</Sha>
|
<Sha>9388790ba9ed8fef11584b2c74fe6789782a1592</Sha>
|
||||||
<SourceBuild RepoName="test-templates" ManagedOnly="true" />
|
<SourceBuild RepoName="test-templates" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Common.ItemTemplates" Version="6.0.108" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.DotNet.Common.ItemTemplates" Version="6.0.303" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-templating</Uri>
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-templating</Uri>
|
||||||
<Sha>733440663a189f4c4de64f53bab82fd9382b9a3a</Sha>
|
<Sha>d251862fe81655a95aea81683f44ef49f84d3cd7</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.TemplateEngine.Cli" Version="6.0.108-servicing.22363.24" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.TemplateEngine.Cli" Version="6.0.303-servicing.22368.4" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-templating</Uri>
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-templating</Uri>
|
||||||
<Sha>733440663a189f4c4de64f53bab82fd9382b9a3a</Sha>
|
<Sha>d251862fe81655a95aea81683f44ef49f84d3cd7</Sha>
|
||||||
<SourceBuild RepoName="templating" ManagedOnly="true" />
|
<SourceBuild RepoName="templating" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Common.ProjectTemplates.6.0" Version="6.0.108" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.DotNet.Common.ProjectTemplates.6.0" Version="6.0.303" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-templating</Uri>
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-templating</Uri>
|
||||||
<Sha>733440663a189f4c4de64f53bab82fd9382b9a3a</Sha>
|
<Sha>d251862fe81655a95aea81683f44ef49f84d3cd7</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.NET.Sdk" Version="6.0.108-servicing.22368.19">
|
<Dependency Name="Microsoft.NET.Sdk" Version="6.0.303-servicing.22368.20">
|
||||||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-sdk</Uri>
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-sdk</Uri>
|
||||||
<Sha>17ea4a71a1adac805a17c272977139ddc6200bf9</Sha>
|
<Sha>c42e5ebf0d71359c76fa8465aacd1e2e6e9c7bac</Sha>
|
||||||
<SourceBuild RepoName="sdk" ManagedOnly="true" />
|
<SourceBuild RepoName="sdk" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.MSBuildSdkResolver" Version="6.0.108-servicing.22368.19">
|
<Dependency Name="Microsoft.DotNet.MSBuildSdkResolver" Version="6.0.303-servicing.22368.20">
|
||||||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-sdk</Uri>
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-sdk</Uri>
|
||||||
<Sha>17ea4a71a1adac805a17c272977139ddc6200bf9</Sha>
|
<Sha>c42e5ebf0d71359c76fa8465aacd1e2e6e9c7bac</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<!-- For coherency purposes, these versions should be gated by the versions of winforms and wpf routed via windowsdesktop -->
|
<!-- For coherency purposes, these versions should be gated by the versions of winforms and wpf routed via windowsdesktop -->
|
||||||
<Dependency Name="Microsoft.Dotnet.WinForms.ProjectTemplates" Version="6.0.8-servicing.22368.4" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
|
<Dependency Name="Microsoft.Dotnet.WinForms.ProjectTemplates" Version="6.0.8-servicing.22368.4" CoherentParentDependency="Microsoft.WindowsDesktop.App.Runtime.win-x64">
|
||||||
|
@ -121,39 +121,39 @@
|
||||||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-wpf</Uri>
|
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-wpf</Uri>
|
||||||
<Sha>7a75fd34f53bc300206bd8cfc636527934dd17af</Sha>
|
<Sha>7a75fd34f53bc300206bd8cfc636527934dd17af</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.FSharp.Compiler" Version="12.0.0-beta.21522.2" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.FSharp.Compiler" Version="12.0.4-beta.22329.1" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://github.com/dotnet/fsharp</Uri>
|
<Uri>https://github.com/dotnet/fsharp</Uri>
|
||||||
<Sha>6d626ff0752a77d339f609b4d361787dc9ca93a5</Sha>
|
<Sha>702b8e77f5fbfe21e6743324c1750503e02f182d</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.fsharp" Version="6.0.1-beta.21522.2" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.fsharp" Version="6.0.5-beta.22329.1" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://github.com/dotnet/fsharp</Uri>
|
<Uri>https://github.com/dotnet/fsharp</Uri>
|
||||||
<Sha>6d626ff0752a77d339f609b4d361787dc9ca93a5</Sha>
|
<Sha>702b8e77f5fbfe21e6743324c1750503e02f182d</Sha>
|
||||||
<SourceBuild RepoName="fsharp" ManagedOnly="true" />
|
<SourceBuild RepoName="fsharp" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.NET.Test.Sdk" Version="17.0.0" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.NET.Test.Sdk" Version="17.2.0-release-20220408-11" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://github.com/microsoft/vstest</Uri>
|
<Uri>https://github.com/microsoft/vstest</Uri>
|
||||||
<Sha>68bd10d3aee862a9fbb0bac8b3d474bc323024f3</Sha>
|
<Sha>717d0cf94925e9cf67466dbee46c1019930eb212</Sha>
|
||||||
<SourceBuildTarball RepoName="vstest" ManagedOnly="true" />
|
<SourceBuildTarball RepoName="vstest" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="6.0.100-1.21519.4" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.NET.ILLink.Tasks" Version="6.0.200-1.22219.3" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://github.com/dotnet/linker</Uri>
|
<Uri>https://github.com/dotnet/linker</Uri>
|
||||||
<Sha>d0662ed8db919642177ddfd06a1c33895a69015f</Sha>
|
<Sha>28db36b95cf83c8e2ad11e67a2ad0de301b4cad6</Sha>
|
||||||
<SourceBuild RepoName="linker" ManagedOnly="true" />
|
<SourceBuild RepoName="linker" ManagedOnly="true" />
|
||||||
<RepoName>linker</RepoName>
|
<RepoName>linker</RepoName>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.0.1-1.22181.2" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.2.0-4.22220.5" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||||
<Sha>487283bcd8d66693091f2800dcf1c8ae37cccdee</Sha>
|
<Sha>432d17a83aa5623e4581756f4d642997048056bd</Sha>
|
||||||
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
|
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.Build" Version="17.0.0" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="Microsoft.Build" Version="17.2.0" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://github.com/dotnet/msbuild</Uri>
|
<Uri>https://github.com/dotnet/msbuild</Uri>
|
||||||
<Sha>c9eb9dd64e9a2e8a433900a1a626d65a2bce4428</Sha>
|
<Sha>41abc5629965e3f9e41f1e67fdf78345c0c5cc4b</Sha>
|
||||||
<SourceBuildTarball RepoName="msbuild" ManagedOnly="true" />
|
<SourceBuildTarball RepoName="msbuild" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="NuGet.Build.Tasks" Version="6.0.2-rc.5" CoherentParentDependency="Microsoft.NET.Sdk">
|
<Dependency Name="NuGet.Build.Tasks" Version="6.2.1-rc.7" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://github.com/nuget/nuget.client</Uri>
|
<Uri>https://github.com/nuget/nuget.client</Uri>
|
||||||
<Sha>75551652b352f860ea0b29095b64fa63715dd672</Sha>
|
<Sha>4be14ee6b6587a02f05337505bd840fbcbe898f6</Sha>
|
||||||
<SourceBuildTarball RepoName="nuget-client" ManagedOnly="true" />
|
<SourceBuildTarball RepoName="nuget-client" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.ApplicationInsights" Version="2.19.0">
|
<Dependency Name="Microsoft.ApplicationInsights" Version="2.19.0">
|
||||||
|
@ -166,13 +166,13 @@
|
||||||
<Sha>698fdad58fa64a55f16cd9562c90224cc498ed02</Sha>
|
<Sha>698fdad58fa64a55f16cd9562c90224cc498ed02</Sha>
|
||||||
<SourceBuildTarball RepoName="xdt" ManagedOnly="true" />
|
<SourceBuildTarball RepoName="xdt" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.NET.Workload.Emscripten.Manifest-6.0.100" Version="6.0.4" CoherentParentDependency="VS.Redist.Common.NetCore.SharedFramework.x64.6.0">
|
<Dependency Name="Microsoft.NET.Workload.Emscripten.Manifest-6.0.300" Version="6.0.4">
|
||||||
<Uri>https://github.com/dotnet/emsdk</Uri>
|
<Uri>https://github.com/dotnet/emsdk</Uri>
|
||||||
<Sha>52e9452f82e26f9fcae791e84c082ae22f1ef66f</Sha>
|
<Sha>52e9452f82e26f9fcae791e84c082ae22f1ef66f</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build" Version="6.0.0-servicing.22419.2">
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build" Version="0.1.0-alpha.1.21519.2" CoherentParentDependency="Microsoft.NET.Sdk">
|
||||||
<Uri>https://github.com/dotnet/source-build</Uri>
|
<Uri>https://github.com/dotnet/source-build</Uri>
|
||||||
<Sha>7649ca7106e7e91ac06f169626bf01a77c2258eb</Sha>
|
<Sha>10d0f7e94aa45889155c312f51cfc01bf326b853</Sha>
|
||||||
<SourceBuild RepoName="source-build" ManagedOnly="true" />
|
<SourceBuild RepoName="source-build" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.DotNet.Cli.CommandLine" Version="1.0.0-preview.21310.2">
|
<Dependency Name="Microsoft.DotNet.Cli.CommandLine" Version="1.0.0-preview.21310.2">
|
||||||
|
@ -211,9 +211,9 @@
|
||||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||||
<Sha>41323ecb0b2312980381bfdbb75afd2dae2b266b</Sha>
|
<Sha>41323ecb0b2312980381bfdbb75afd2dae2b266b</Sha>
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="6.0.0-servicing.22419.2">
|
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="6.0.0-servicing.22363.1">
|
||||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||||
<Sha>fdbbfadcaa5804038ad0a3f67c33f489cbeda65c</Sha>
|
<Sha>08e4967761f81c4c40b6872a0e639b4f588b4f00</Sha>
|
||||||
<SourceBuildTarball RepoName="source-build-reference-packages" ManagedOnly="true" />
|
<SourceBuildTarball RepoName="source-build-reference-packages" ManagedOnly="true" />
|
||||||
</Dependency>
|
</Dependency>
|
||||||
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-21480-02" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
<Dependency Name="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-21480-02" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<VersionMajor>6</VersionMajor>
|
<VersionMajor>6</VersionMajor>
|
||||||
<VersionMinor>0</VersionMinor>
|
<VersionMinor>0</VersionMinor>
|
||||||
<VersionSDKMinor>1</VersionSDKMinor>
|
<VersionSDKMinor>3</VersionSDKMinor>
|
||||||
<VersionFeature>10</VersionFeature>
|
<VersionFeature>05</VersionFeature>
|
||||||
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionSDKMinor)$(VersionFeature)</VersionPrefix>
|
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionSDKMinor)$(VersionFeature)</VersionPrefix>
|
||||||
<PreReleaseVersionLabel>servicing</PreReleaseVersionLabel>
|
<PreReleaseVersionLabel>servicing</PreReleaseVersionLabel>
|
||||||
<MajorMinorVersion>$(VersionMajor).$(VersionMinor)</MajorMinorVersion>
|
<MajorMinorVersion>$(VersionMajor).$(VersionMinor)</MajorMinorVersion>
|
||||||
|
@ -31,12 +31,12 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/templating -->
|
<!-- Dependency from https://github.com/dotnet/templating -->
|
||||||
<MicrosoftDotNetCommonItemTemplatesPackageVersion>6.0.108</MicrosoftDotNetCommonItemTemplatesPackageVersion>
|
<MicrosoftDotNetCommonItemTemplatesPackageVersion>6.0.303</MicrosoftDotNetCommonItemTemplatesPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependency from https://github.com/dotnet/test-templates -->
|
<!-- Dependency from https://github.com/dotnet/test-templates -->
|
||||||
<MicrosoftDotNetTestProjectTemplates50PackageVersion>1.0.2-beta4.22064.3</MicrosoftDotNetTestProjectTemplates50PackageVersion>
|
<MicrosoftDotNetTestProjectTemplates50PackageVersion>1.0.2-beta4.22207.1</MicrosoftDotNetTestProjectTemplates50PackageVersion>
|
||||||
<MicrosoftDotNetTestProjectTemplates60PackageVersion>1.0.2-beta4.22064.3</MicrosoftDotNetTestProjectTemplates60PackageVersion>
|
<MicrosoftDotNetTestProjectTemplates60PackageVersion>1.0.2-beta4.22207.1</MicrosoftDotNetTestProjectTemplates60PackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- NUnit3.DotNetNew.Template versions do not 'flow in' -->
|
<!-- NUnit3.DotNetNew.Template versions do not 'flow in' -->
|
||||||
|
@ -56,8 +56,8 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Dependencies from https://github.com/dotnet/sdk -->
|
<!-- Dependencies from https://github.com/dotnet/sdk -->
|
||||||
<MicrosoftNETSdkPackageVersion>6.0.108-servicing.22368.19</MicrosoftNETSdkPackageVersion>
|
<MicrosoftNETSdkPackageVersion>6.0.303-servicing.22368.20</MicrosoftNETSdkPackageVersion>
|
||||||
<MicrosoftDotNetMSBuildSdkResolverPackageVersion>6.0.108-servicing.22368.19</MicrosoftDotNetMSBuildSdkResolverPackageVersion>
|
<MicrosoftDotNetMSBuildSdkResolverPackageVersion>6.0.303-servicing.22368.20</MicrosoftDotNetMSBuildSdkResolverPackageVersion>
|
||||||
<MicrosoftNETBuildExtensionsPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftNETBuildExtensionsPackageVersion>
|
<MicrosoftNETBuildExtensionsPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftNETBuildExtensionsPackageVersion>
|
||||||
<MicrosoftDotnetToolsetInternalPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetToolsetInternalPackageVersion>
|
<MicrosoftDotnetToolsetInternalPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetToolsetInternalPackageVersion>
|
||||||
<MicrosoftDotnetTemplateLocatorPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetTemplateLocatorPackageVersion>
|
<MicrosoftDotnetTemplateLocatorPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetTemplateLocatorPackageVersion>
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
<MicrosoftDotNetWpfProjectTemplates60PackageVersion>$(MicrosoftDotNetWpfProjectTemplatesPackageVersion)</MicrosoftDotNetWpfProjectTemplates60PackageVersion>
|
<MicrosoftDotNetWpfProjectTemplates60PackageVersion>$(MicrosoftDotNetWpfProjectTemplatesPackageVersion)</MicrosoftDotNetWpfProjectTemplates60PackageVersion>
|
||||||
<NUnit3Templates60PackageVersion>$(NUnit3DotNetNewTemplatePackageVersion)</NUnit3Templates60PackageVersion>
|
<NUnit3Templates60PackageVersion>$(NUnit3DotNetNewTemplatePackageVersion)</NUnit3Templates60PackageVersion>
|
||||||
<MicrosoftDotNetCommonItemTemplates60PackageVersion>$(MicrosoftDotNetCommonItemTemplatesPackageVersion)</MicrosoftDotNetCommonItemTemplates60PackageVersion>
|
<MicrosoftDotNetCommonItemTemplates60PackageVersion>$(MicrosoftDotNetCommonItemTemplatesPackageVersion)</MicrosoftDotNetCommonItemTemplates60PackageVersion>
|
||||||
<MicrosoftDotNetCommonProjectTemplates60PackageVersion>6.0.108</MicrosoftDotNetCommonProjectTemplates60PackageVersion>
|
<MicrosoftDotNetCommonProjectTemplates60PackageVersion>6.0.303</MicrosoftDotNetCommonProjectTemplates60PackageVersion>
|
||||||
<AspNetCorePackageVersionFor60Templates>$(MicrosoftAspNetCoreAppRuntimePackageVersion)</AspNetCorePackageVersionFor60Templates>
|
<AspNetCorePackageVersionFor60Templates>$(MicrosoftAspNetCoreAppRuntimePackageVersion)</AspNetCorePackageVersionFor60Templates>
|
||||||
<!-- 5.0 Template versions -->
|
<!-- 5.0 Template versions -->
|
||||||
<MicrosoftDotnetWinFormsProjectTemplates50PackageVersion>$(MicrosoftWinFormsProjectTemplates50PackageVersion)</MicrosoftDotnetWinFormsProjectTemplates50PackageVersion>
|
<MicrosoftDotnetWinFormsProjectTemplates50PackageVersion>$(MicrosoftWinFormsProjectTemplates50PackageVersion)</MicrosoftDotnetWinFormsProjectTemplates50PackageVersion>
|
||||||
|
@ -145,14 +145,14 @@
|
||||||
<NUnit3Templates21PackageVersion>1.5.3</NUnit3Templates21PackageVersion>
|
<NUnit3Templates21PackageVersion>1.5.3</NUnit3Templates21PackageVersion>
|
||||||
<MicrosoftDotNetCommonItemTemplates21PackageVersion>1.0.2-beta3</MicrosoftDotNetCommonItemTemplates21PackageVersion>
|
<MicrosoftDotNetCommonItemTemplates21PackageVersion>1.0.2-beta3</MicrosoftDotNetCommonItemTemplates21PackageVersion>
|
||||||
<MicrosoftDotNetCommonProjectTemplates21PackageVersion>$(MicrosoftDotNetCommonItemTemplates21PackageVersion)</MicrosoftDotNetCommonProjectTemplates21PackageVersion>
|
<MicrosoftDotNetCommonProjectTemplates21PackageVersion>$(MicrosoftDotNetCommonItemTemplates21PackageVersion)</MicrosoftDotNetCommonProjectTemplates21PackageVersion>
|
||||||
<MicrosoftDotNetTestProjectTemplates21PackageVersion>1.0.2-beta4.22064.3</MicrosoftDotNetTestProjectTemplates21PackageVersion>
|
<MicrosoftDotNetTestProjectTemplates21PackageVersion>1.0.2-beta4.22207.1</MicrosoftDotNetTestProjectTemplates21PackageVersion>
|
||||||
<AspNetCorePackageVersionFor21Templates>2.1.34</AspNetCorePackageVersionFor21Templates>
|
<AspNetCorePackageVersionFor21Templates>2.1.34</AspNetCorePackageVersionFor21Templates>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- infrastructure and test only dependencies -->
|
<!-- infrastructure and test only dependencies -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<VersionToolsVersion>2.2.0-beta.19072.10</VersionToolsVersion>
|
<VersionToolsVersion>2.2.0-beta.19072.10</VersionToolsVersion>
|
||||||
<DotnetDebToolVersion>2.0.0</DotnetDebToolVersion>
|
<DotnetDebToolVersion>2.0.0</DotnetDebToolVersion>
|
||||||
<MicrosoftNETTestSdkVersion>17.0.0</MicrosoftNETTestSdkVersion>
|
<MicrosoftNETTestSdkVersion>17.2.0-release-20220408-11</MicrosoftNETTestSdkVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- dependencies for source-build tarball -->
|
<!-- dependencies for source-build tarball -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
@ -174,19 +174,19 @@
|
||||||
or minor release, prebuilts may be needed. When the release is mature, prebuilts are not
|
or minor release, prebuilts may be needed. When the release is mature, prebuilts are not
|
||||||
necessary, and this property is removed from the file.
|
necessary, and this property is removed from the file.
|
||||||
-->
|
-->
|
||||||
<PrivateSourceBuiltArtifactsPackageVersion>6.0.109-2</PrivateSourceBuiltArtifactsPackageVersion>
|
<PrivateSourceBuiltArtifactsPackageVersion>6.0.107</PrivateSourceBuiltArtifactsPackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- Workload manifest package versions -->
|
<!-- Workload manifest package versions -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<MauiWorkloadManifestVersion>6.0.101-preview.9.1805</MauiWorkloadManifestVersion>
|
<MauiWorkloadManifestVersion>6.0.300-rc.1.5355</MauiWorkloadManifestVersion>
|
||||||
<XamarinAndroidWorkloadManifestVersion>31.0.101-preview.9.16</XamarinAndroidWorkloadManifestVersion>
|
<XamarinAndroidWorkloadManifestVersion>32.0.300-rc.1.4</XamarinAndroidWorkloadManifestVersion>
|
||||||
<XamarinIOSWorkloadManifestVersion>15.0.101-preview.9.31</XamarinIOSWorkloadManifestVersion>
|
<XamarinIOSWorkloadManifestVersion>15.4.100-rc.1.125</XamarinIOSWorkloadManifestVersion>
|
||||||
<XamarinMacCatalystWorkloadManifestVersion>15.0.101-preview.9.31</XamarinMacCatalystWorkloadManifestVersion>
|
<XamarinMacCatalystWorkloadManifestVersion>15.4.100-rc.1.125</XamarinMacCatalystWorkloadManifestVersion>
|
||||||
<XamarinMacOSWorkloadManifestVersion>12.0.101-preview.9.31</XamarinMacOSWorkloadManifestVersion>
|
<XamarinMacOSWorkloadManifestVersion>12.3.100-rc.1.125</XamarinMacOSWorkloadManifestVersion>
|
||||||
<XamarinTvOSWorkloadManifestVersion>15.0.101-preview.9.31</XamarinTvOSWorkloadManifestVersion>
|
<XamarinTvOSWorkloadManifestVersion>15.4.100-rc.1.125</XamarinTvOSWorkloadManifestVersion>
|
||||||
<MonoWorkloadManifestVersion>$(MicrosoftNETCoreAppRefPackageVersion)</MonoWorkloadManifestVersion>
|
<MonoWorkloadManifestVersion>6.0.4</MonoWorkloadManifestVersion>
|
||||||
<MicrosoftNETWorkloadEmscriptenManifest60100Version>6.0.4</MicrosoftNETWorkloadEmscriptenManifest60100Version>
|
<MicrosoftNETWorkloadEmscriptenManifest60200Version>6.0.4</MicrosoftNETWorkloadEmscriptenManifest60200Version>
|
||||||
<EmscriptenWorkloadManifestVersion>$(MicrosoftNETWorkloadEmscriptenManifest60100Version)</EmscriptenWorkloadManifestVersion>
|
<EmscriptenWorkloadManifestVersion>$(MicrosoftNETWorkloadEmscriptenManifest60200Version)</EmscriptenWorkloadManifestVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- pinned dependency. This package is not being produced outside of the 2.0 branch of corefx and should not change. -->
|
<!-- pinned dependency. This package is not being produced outside of the 2.0 branch of corefx and should not change. -->
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
<PackageReference Include="Microsoft.DotNet.MSBuildSdkResolver" Version="$(MicrosoftDotNetMSBuildSdkResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true"/>
|
<PackageReference Include="Microsoft.DotNet.MSBuildSdkResolver" Version="$(MicrosoftDotNetMSBuildSdkResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true"/>
|
||||||
<PackageReference Include="runtime.win-x86.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
<PackageReference Include="runtime.win-x86.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
||||||
<PackageReference Include="runtime.win-x64.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
<PackageReference Include="runtime.win-x64.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
||||||
|
<PackageReference Include="runtime.win-arm64.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Target
|
<Target
|
||||||
|
@ -29,6 +30,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<_SdkResolverSrc Include="$(Pkgruntime_win-x86_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-x86\native\hostfxr.dll" Arch="x86\" />
|
<_SdkResolverSrc Include="$(Pkgruntime_win-x86_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-x86\native\hostfxr.dll" Arch="x86\" />
|
||||||
<_SdkResolverSrc Include="$(Pkgruntime_win-x64_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-x64\native\hostfxr.dll" Arch="x64\" />
|
<_SdkResolverSrc Include="$(Pkgruntime_win-x64_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-x64\native\hostfxr.dll" Arch="x64\" />
|
||||||
|
<_SdkResolverSrc Include="$(Pkgruntime_win-arm64_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-arm64\native\hostfxr.dll" Arch="arm64\" />
|
||||||
<_SdkResolverSrc Include="$(PkgMicrosoft_DotNet_MSBuildSdkResolver)\lib\net472\**\*.dll" Arch="" />
|
<_SdkResolverSrc Include="$(PkgMicrosoft_DotNet_MSBuildSdkResolver)\lib\net472\**\*.dll" Arch="" />
|
||||||
<_SdkResolverDst Include="@(_SdkResolverSrc->'$(OutputPath)%(Arch)%(RecursiveDir)%(Filename)%(Extension)')" />
|
<_SdkResolverDst Include="@(_SdkResolverSrc->'$(OutputPath)%(Arch)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -80,9 +80,12 @@ jobs:
|
||||||
# This prevents allocation of additional agents if the tarball build legs should be skipped.
|
# This prevents allocation of additional agents if the tarball build legs should be skipped.
|
||||||
# Only build the tarball if the PR touches source-build source.
|
# Only build the tarball if the PR touches source-build source.
|
||||||
- script: |
|
- script: |
|
||||||
if curl "https://api.github.com/repos/dotnet/installer/pulls/$(System.PullRequest.PullRequestNumber)/files" | grep '"filename": "src/SourceBuild/*'
|
# Temporarily disable tarball PR validation until source-build is supported in this channel.
|
||||||
then
|
echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]false"
|
||||||
echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]true"
|
|
||||||
fi
|
# if curl "https://api.github.com/repos/dotnet/installer/pulls/$(System.PullRequest.PullRequestNumber)/files" | grep '"filename": "src/SourceBuild/*'
|
||||||
|
# then
|
||||||
|
# echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]true"
|
||||||
|
# fi
|
||||||
displayName: Tarball Build Check
|
displayName: Tarball Build Check
|
||||||
name: Tarball_Build_Check
|
name: Tarball_Build_Check
|
||||||
|
|
|
@ -44,13 +44,13 @@ jobs:
|
||||||
_EnablePoison: false
|
_EnablePoison: false
|
||||||
_ExcludeOmniSharpTests: true
|
_ExcludeOmniSharpTests: true
|
||||||
_RunOnline: true
|
_RunOnline: true
|
||||||
CentOS7-Offline:
|
|
||||||
_BootstrapPrep: false
|
|
||||||
_Container: ${{ parameters.centOS7Container }}
|
|
||||||
_EnablePoison: false
|
|
||||||
_ExcludeOmniSharpTests: true
|
|
||||||
_RunOnline: false
|
|
||||||
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
|
CentOS7-Offline:
|
||||||
|
_BootstrapPrep: false
|
||||||
|
_Container: ${{ parameters.centOS7Container }}
|
||||||
|
_EnablePoison: false
|
||||||
|
_ExcludeOmniSharpTests: true
|
||||||
|
_RunOnline: false
|
||||||
CentOS8-Offline:
|
CentOS8-Offline:
|
||||||
_BootstrapPrep: false
|
_BootstrapPrep: false
|
||||||
_Container: ${{ parameters.centOS8Container }}
|
_Container: ${{ parameters.centOS8Container }}
|
||||||
|
|
|
@ -11,14 +11,14 @@
|
||||||
should be added to source-build-reference-packages.
|
should be added to source-build-reference-packages.
|
||||||
-->
|
-->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageDownload Include="Microsoft.NET.Sdk.Android.Manifest-6.0.100" Version="[$(XamarinAndroidWorkloadManifestVersion)]" />
|
<PackageDownload Include="Microsoft.NET.Sdk.Android.Manifest-6.0.300" Version="[$(XamarinAndroidWorkloadManifestVersion)]" />
|
||||||
<PackageDownload Include="Microsoft.NET.Sdk.iOS.Manifest-6.0.100" Version="[$(XamarinIOSWorkloadManifestVersion)]" />
|
<PackageDownload Include="Microsoft.NET.Sdk.iOS.Manifest-6.0.300" Version="[$(XamarinIOSWorkloadManifestVersion)]" />
|
||||||
<PackageDownload Include="Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.100" Version="[$(XamarinMacCatalystWorkloadManifestVersion)]" />
|
<PackageDownload Include="Microsoft.NET.Sdk.MacCatalyst.Manifest-6.0.300" Version="[$(XamarinMacCatalystWorkloadManifestVersion)]" />
|
||||||
<PackageDownload Include="Microsoft.NET.Sdk.macOS.Manifest-6.0.100" Version="[$(XamarinMacOSWorkloadManifestVersion)]" />
|
<PackageDownload Include="Microsoft.NET.Sdk.macOS.Manifest-6.0.300" Version="[$(XamarinMacOSWorkloadManifestVersion)]" />
|
||||||
<PackageDownload Include="Microsoft.NET.Sdk.Maui.Manifest-6.0.100" Version="[$(MauiWorkloadManifestVersion)]" />
|
<PackageDownload Include="Microsoft.NET.Sdk.Maui.Manifest-6.0.300" Version="[$(MauiWorkloadManifestVersion)]" />
|
||||||
<PackageDownload Include="Microsoft.NET.Sdk.tvOS.Manifest-6.0.100" Version="[$(XamarinTvOSWorkloadManifestVersion)]" />
|
<PackageDownload Include="Microsoft.NET.Sdk.tvOS.Manifest-6.0.300" Version="[$(XamarinTvOSWorkloadManifestVersion)]" />
|
||||||
<PackageDownload Include="Microsoft.NET.Workload.Emscripten.Manifest-6.0.100" Version="[$(EmscriptenWorkloadManifestVersion)]" />
|
<PackageDownload Include="Microsoft.NET.Workload.Emscripten.Manifest-6.0.300" Version="[$(EmscriptenWorkloadManifestVersion)]" />
|
||||||
<PackageDownload Include="Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.100" Version="[$(MonoWorkloadManifestVersion)]" />
|
<PackageDownload Include="Microsoft.NET.Workload.Mono.ToolChain.Manifest-6.0.300" Version="[$(MonoWorkloadManifestVersion)]" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -39,4 +39,4 @@
|
||||||
File="$(TargetPackagesPath)/TextOnlyPackageDirectories.txt"
|
File="$(TargetPackagesPath)/TextOnlyPackageDirectories.txt"
|
||||||
Overwrite="true" />
|
Overwrite="true" />
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"tools": {
|
"tools": {
|
||||||
"dotnet": "6.0.109"
|
"dotnet": "6.0.200"
|
||||||
},
|
},
|
||||||
"msbuild-sdks": {
|
"msbuild-sdks": {
|
||||||
"Microsoft.Build.CentralPackageVersions": "2.0.1",
|
"Microsoft.Build.CentralPackageVersions": "2.0.1",
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="RemoveInternetSourcesFromNuGetConfig" />
|
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="RemoveInternetSourcesFromNuGetConfig" />
|
||||||
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ReplaceFeedsInNuGetConfig" />
|
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ReplaceFeedsInNuGetConfig" />
|
||||||
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="UpdateJson" />
|
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="UpdateJson" />
|
||||||
|
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="UpdateNuGetConfigPackageSourcesMappings" />
|
||||||
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ValidateUsageAgainstBaseline" />
|
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ValidateUsageAgainstBaseline" />
|
||||||
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="WriteBuildOutputProps" />
|
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="WriteBuildOutputProps" />
|
||||||
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="WritePackageUsageData" />
|
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="WritePackageUsageData" />
|
||||||
|
@ -176,6 +177,19 @@
|
||||||
Condition="'$(NuGetConfigFile)' != '' OR '@(NuGetConfigFiles)' != ''"
|
Condition="'$(NuGetConfigFile)' != '' OR '@(NuGetConfigFiles)' != ''"
|
||||||
Inputs="$(MSBuildProjectFullPath)"
|
Inputs="$(MSBuildProjectFullPath)"
|
||||||
Outputs="$(RepoCompletedSemaphorePath)UpdateNuGetConfig.complete">
|
Outputs="$(RepoCompletedSemaphorePath)UpdateNuGetConfig.complete">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<PrebuiltNuGetSourceName>prebuilt</PrebuiltNuGetSourceName>
|
||||||
|
<PreviouslySourceBuiltNuGetSourceName>previously-source-built</PreviouslySourceBuiltNuGetSourceName>
|
||||||
|
<ReferencePackagesNuGetSourceName>reference-packages</ReferencePackagesNuGetSourceName>
|
||||||
|
<SourceBuiltNuGetSourceName>source-built</SourceBuiltNuGetSourceName>
|
||||||
|
<ExtraSourcesNuGetSourceName>ExtraSources</ExtraSourcesNuGetSourceName>
|
||||||
|
<DotNet5InternalTransportNuGetSourceName>dotnet5-internal-transport</DotNet5InternalTransportNuGetSourceName>
|
||||||
|
<SourceBuildSources>$(PrebuiltNuGetSourceName);$(PreviouslySourceBuiltNuGetSourceName);$(ReferencePackagesNuGetSourceName);$(SourceBuiltNuGetSourceName)</SourceBuildSources>
|
||||||
|
<SourceBuildSources Condition="'$(ExtraRestoreSourcePath)' != ''">$(SourceBuildSources);$(ExtraSourcesNuGetSourceName)</SourceBuildSources>
|
||||||
|
<SourceBuildSources Condition="'$(VSS_NUGET_EXTERNAL_FEED_ENDPOINTS)' != '' and '$(SetUpInternalTransportFeed)' == 'true'">$(SourceBuildSources);$(DotNet5InternalTransportNuGetSourceName)</SourceBuildSources>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Update the detected or manually specified NuGetConfigFile, but also allow multiple. -->
|
<!-- Update the detected or manually specified NuGetConfigFile, but also allow multiple. -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<NuGetConfigFiles Include="$(NuGetConfigFile)" />
|
<NuGetConfigFiles Include="$(NuGetConfigFile)" />
|
||||||
|
@ -187,26 +201,26 @@
|
||||||
KeepFeedPrefixes="@(KeepFeedPrefixes)" />
|
KeepFeedPrefixes="@(KeepFeedPrefixes)" />
|
||||||
|
|
||||||
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
||||||
SourceName="prebuilt"
|
SourceName="$(PrebuiltNuGetSourceName)"
|
||||||
SourcePath="$(PrebuiltPackagesPath)"
|
SourcePath="$(PrebuiltPackagesPath)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
||||||
SourceName="previously-source-built"
|
SourceName="$(PreviouslySourceBuiltNuGetSourceName)"
|
||||||
SourcePath="$(PrebuiltSourceBuiltPackagesPath)"
|
SourcePath="$(PrebuiltSourceBuiltPackagesPath)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
||||||
SourceName="reference-packages"
|
SourceName="$(ReferencePackagesNuGetSourceName)"
|
||||||
SourcePath="$(ReferencePackagesDir)"
|
SourcePath="$(ReferencePackagesDir)"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
||||||
SourceName="source-built"
|
SourceName="$(SourceBuiltNuGetSourceName)"
|
||||||
SourcePath="$(SourceBuiltPackagesPath)" />
|
SourcePath="$(SourceBuiltPackagesPath)" />
|
||||||
|
|
||||||
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
<AddSourceToNuGetConfig NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
||||||
SourceName="ExtraSources"
|
SourceName="$(ExtraSourcesNuGetSourceName)"
|
||||||
SourcePath="$(ExtraRestoreSourcePath)"
|
SourcePath="$(ExtraRestoreSourcePath)"
|
||||||
Condition="'$(ExtraRestoreSourcePath)' != ''" />
|
Condition="'$(ExtraRestoreSourcePath)' != ''" />
|
||||||
|
|
||||||
|
@ -219,9 +233,14 @@
|
||||||
'$(VSS_NUGET_EXTERNAL_FEED_ENDPOINTS)' != '' and
|
'$(VSS_NUGET_EXTERNAL_FEED_ENDPOINTS)' != '' and
|
||||||
'$(SetUpInternalTransportFeed)' == 'true'"
|
'$(SetUpInternalTransportFeed)' == 'true'"
|
||||||
NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
||||||
SourceName="dotnet5-internal-transport"
|
SourceName="$(DotNet5InternalTransportNuGetSourceName)"
|
||||||
SourcePath="https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet5-internal-transport/nuget/v3/index.json" />
|
SourcePath="https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet5-internal-transport/nuget/v3/index.json" />
|
||||||
|
|
||||||
|
<UpdateNuGetConfigPackageSourcesMappings
|
||||||
|
NuGetConfigFile="%(NuGetConfigFiles.Identity)"
|
||||||
|
BuildWithOnlineSources="$(BuildWithOnlineSources)"
|
||||||
|
SourceBuildSources="$(SourceBuildSources)" />
|
||||||
|
|
||||||
<!-- Update NuGet.Config files that have deprecated myget feeds -->
|
<!-- Update NuGet.Config files that have deprecated myget feeds -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<LegacyFeedMapping
|
<LegacyFeedMapping
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
<RepositoryReference Include="clicommandlineparser" />
|
<RepositoryReference Include="clicommandlineparser" />
|
||||||
<RepositoryReference Include="command-line-api" />
|
<RepositoryReference Include="command-line-api" />
|
||||||
<RepositoryReference Include="diagnostics" />
|
<RepositoryReference Include="diagnostics" />
|
||||||
|
<RepositoryReference Include="razor-compiler" />
|
||||||
<RepositoryReference Include="roslyn" />
|
<RepositoryReference Include="roslyn" />
|
||||||
<RepositoryReference Include="source-build" />
|
<RepositoryReference Include="source-build" />
|
||||||
<RepositoryReference Include="symreader" />
|
<RepositoryReference Include="symreader" />
|
||||||
|
|
21
src/SourceBuild/tarball/content/repos/razor-compiler.proj
Normal file
21
src/SourceBuild/tarball/content/repos/razor-compiler.proj
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<Project>
|
||||||
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<BuildCommand>$(StandardSourceBuildCommand) $(StandardSourceBuildArgs)</BuildCommand>
|
||||||
|
|
||||||
|
<GlobalJsonFile>$(ProjectDirectory)global.json</GlobalJsonFile>
|
||||||
|
<NuGetConfigFile>$(ProjectDirectory)NuGet.config</NuGetConfigFile>
|
||||||
|
<OutputPlacementRepoApiImplemented>false</OutputPlacementRepoApiImplemented>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<RepositoryReference Include="arcade" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<UseSourceBuiltSdkOverride Include="@(ArcadeSdkOverride)" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||||
|
</Project>
|
|
@ -39,6 +39,7 @@
|
||||||
<RepositoryReference Include="fsharp" />
|
<RepositoryReference Include="fsharp" />
|
||||||
<RepositoryReference Include="format" />
|
<RepositoryReference Include="format" />
|
||||||
<RepositoryReference Include="deployment-tools" />
|
<RepositoryReference Include="deployment-tools" />
|
||||||
|
<RepositoryReference Include="razor-compiler" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
||||||
|
|
|
@ -0,0 +1,91 @@
|
||||||
|
// Licensed to the .NET Foundation under one or more agreements.
|
||||||
|
// The .NET Foundation licenses this file to you under the MIT license.
|
||||||
|
// See the LICENSE file in the project root for more information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Xml;
|
||||||
|
using System.Xml.Linq;
|
||||||
|
using Microsoft.Build.Framework;
|
||||||
|
using Microsoft.Build.Utilities;
|
||||||
|
|
||||||
|
namespace Microsoft.DotNet.Build.Tasks
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* This task updates the package source mappings in the NuGet.Config.
|
||||||
|
* If package source mappings are used, source-build packages sources will be added with the cumulative package patterns
|
||||||
|
* for all of the existing package sources. When building offline, the existing package source mappings will be removed;
|
||||||
|
* otherwise they will be preserved after the source-build sources.
|
||||||
|
*/
|
||||||
|
public class UpdateNuGetConfigPackageSourcesMappings : Task
|
||||||
|
{
|
||||||
|
[Required]
|
||||||
|
public string NuGetConfigFile { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Whether to work in offline mode (remove all internet sources) or online mode (remove only authenticated sources)
|
||||||
|
/// </summary>
|
||||||
|
public bool BuildWithOnlineSources { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A list of all source-build specific NuGet sources.
|
||||||
|
/// </summary>
|
||||||
|
public string[] SourceBuildSources { get; set; }
|
||||||
|
|
||||||
|
public override bool Execute()
|
||||||
|
{
|
||||||
|
string xml = File.ReadAllText(NuGetConfigFile);
|
||||||
|
string newLineChars = FileUtilities.DetectNewLineChars(xml);
|
||||||
|
XDocument document = XDocument.Parse(xml);
|
||||||
|
XElement pkgSrcMappingElement = document.Root.Descendants().FirstOrDefault(e => e.Name == "packageSourceMapping");
|
||||||
|
|
||||||
|
if (pkgSrcMappingElement == null)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Union all package sources to get the distinct list. These will get added to the source-build sources.
|
||||||
|
IEnumerable<string> packagePatterns = pkgSrcMappingElement.Descendants()
|
||||||
|
.Where(e => e.Name == "packageSource")
|
||||||
|
.SelectMany(e => e.Descendants().Where(e => e.Name == "package"))
|
||||||
|
.Select(e => e.Attribute("pattern").Value)
|
||||||
|
.Distinct();
|
||||||
|
|
||||||
|
if (!BuildWithOnlineSources)
|
||||||
|
{
|
||||||
|
// When building offline remove all packageSourceMappings.
|
||||||
|
pkgSrcMappingElement?.ReplaceNodes(new XElement("clear"));
|
||||||
|
}
|
||||||
|
|
||||||
|
XElement pkgSrcMappingClearElement = pkgSrcMappingElement.Descendants().FirstOrDefault(e => e.Name == "clear");
|
||||||
|
|
||||||
|
foreach (string packageSource in SourceBuildSources)
|
||||||
|
{
|
||||||
|
XElement pkgSrc = new XElement("packageSource", new XAttribute("key", packageSource));
|
||||||
|
foreach (string packagePattern in packagePatterns)
|
||||||
|
{
|
||||||
|
pkgSrc.Add(new XElement("package", new XAttribute("pattern", packagePattern)));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (pkgSrcMappingClearElement != null)
|
||||||
|
{
|
||||||
|
pkgSrcMappingClearElement.AddAfterSelf(pkgSrc);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pkgSrcMappingElement.AddFirst(pkgSrc);
|
||||||
|
pkgSrcMappingElement.AddFirst(new XElement("clear"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
using (var writer = XmlWriter.Create(NuGetConfigFile, new XmlWriterSettings { NewLineChars = newLineChars, Indent = true }))
|
||||||
|
{
|
||||||
|
document.Save(writer);
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,43 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: MichaelSimons <msimons@microsoft.com>
|
||||||
|
Date: Mon, 6 Dec 2021 18:39:25 +0000
|
||||||
|
Subject: [PATCH] WebHost delegate nullability
|
||||||
|
|
||||||
|
Addresses the following errors:
|
||||||
|
|
||||||
|
src/Hosting/Hosting/src/Internal/WebHost.cs(83,56): error CS8621: Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, IHostApplicationLifetime?>' (possibly because of nullability attributes).
|
||||||
|
src/Hosting/Hosting/src/Internal/WebHost.cs(86,56): error CS8621: Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, IApplicationLifetime?>' (possibly because of nullability attributes).
|
||||||
|
src/Hosting/Hosting/src/Internal/WebHost.cs(88,56): error CS8621: Nullability of reference types in return type of 'lambda expression' doesn't match the target delegate 'Func<IServiceProvider, IApplicationLifetime?>' (possibly because of nullability attributes).
|
||||||
|
|
||||||
|
Cherry-pick of WebHost only changes made under https://github.com/dotnet/aspnetcore/commit/13a460820e90c8f3e90eb4fdbbb3de671389bf0c#diff-6ef451f2ae3e04d73dde362bdf9de6b101aef95e3a4f5190e5c96967d683aef9
|
||||||
|
---
|
||||||
|
src/Hosting/Hosting/src/Internal/WebHost.cs | 14 ++++++--------
|
||||||
|
1 file changed, 6 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/Hosting/Hosting/src/Internal/WebHost.cs b/src/Hosting/Hosting/src/Internal/WebHost.cs
|
||||||
|
index ca52bd1f40..643d03e8af 100644
|
||||||
|
--- a/src/Hosting/Hosting/src/Internal/WebHost.cs
|
||||||
|
+++ b/src/Hosting/Hosting/src/Internal/WebHost.cs
|
||||||
|
@@ -79,16 +79,14 @@ namespace Microsoft.AspNetCore.Hosting
|
||||||
|
_hostingServiceProvider = hostingServiceProvider;
|
||||||
|
_applicationServiceCollection.AddSingleton<ApplicationLifetime>();
|
||||||
|
// There's no way to to register multiple service types per definition. See https://github.com/aspnet/DependencyInjection/issues/360
|
||||||
|
-#pragma warning disable CS8634 // The type cannot be used as type parameter in the generic type or method. Nullability of type argument doesn't match 'class' constraint.
|
||||||
|
- _applicationServiceCollection.AddSingleton(services
|
||||||
|
- => services.GetService<ApplicationLifetime>()! as IHostApplicationLifetime);
|
||||||
|
+ _applicationServiceCollection.AddSingleton<IHostApplicationLifetime>(services
|
||||||
|
+ => services.GetService<ApplicationLifetime>()!);
|
||||||
|
#pragma warning disable CS0618 // Type or member is obsolete
|
||||||
|
- _applicationServiceCollection.AddSingleton(services
|
||||||
|
- => services.GetService<ApplicationLifetime>()! as AspNetCore.Hosting.IApplicationLifetime);
|
||||||
|
- _applicationServiceCollection.AddSingleton(services
|
||||||
|
- => services.GetService<ApplicationLifetime>()! as Extensions.Hosting.IApplicationLifetime);
|
||||||
|
+ _applicationServiceCollection.AddSingleton<AspNetCore.Hosting.IApplicationLifetime>(services
|
||||||
|
+ => services.GetService<ApplicationLifetime>()!);
|
||||||
|
+ _applicationServiceCollection.AddSingleton<Extensions.Hosting.IApplicationLifetime>(services
|
||||||
|
+ => services.GetService<ApplicationLifetime>()!);
|
||||||
|
#pragma warning restore CS0618 // Type or member is obsolete
|
||||||
|
-#pragma warning restore CS8634 // The type cannot be used as type parameter in the generic type or method. Nullability of type argument doesn't match 'class' constraint.
|
||||||
|
_applicationServiceCollection.AddSingleton<HostedServiceExecutor>();
|
||||||
|
}
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Rummel <crummel@microsoft.com>
|
|
||||||
Date: Wed, 22 Jun 2022 05:50:57 -0500
|
|
||||||
Subject: [PATCH] Enable work-tree and unsafe-paths to be able to apply in the
|
|
||||||
checked-in tarball.
|
|
||||||
|
|
||||||
---
|
|
||||||
eng/SourceBuild.props | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props
|
|
||||||
index 6cc8501..a862003 100644
|
|
||||||
--- a/eng/SourceBuild.props
|
|
||||||
+++ b/eng/SourceBuild.props
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<Exec
|
|
||||||
- Command="git apply --ignore-whitespace --whitespace=nowarn "%(SourceBuildPatchFile.FullPath)""
|
|
||||||
+ Command="git --work-tree=$(RepoRoot) apply --ignore-whitespace --whitespace=nowarn --unsafe-paths "%(SourceBuildPatchFile.FullPath)""
|
|
||||||
WorkingDirectory="$(RepoRoot)"
|
|
||||||
Condition="'@(SourceBuildPatchFile)' != ''" />
|
|
||||||
</Target>
|
|
|
@ -1,68 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Davis Goodin <dagood@microsoft.com>
|
|
||||||
Date: Fri, 22 Oct 2021 13:26:33 -0500
|
|
||||||
Subject: [PATCH] Fix MicrosoftExtensionsVersion
|
|
||||||
|
|
||||||
Move it to eng/Versions.props to make it overridable, and rename it to match an
|
|
||||||
actual package ID.
|
|
||||||
|
|
||||||
Update paramater nullability in src/Logging/SimpleConsoleLogger.cs to be
|
|
||||||
source-compatible with the 6.0 version of these packages.
|
|
||||||
|
|
||||||
See https://github.com/dotnet/format/issues/1400
|
|
||||||
---
|
|
||||||
Directory.Packages.props | 7 +++----
|
|
||||||
eng/Versions.props | 1 +
|
|
||||||
src/Logging/SimpleConsoleLogger.cs | 2 +-
|
|
||||||
3 files changed, 5 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/Directory.Packages.props b/Directory.Packages.props
|
|
||||||
index 6b628c2..9b579ea 100644
|
|
||||||
--- a/Directory.Packages.props
|
|
||||||
+++ b/Directory.Packages.props
|
|
||||||
@@ -2,7 +2,6 @@
|
|
||||||
<!-- <Import Project="eng\Versions.props" /> -->
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
- <MicrosoftExtensionsVersion>5.0.0</MicrosoftExtensionsVersion>
|
|
||||||
<!-- In order tests against the same version of NuGet as the SDK. We have to set this to match. -->
|
|
||||||
<NuGetVersion>6.0.0-preview.4.221</NuGetVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
@@ -25,9 +24,9 @@
|
|
||||||
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="$(MicrosoftNETCoreCompilersPackageVersion)" />
|
|
||||||
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="$(MicrosoftNETCoreCompilersPackageVersion)" />
|
|
||||||
<PackageVersion Include="Microsoft.CodeAnalysis" Version="$(MicrosoftNETCoreCompilersPackageVersion)" />
|
|
||||||
- <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsVersion)" />
|
|
||||||
- <PackageVersion Include="Microsoft.Extensions.FileSystemGlobbing" Version="$(MicrosoftExtensionsVersion)" />
|
|
||||||
- <PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVersion)" />
|
|
||||||
+ <PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionVersion)" />
|
|
||||||
+ <PackageVersion Include="Microsoft.Extensions.FileSystemGlobbing" Version="$(MicrosoftExtensionsDependencyInjectionVersion)" />
|
|
||||||
+ <PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsDependencyInjectionVersion)" />
|
|
||||||
<PackageVersion Include="NuGet.Common" Version="$(NuGetVersion)" />
|
|
||||||
<PackageVersion Include="NuGet.Configuration" Version="$(NuGetVersion)" />
|
|
||||||
<PackageVersion Include="NuGet.Frameworks" Version="$(NuGetVersion)" />
|
|
||||||
diff --git a/eng/Versions.props b/eng/Versions.props
|
|
||||||
index b1990aa..f6ddbbd 100644
|
|
||||||
--- a/eng/Versions.props
|
|
||||||
+++ b/eng/Versions.props
|
|
||||||
@@ -15,6 +15,7 @@
|
|
||||||
<PropertyGroup>
|
|
||||||
<MicrosoftBuildVersion>16.11.0</MicrosoftBuildVersion>
|
|
||||||
<MicrosoftCodeAnalysisAnalyzersVersion>3.3.2</MicrosoftCodeAnalysisAnalyzersVersion>
|
|
||||||
+ <MicrosoftExtensionsDependencyInjectionVersion>5.0.0</MicrosoftExtensionsDependencyInjectionVersion>
|
|
||||||
<!-- Dependencies from https://github.com/dotnet/roslyn -->
|
|
||||||
<MicrosoftNETCoreCompilersPackageVersion>4.0.0-6.21526.21</MicrosoftNETCoreCompilersPackageVersion>
|
|
||||||
<!-- Dependencies from https://github.com/dotnet/command-line-api -->
|
|
||||||
diff --git a/src/Logging/SimpleConsoleLogger.cs b/src/Logging/SimpleConsoleLogger.cs
|
|
||||||
index c361f84..fd8015c 100644
|
|
||||||
--- a/src/Logging/SimpleConsoleLogger.cs
|
|
||||||
+++ b/src/Logging/SimpleConsoleLogger.cs
|
|
||||||
@@ -37,7 +37,7 @@ namespace Microsoft.CodeAnalysis.Tools.Logging
|
|
||||||
_minimalErrorLevel = minimalErrorLevel;
|
|
||||||
}
|
|
||||||
|
|
||||||
- public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
|
|
||||||
+ public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)
|
|
||||||
{
|
|
||||||
if (!IsEnabled(logLevel))
|
|
||||||
{
|
|
|
@ -1,167 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Davis Goodin <dagood@microsoft.com>
|
|
||||||
Date: Tue, 19 Oct 2021 16:11:51 -0500
|
|
||||||
Subject: [PATCH] Disable apphost on downlevel frameworks during source-build
|
|
||||||
|
|
||||||
During source-build, disable apphost build for 'fsi' and 'fsc', and
|
|
||||||
'fsyacc', 'fslex', and 'AssemblyCheck' during the bootstrap build.
|
|
||||||
|
|
||||||
Creating an apphost for a net5.0 project while building with a net6.0
|
|
||||||
SDK downloads the apphost pack as a prebuilt. Stopping the projects from
|
|
||||||
creating the apphost removes the prebuilt for source-build.
|
|
||||||
|
|
||||||
To make disabling the apphost work in the bootstrapping build, add a
|
|
||||||
check to eng/build.sh to skip the bootstrap build if we're currently
|
|
||||||
running the "outer" source-build. That gives source-build the ability to
|
|
||||||
run bootstrapping on its own terms. Now, when eng/SourceBuild.props runs
|
|
||||||
bootstrapping, it can pass the DotNetBuildFromSource property through
|
|
||||||
the environment so it takes effect.
|
|
||||||
|
|
||||||
See: https://github.com/dotnet/fsharp/issues/12282
|
|
||||||
|
|
||||||
PR: https://github.com/dotnet/fsharp/pull/12286
|
|
||||||
---
|
|
||||||
eng/SourceBuild.props | 2 +-
|
|
||||||
eng/build.sh | 51 ++++++++++---------
|
|
||||||
.../AssemblyCheck/AssemblyCheck.fsproj | 1 +
|
|
||||||
src/buildtools/fslex/fslex.fsproj | 1 +
|
|
||||||
src/buildtools/fsyacc/fsyacc.fsproj | 1 +
|
|
||||||
src/fsharp/fsc/fsc.fsproj | 1 +
|
|
||||||
src/fsharp/fsi/fsi.fsproj | 1 +
|
|
||||||
7 files changed, 34 insertions(+), 24 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props
|
|
||||||
index 22c929f28..903ee00d3 100644
|
|
||||||
--- a/eng/SourceBuild.props
|
|
||||||
+++ b/eng/SourceBuild.props
|
|
||||||
@@ -41,7 +41,7 @@
|
|
||||||
<Exec
|
|
||||||
Command="./build.sh --bootstrap --skipBuild"
|
|
||||||
WorkingDirectory="$(InnerSourceBuildRepoRoot)"
|
|
||||||
- EnvironmentVariables="@(InnerBuildEnv)" />
|
|
||||||
+ EnvironmentVariables="@(InnerBuildEnv);DotNetBuildFromSource=true" />
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
diff --git a/eng/build.sh b/eng/build.sh
|
|
||||||
index 9a2aa0083..6af422237 100755
|
|
||||||
--- a/eng/build.sh
|
|
||||||
+++ b/eng/build.sh
|
|
||||||
@@ -240,29 +240,34 @@ function BuildSolution {
|
|
||||||
node_reuse=false
|
|
||||||
|
|
||||||
# build bootstrap tools
|
|
||||||
- bootstrap_config=Proto
|
|
||||||
- bootstrap_dir=$artifacts_dir/Bootstrap
|
|
||||||
- if [[ "$force_bootstrap" == true ]]; then
|
|
||||||
- rm -fr $bootstrap_dir
|
|
||||||
- fi
|
|
||||||
- if [ ! -f "$bootstrap_dir/fslex.dll" ]; then
|
|
||||||
- BuildMessage="Error building tools"
|
|
||||||
- MSBuild "$repo_root/src/buildtools/buildtools.proj" \
|
|
||||||
- /restore \
|
|
||||||
- /p:Configuration=$bootstrap_config
|
|
||||||
-
|
|
||||||
- mkdir -p "$bootstrap_dir"
|
|
||||||
- cp -pr $artifacts_dir/bin/fslex/$bootstrap_config/net5.0 $bootstrap_dir/fslex
|
|
||||||
- cp -pr $artifacts_dir/bin/fsyacc/$bootstrap_config/net5.0 $bootstrap_dir/fsyacc
|
|
||||||
- fi
|
|
||||||
- if [ ! -f "$bootstrap_dir/fsc.exe" ]; then
|
|
||||||
- BuildMessage="Error building bootstrap"
|
|
||||||
- MSBuild "$repo_root/proto.proj" \
|
|
||||||
- /restore \
|
|
||||||
- /p:Configuration=$bootstrap_config \
|
|
||||||
-
|
|
||||||
-
|
|
||||||
- cp -pr $artifacts_dir/bin/fsc/$bootstrap_config/net5.0 $bootstrap_dir/fsc
|
|
||||||
+ # source_build=true means we are currently in the outer/wrapper source-build,
|
|
||||||
+ # and building bootstrap needs to wait. The source-build targets will run this
|
|
||||||
+ # script again without setting source_build=true when it is done setting up
|
|
||||||
+ # the build environment. See 'eng/SourceBuild.props'.
|
|
||||||
+ if [[ "$source_build" != true ]]; then
|
|
||||||
+ bootstrap_config=Proto
|
|
||||||
+ bootstrap_dir=$artifacts_dir/Bootstrap
|
|
||||||
+ if [[ "$force_bootstrap" == true ]]; then
|
|
||||||
+ rm -fr $bootstrap_dir
|
|
||||||
+ fi
|
|
||||||
+ if [ ! -f "$bootstrap_dir/fslex.dll" ]; then
|
|
||||||
+ BuildMessage="Error building tools"
|
|
||||||
+ MSBuild "$repo_root/src/buildtools/buildtools.proj" \
|
|
||||||
+ /restore \
|
|
||||||
+ /p:Configuration=$bootstrap_config
|
|
||||||
+
|
|
||||||
+ mkdir -p "$bootstrap_dir"
|
|
||||||
+ cp -pr $artifacts_dir/bin/fslex/$bootstrap_config/net5.0 $bootstrap_dir/fslex
|
|
||||||
+ cp -pr $artifacts_dir/bin/fsyacc/$bootstrap_config/net5.0 $bootstrap_dir/fsyacc
|
|
||||||
+ fi
|
|
||||||
+ if [ ! -f "$bootstrap_dir/fsc.exe" ]; then
|
|
||||||
+ BuildMessage="Error building bootstrap"
|
|
||||||
+ MSBuild "$repo_root/proto.proj" \
|
|
||||||
+ /restore \
|
|
||||||
+ /p:Configuration=$bootstrap_config
|
|
||||||
+
|
|
||||||
+ cp -pr $artifacts_dir/bin/fsc/$bootstrap_config/net5.0 $bootstrap_dir/fsc
|
|
||||||
+ fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "$skip_build" != true ]]; then
|
|
||||||
diff --git a/src/buildtools/AssemblyCheck/AssemblyCheck.fsproj b/src/buildtools/AssemblyCheck/AssemblyCheck.fsproj
|
|
||||||
index 464b6ef78..5c78bbe6d 100644
|
|
||||||
--- a/src/buildtools/AssemblyCheck/AssemblyCheck.fsproj
|
|
||||||
+++ b/src/buildtools/AssemblyCheck/AssemblyCheck.fsproj
|
|
||||||
@@ -4,6 +4,7 @@
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
|
||||||
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
|
|
||||||
+ <UseAppHost Condition="'$(DotNetBuildFromSource)' == 'true'">false</UseAppHost>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
diff --git a/src/buildtools/fslex/fslex.fsproj b/src/buildtools/fslex/fslex.fsproj
|
|
||||||
index 1959ce59c..3d63bf6bf 100644
|
|
||||||
--- a/src/buildtools/fslex/fslex.fsproj
|
|
||||||
+++ b/src/buildtools/fslex/fslex.fsproj
|
|
||||||
@@ -5,6 +5,7 @@
|
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
|
||||||
<DefineConstants>INTERNALIZED_FSLEXYACC_RUNTIME;$(DefineConstants)</DefineConstants>
|
|
||||||
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
|
|
||||||
+ <UseAppHost Condition="'$(DotNetBuildFromSource)' == 'true'">false</UseAppHost>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
diff --git a/src/buildtools/fsyacc/fsyacc.fsproj b/src/buildtools/fsyacc/fsyacc.fsproj
|
|
||||||
index 5d1b7141f..63b63c5de 100644
|
|
||||||
--- a/src/buildtools/fsyacc/fsyacc.fsproj
|
|
||||||
+++ b/src/buildtools/fsyacc/fsyacc.fsproj
|
|
||||||
@@ -5,6 +5,7 @@
|
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
|
||||||
<DefineConstants>INTERNALIZED_FSLEXYACC_RUNTIME;$(DefineConstants)</DefineConstants>
|
|
||||||
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
|
|
||||||
+ <UseAppHost Condition="'$(DotNetBuildFromSource)' == 'true'">false</UseAppHost>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
diff --git a/src/fsharp/fsc/fsc.fsproj b/src/fsharp/fsc/fsc.fsproj
|
|
||||||
index 7fa31fc21..04025c297 100644
|
|
||||||
--- a/src/fsharp/fsc/fsc.fsproj
|
|
||||||
+++ b/src/fsharp/fsc/fsc.fsproj
|
|
||||||
@@ -12,6 +12,7 @@
|
|
||||||
<OtherFlags>$(OtherFlags) --maxerrors:20 --extraoptimizationloops:1</OtherFlags>
|
|
||||||
<NGenBinary>true</NGenBinary>
|
|
||||||
<UseAppHost>true</UseAppHost>
|
|
||||||
+ <UseAppHost Condition="'$(DotNetBuildFromSource)' == 'true'">false</UseAppHost>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
|
|
||||||
diff --git a/src/fsharp/fsi/fsi.fsproj b/src/fsharp/fsi/fsi.fsproj
|
|
||||||
index 9fd9b1333..eace6c166 100644
|
|
||||||
--- a/src/fsharp/fsi/fsi.fsproj
|
|
||||||
+++ b/src/fsharp/fsi/fsi.fsproj
|
|
||||||
@@ -13,6 +13,7 @@
|
|
||||||
<Win32Resource>fsi.res</Win32Resource>
|
|
||||||
<NGenBinary>true</NGenBinary>
|
|
||||||
<UseAppHost>true</UseAppHost>
|
|
||||||
+ <UseAppHost Condition="'$(DotNetBuildFromSource)' == 'true'">false</UseAppHost>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
|
|
|
@ -1,24 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Logan Bussell <36081148+lbussell@users.noreply.github.com>
|
|
||||||
Date: Wed, 13 Oct 2021 18:26:09 +0000
|
|
||||||
Subject: [PATCH] fix tlens Mono.Cecil reference
|
|
||||||
|
|
||||||
Pull request for applying the patch: https://github.com/dotnet/linker/pull/2317
|
|
||||||
---
|
|
||||||
src/tlens/tlens.csproj | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/tlens/tlens.csproj b/src/tlens/tlens.csproj
|
|
||||||
index 92b3754..e17f9fb 100644
|
|
||||||
--- a/src/tlens/tlens.csproj
|
|
||||||
+++ b/src/tlens/tlens.csproj
|
|
||||||
@@ -10,7 +10,8 @@
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
- <PackageReference Include="Mono.Cecil" Version="$(MonoCecilVersion)" />
|
|
||||||
+ <PackageReference Condition="'$(UseCecilPackage)' == 'true'" Include="Mono.Cecil" Version="$(MonoCecilVersion)" />
|
|
||||||
+ <ProjectReference Condition="'$(UseCecilPackage)' != 'true'" Include="../../external/cecil/Mono.Cecil.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
|
@ -1,24 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michael Simons <msimons@microsoft.com>
|
|
||||||
Date: Wed, 20 Oct 2021 14:44:36 +0000
|
|
||||||
Subject: [PATCH] Exclude Microsoft.DotNet.ApiCompat from source-build
|
|
||||||
|
|
||||||
Backport PR: https://github.com/dotnet/linker/pull/2326
|
|
||||||
---
|
|
||||||
eng/Tools.props | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/eng/Tools.props b/eng/Tools.props
|
|
||||||
index 494d208..7c32ad5 100644
|
|
||||||
--- a/eng/Tools.props
|
|
||||||
+++ b/eng/Tools.props
|
|
||||||
@@ -2,7 +2,7 @@
|
|
||||||
|
|
||||||
<!-- This file is an Arcade extension point that specifies additional tools to restore. -->
|
|
||||||
<ItemGroup>
|
|
||||||
- <PackageReference Include="Microsoft.DotNet.ApiCompat" Version="$(MicrosoftDotNetApiCompatVersion)" />
|
|
||||||
+ <PackageReference Include="Microsoft.DotNet.ApiCompat" Version="$(MicrosoftDotNetApiCompatVersion)" Condition=" '$(DotnetBuildFromSource)' != 'true' "/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
\ No newline at end of file
|
|
|
@ -1,23 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michael Simons <msimons@microsoft.com>
|
|
||||||
Date: Wed, 20 Oct 2021 14:38:14 +0000
|
|
||||||
Subject: [PATCH 1/2] Upgrade Microsoft.NETFramework.ReferenceAssemblies from
|
|
||||||
1.0.0 to 1.0.2
|
|
||||||
|
|
||||||
Backport PR: https://github.com/dotnet/linker/pull/2326
|
|
||||||
---
|
|
||||||
src/ILLink.Tasks/ILLink.Tasks.csproj | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/ILLink.Tasks/ILLink.Tasks.csproj b/src/ILLink.Tasks/ILLink.Tasks.csproj
|
|
||||||
index 0ecf5d1..7501ecb 100644
|
|
||||||
--- a/src/ILLink.Tasks/ILLink.Tasks.csproj
|
|
||||||
+++ b/src/ILLink.Tasks/ILLink.Tasks.csproj
|
|
||||||
@@ -53,6 +53,6 @@
|
|
||||||
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" PrivateAssets="All" ExcludeAssets="Runtime" />
|
|
||||||
<PackageReference Include="System.Reflection.Metadata" Version="$(SystemReflectionMetadataVersion)" Condition=" '$(TargetFramework)' == 'net472' " PrivateAssets="All" Publish="True" />
|
|
||||||
|
|
||||||
- <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" />
|
|
||||||
+ <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.2" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
|
@ -1,36 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Davis Goodin <dagood@microsoft.com>
|
|
||||||
Date: Mon, 11 Oct 2021 17:09:14 -0500
|
|
||||||
Subject: [PATCH] Remove prebuilt jnm2.ReferenceAssemblies.net35
|
|
||||||
|
|
||||||
This prebuilt package filled a gap in the official 1.0 version of the .NET
|
|
||||||
Framework reference assembly packages. The gap has been fixed in later versions
|
|
||||||
of the official packages. Removal fixes a prebuilt dependency by letting the
|
|
||||||
repo use the official version of the packges, which are produced by SBRP.
|
|
||||||
https://github.com/dotnet/msbuild/issues/6935
|
|
||||||
---
|
|
||||||
src/StringTools/StringTools.csproj | 5 -----
|
|
||||||
1 file changed, 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/StringTools/StringTools.csproj b/src/StringTools/StringTools.csproj
|
|
||||||
index fef9909..93a4634 100644
|
|
||||||
--- a/src/StringTools/StringTools.csproj
|
|
||||||
+++ b/src/StringTools/StringTools.csproj
|
|
||||||
@@ -20,17 +20,12 @@
|
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net35'">
|
|
||||||
<AssemblyName>Microsoft.NET.StringTools.net35</AssemblyName>
|
|
||||||
- <!-- Disable Fx install checks as we're building against jnm2's 3.5 reference assemblies -->
|
|
||||||
- <BypassFrameworkInstallChecks>true</BypassFrameworkInstallChecks>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' != 'net35'">
|
|
||||||
<PackageReference Include="System.Memory" />
|
|
||||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" />
|
|
||||||
</ItemGroup>
|
|
||||||
- <ItemGroup>
|
|
||||||
- <PackageReference Include="jnm2.ReferenceAssemblies.net35" PrivateAssets="All" />
|
|
||||||
- </ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' == 'net35'">
|
|
||||||
<Compile Remove="SpanBasedStringBuilder.cs" />
|
|
|
@ -1,29 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Davis Goodin <dagood@microsoft.com>
|
|
||||||
Date: Tue, 12 Oct 2021 18:14:59 -0500
|
|
||||||
Subject: [PATCH] Disable BannedApiAnalyzers during source-build
|
|
||||||
|
|
||||||
BannedApiAnalyzers has some intentional old dependencies and it's not feasible
|
|
||||||
to build it during source-build. Remove this usage to remove a prebuilt.
|
|
||||||
https://github.com/dotnet/msbuild/issues/6961
|
|
||||||
---
|
|
||||||
eng/Packages.props | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/eng/Packages.props b/eng/Packages.props
|
|
||||||
index 0f478634f..3cc09a008 100644
|
|
||||||
--- a/eng/Packages.props
|
|
||||||
+++ b/eng/Packages.props
|
|
||||||
@@ -45,11 +45,11 @@
|
|
||||||
|
|
||||||
<ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true'">
|
|
||||||
<GlobalPackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All"/>
|
|
||||||
+ <GlobalPackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="$(MicrosoftCodeAnalysisBannedApiAnalyzersVersion)" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<GlobalPackageReference Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes" Version="15.0.15" PrivateAssets="All" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
|
|
||||||
- <GlobalPackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="$(MicrosoftCodeAnalysisBannedApiAnalyzersVersion)" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
|
@ -1,50 +0,0 @@
|
||||||
From b7f0c8d910b5fa110be7f34816c4934f61643d08 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Rummel <crummel@microsoft.com>
|
|
||||||
Date: Wed, 20 Oct 2021 15:19:29 -0500
|
|
||||||
Subject: [PATCH] Restore building all TFMs for source-build
|
|
||||||
|
|
||||||
Required for omnisharp, nuget-client, templating, sdk
|
|
||||||
|
|
||||||
Background Issue: https://github.com/dotnet/source-build/issues/2542
|
|
||||||
Patch removal issue: https://github.com/dotnet/source-build/issues/2556
|
|
||||||
---
|
|
||||||
src/Build/Microsoft.Build.csproj | 3 +--
|
|
||||||
src/Directory.Build.props | 3 +--
|
|
||||||
2 files changed, 2 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/Build/Microsoft.Build.csproj b/src/Build/Microsoft.Build.csproj
|
|
||||||
index f75408633..8dc86355a 100644
|
|
||||||
--- a/src/Build/Microsoft.Build.csproj
|
|
||||||
+++ b/src/Build/Microsoft.Build.csproj
|
|
||||||
@@ -4,8 +4,7 @@
|
|
||||||
<Import Project="..\Shared\DebuggingSources.proj" />
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
- <TargetFrameworks>net6.0</TargetFrameworks>
|
|
||||||
- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(FullFrameworkTFM);net6.0</TargetFrameworks>
|
|
||||||
+ <TargetFrameworks>$(FullFrameworkTFM);net6.0</TargetFrameworks>
|
|
||||||
<TargetFrameworks Condition="'$(MonoBuild)'=='true'">$(RuntimeOutputTargetFrameworks)</TargetFrameworks>
|
|
||||||
<RootNamespace>Microsoft.Build</RootNamespace>
|
|
||||||
<AssemblyName>Microsoft.Build</AssemblyName>
|
|
||||||
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
|
|
||||||
index b0e233194..7e0c7d8c8 100644
|
|
||||||
--- a/src/Directory.Build.props
|
|
||||||
+++ b/src/Directory.Build.props
|
|
||||||
@@ -27,13 +27,12 @@
|
|
||||||
|
|
||||||
<!-- Defaults for target frameworks and architecture -->
|
|
||||||
<LibraryTargetFrameworks>$(FullFrameworkTFM);netstandard2.0</LibraryTargetFrameworks>
|
|
||||||
- <LibraryTargetFrameworks Condition="'$(DotNetBuildFromSource)' == 'true'">netstandard2.0</LibraryTargetFrameworks>
|
|
||||||
<LibraryTargetFrameworks Condition="'$(MonoBuild)'=='true'">$(FullFrameworkTFM)</LibraryTargetFrameworks>
|
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
||||||
|
|
||||||
<!-- Target frameworks for Exe and unit test projects (ie projects with runtime output) -->
|
|
||||||
<RuntimeOutputTargetFrameworks>net6.0</RuntimeOutputTargetFrameworks>
|
|
||||||
- <RuntimeOutputTargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(DotNetBuildFromSource)' != 'true'">$(FullFrameworkTFM);$(RuntimeOutputTargetFrameworks)</RuntimeOutputTargetFrameworks>
|
|
||||||
+ <RuntimeOutputTargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(FullFrameworkTFM);$(RuntimeOutputTargetFrameworks)</RuntimeOutputTargetFrameworks>
|
|
||||||
<RuntimeOutputTargetFrameworks Condition="'$(MonoBuild)' == 'true'">$(FullFrameworkTFM)</RuntimeOutputTargetFrameworks>
|
|
||||||
|
|
||||||
<!-- Don't automatically append target framework to output path, since we want to put the Platform Target beforehand, if it's not AnyCPU -->
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
|
@ -1,104 +0,0 @@
|
||||||
From a75f4b17c3595079f69ea00041182368adea14c9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: dseefeld <dseefeld@microsoft.com>
|
|
||||||
Date: Wed, 20 Oct 2021 21:49:51 +0000
|
|
||||||
Subject: [PATCH] Remove dependency on MS.VS.Setup.Configuration.Interop
|
|
||||||
|
|
||||||
Removes prebuilts.
|
|
||||||
|
|
||||||
Background Issue: https://github.com/dotnet/source-build/issues/2542
|
|
||||||
---
|
|
||||||
eng/Packages.props | 3 ---
|
|
||||||
src/Build/Microsoft.Build.csproj | 4 +++-
|
|
||||||
src/Directory.BeforeCommon.targets | 2 +-
|
|
||||||
src/Samples/Directory.Build.props | 1 +
|
|
||||||
src/Tasks/Microsoft.Build.Tasks.csproj | 4 +++-
|
|
||||||
src/Utilities/Microsoft.Build.Utilities.csproj | 2 +-
|
|
||||||
6 files changed, 9 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/eng/Packages.props b/eng/Packages.props
|
|
||||||
index 2de607c5d..1668addc9 100644
|
|
||||||
--- a/eng/Packages.props
|
|
||||||
+++ b/eng/Packages.props
|
|
||||||
@@ -46,9 +46,6 @@
|
|
||||||
<ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true'">
|
|
||||||
<GlobalPackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All"/>
|
|
||||||
<GlobalPackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="$(MicrosoftCodeAnalysisBannedApiAnalyzersVersion)" />
|
|
||||||
- </ItemGroup>
|
|
||||||
-
|
|
||||||
- <ItemGroup>
|
|
||||||
<GlobalPackageReference Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes" Version="15.0.15" PrivateAssets="All" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
diff --git a/src/Build/Microsoft.Build.csproj b/src/Build/Microsoft.Build.csproj
|
|
||||||
index d08e337c5..3b173aee5 100644
|
|
||||||
--- a/src/Build/Microsoft.Build.csproj
|
|
||||||
+++ b/src/Build/Microsoft.Build.csproj
|
|
||||||
@@ -38,8 +38,10 @@
|
|
||||||
<PackageReference Include="System.Reflection.Metadata" Condition="'$(MonoBuild)' == 'true'" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
- <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
|
|
||||||
+ <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(DotNetBuildFromSource)' != 'true'">
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" />
|
|
||||||
+ </ItemGroup>
|
|
||||||
+ <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
|
|
||||||
<Reference Include="System.IO.Compression" />
|
|
||||||
<PackageReference Include="System.Memory" />
|
|
||||||
</ItemGroup>
|
|
||||||
diff --git a/src/Directory.BeforeCommon.targets b/src/Directory.BeforeCommon.targets
|
|
||||||
index 913c97b12..320bffa56 100644
|
|
||||||
--- a/src/Directory.BeforeCommon.targets
|
|
||||||
+++ b/src/Directory.BeforeCommon.targets
|
|
||||||
@@ -99,7 +99,7 @@
|
|
||||||
<DefineConstants>$(DefineConstants);FEATURE_DEBUGGER</DefineConstants>
|
|
||||||
<DefineConstants Condition="'$(MachineIndependentBuild)' != 'true'">$(DefineConstants);FEATURE_WIN32_REGISTRY</DefineConstants>
|
|
||||||
<DefineConstants>$(DefineConstants);FEATURE_WORKINGSET</DefineConstants>
|
|
||||||
- <DefineConstants Condition="'$(MonoBuild)' != 'true' and '$(MachineIndependentBuild)' != 'true' and '$(TargetFrameworkVersion)' != 'v3.5'">$(DefineConstants);FEATURE_VISUALSTUDIOSETUP</DefineConstants>
|
|
||||||
+ <DefineConstants Condition="'$(MonoBuild)' != 'true' and '$(MachineIndependentBuild)' != 'true' and '$(TargetFrameworkVersion)' != 'v3.5' and '$(DotNetBuildFromSource)' != 'true'">$(DefineConstants);FEATURE_VISUALSTUDIOSETUP</DefineConstants>
|
|
||||||
<DefineConstants>$(DefineConstants);FEATURE_MSCOREE</DefineConstants>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
diff --git a/src/Samples/Directory.Build.props b/src/Samples/Directory.Build.props
|
|
||||||
index 6b9d6cd9f..317ef14a6 100644
|
|
||||||
--- a/src/Samples/Directory.Build.props
|
|
||||||
+++ b/src/Samples/Directory.Build.props
|
|
||||||
@@ -8,6 +8,7 @@
|
|
||||||
<EnableCentralPackageVersions>false</EnableCentralPackageVersions>
|
|
||||||
|
|
||||||
<IsShipping>false</IsShipping>
|
|
||||||
+ <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- Import parent props -->
|
|
||||||
diff --git a/src/Tasks/Microsoft.Build.Tasks.csproj b/src/Tasks/Microsoft.Build.Tasks.csproj
|
|
||||||
index d8f81bf99..3a5514094 100644
|
|
||||||
--- a/src/Tasks/Microsoft.Build.Tasks.csproj
|
|
||||||
+++ b/src/Tasks/Microsoft.Build.Tasks.csproj
|
|
||||||
@@ -999,8 +999,10 @@
|
|
||||||
<PackageReference Include="Microsoft.Net.Compilers.Toolset" ExcludeAssets="all" Condition="'$(UsingToolMicrosoftNetCompilers)' == 'false'" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
- <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
|
|
||||||
+ <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(DotNetBuildFromSource)' != 'true'">
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" />
|
|
||||||
+ </ItemGroup>
|
|
||||||
+ <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
|
|
||||||
<PackageReference Include="System.Threading.Tasks.Dataflow" />
|
|
||||||
|
|
||||||
<Content Include="$(NuGetPackageRoot)microsoft.net.compilers.toolset\$(MicrosoftNetCompilersToolsetVersion)\tasks\net472\**\*" CopyToOutputDirectory="PreserveNewest" LinkBase="Roslyn" />
|
|
||||||
diff --git a/src/Utilities/Microsoft.Build.Utilities.csproj b/src/Utilities/Microsoft.Build.Utilities.csproj
|
|
||||||
index 09634e723..72d838d9d 100644
|
|
||||||
--- a/src/Utilities/Microsoft.Build.Utilities.csproj
|
|
||||||
+++ b/src/Utilities/Microsoft.Build.Utilities.csproj
|
|
||||||
@@ -25,7 +25,7 @@
|
|
||||||
<PackageReference Include="System.Configuration.ConfigurationManager" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
- <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETStandard'">
|
|
||||||
+ <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETStandard' and '$(DotNetBuildFromSource)' != 'true'">
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: MichaelSimons <msimons@microsoft.com>
|
||||||
|
Date: Wed, 11 May 2022 21:16:46 +0000
|
||||||
|
Subject: [PATCH] Pin Microsoft.Build and
|
||||||
|
Microsoft.Extensions.CommandLineUtils.Sources versions in source-build
|
||||||
|
|
||||||
|
Update package version reference to not pick up the source-build PVP versions and instead utilize SBRP versions
|
||||||
|
so that source-build builds closer to the normal repo build.
|
||||||
|
---
|
||||||
|
build/packages.targets | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/build/packages.targets b/build/packages.targets
|
||||||
|
index 0ca4b1309..dc3db5b8e 100644
|
||||||
|
--- a/build/packages.targets
|
||||||
|
+++ b/build/packages.targets
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
- <MicrosoftBuildPackageVersion Condition="'$(MicrosoftBuildPackageVersion)' == ''">16.8.0</MicrosoftBuildPackageVersion>
|
||||||
|
+ <MicrosoftBuildPackageVersion>16.8.0</MicrosoftBuildPackageVersion>
|
||||||
|
<NewtonsoftJsonPackageVersion Condition="$(NewtonsoftJsonPackageVersion) == ''">13.0.1</NewtonsoftJsonPackageVersion>
|
||||||
|
<MicrosoftWebXdtPackageVersion Condition="'$(MicrosoftWebXdtPackageVersion)' == ''">3.0.0</MicrosoftWebXdtPackageVersion>
|
||||||
|
<SystemComponentModelCompositionPackageVersion Condition="'$(SystemComponentModelCompositionPackageVersion)' == ''">4.5.0</SystemComponentModelCompositionPackageVersion>
|
||||||
|
@@ -10,7 +10,7 @@
|
||||||
|
<CryptographyPackagesVersion>5.0.0</CryptographyPackagesVersion>
|
||||||
|
<NuGetCoreV2Version>2.14.0-rtm-832</NuGetCoreV2Version>
|
||||||
|
<ProjectSystemManagedVersion>17.0.0-beta1-10402-05</ProjectSystemManagedVersion>
|
||||||
|
- <MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion Condition="'$(MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion)' == ''">3.0.0-preview6.19253.5</MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion>
|
||||||
|
+ <MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion>3.0.0-preview6.19253.5</MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Test and package versions -->
|
|
@ -1,296 +0,0 @@
|
||||||
From 157de59d479f2ed179b9b777eaf2b769871e3bf6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Matt Mitchell <mmitche@microsoft.com>
|
|
||||||
Date: Sat, 23 Oct 2021 16:41:24 -0700
|
|
||||||
Subject: [PATCH] Remove uneeded source build patches and re-patch
|
|
||||||
|
|
||||||
---
|
|
||||||
build/common.project.props | 16 ++++++----------
|
|
||||||
build/packages.targets | 3 ++-
|
|
||||||
.../NuGet.Build.Tasks.Pack.csproj | 4 ++--
|
|
||||||
.../NuGet.CommandLine.XPlat.csproj | 2 +-
|
|
||||||
.../SignCommand/CertificateProvider.cs | 4 ++--
|
|
||||||
src/NuGet.Core/NuGet.Common/NuGet.Common.csproj | 1 -
|
|
||||||
.../NuGet.Configuration.csproj | 3 +--
|
|
||||||
.../NuGet.Frameworks/NuGet.Frameworks.csproj | 3 +--
|
|
||||||
.../NuGet.PackageManagement.csproj | 2 +-
|
|
||||||
.../Signing/Authoring/SignPackageRequest.cs | 2 ++
|
|
||||||
.../NuGet.Packaging/Signing/Cms/NativeUtility.cs | 2 ++
|
|
||||||
.../HttpSource/HttpRequestMessageExtensions.cs | 6 +++---
|
|
||||||
.../HttpSource/HttpRetryHandler.cs | 2 +-
|
|
||||||
.../HttpSourceAuthenticationHandler.cs | 2 +-
|
|
||||||
.../NuGet.Versioning/NuGet.Versioning.csproj | 1 -
|
|
||||||
15 files changed, 25 insertions(+), 28 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/build/common.project.props b/build/common.project.props
|
|
||||||
index 79a935391..65e482b83 100644
|
|
||||||
--- a/build/common.project.props
|
|
||||||
+++ b/build/common.project.props
|
|
||||||
@@ -10,24 +10,20 @@
|
|
||||||
|
|
||||||
<!-- Common -->
|
|
||||||
<PropertyGroup>
|
|
||||||
- <IsBuildOnlyXPLATProjects>$(DotNetBuildFromSource)</IsBuildOnlyXPLATProjects>
|
|
||||||
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
|
||||||
<NETFXTargetFrameworkVersion>v4.7.2</NETFXTargetFrameworkVersion>
|
|
||||||
<NETFXTargetFramework>net472</NETFXTargetFramework>
|
|
||||||
- <NETCoreTargetFramework>netcoreapp2.1</NETCoreTargetFramework>
|
|
||||||
- <NETCoreTargetFramework Condition="'$(DotNetBuildFromSource)' == 'true'">net6.0</NETCoreTargetFramework>
|
|
||||||
+ <NETCoreTargetFramework>net6.0</NETCoreTargetFramework>
|
|
||||||
<NETCoreTestTargetFramework>netcoreapp5.0</NETCoreTestTargetFramework>
|
|
||||||
- <NetStandardVersion>netstandard2.0</NetStandardVersion>
|
|
||||||
- <NetStandardVersion Condition="'$(DotNetBuildFromSource)' == 'true'">net6.0</NetStandardVersion>
|
|
||||||
+ <IsBuildOnlyXPLATProjects>$(DotNetBuildFromSource)</IsBuildOnlyXPLATProjects>
|
|
||||||
+ <NetStandardVersion>netstandard2.0;net6.0</NetStandardVersion>
|
|
||||||
<TargetFrameworksExe>$(NETFXTargetFramework);$(NETCoreTargetFramework)</TargetFrameworksExe>
|
|
||||||
<TargetFrameworksExe Condition="'$(IsBuildOnlyXPLATProjects)' == 'true' OR '$(IsXPlat)' == 'true'">$(NETCoreTargetFramework)</TargetFrameworksExe>
|
|
||||||
- <TargetFrameworksExeForSigning>$(TargetFrameworksExe);netcoreapp5.0</TargetFrameworksExeForSigning>
|
|
||||||
- <TargetFrameworksExeForSigning Condition=" '$(IsXPlat)' == 'true' ">$(NETCoreTargetFramework);netcoreapp5.0</TargetFrameworksExeForSigning>
|
|
||||||
- <TargetFrameworksExeForSigning Condition="'$(DotNetBuildFromSource)' == 'true'">$(TargetFrameworksExe);net6.0</TargetFrameworksExeForSigning>
|
|
||||||
+ <TargetFrameworksExeForSigning>$(TargetFrameworksExe);net6.0</TargetFrameworksExeForSigning>
|
|
||||||
+ <TargetFrameworksExeForSigning Condition=" '$(IsXPlat)' == 'true' ">$(NETCoreTargetFramework);net6.0</TargetFrameworksExeForSigning>
|
|
||||||
<TargetFrameworksLibrary>$(NETFXTargetFramework);$(NetStandardVersion)</TargetFrameworksLibrary>
|
|
||||||
<TargetFrameworksLibrary Condition="'$(IsBuildOnlyXPLATProjects)' == 'true'">$(NetStandardVersion)</TargetFrameworksLibrary>
|
|
||||||
- <TargetFrameworksLibraryForSigning>$(TargetFrameworksLibrary);netcoreapp5.0</TargetFrameworksLibraryForSigning>
|
|
||||||
- <TargetFrameworksLibraryForSigning Condition="'$(DotNetBuildFromSource)' == 'true'">$(TargetFrameworksLibrary);net6.0</TargetFrameworksLibraryForSigning>
|
|
||||||
+ <TargetFrameworksLibraryForSigning>$(TargetFrameworksLibrary);net6.0</TargetFrameworksLibraryForSigning>
|
|
||||||
<TargetFrameworksLibraryForCrossVerificationTests>$(NETFXTargetFramework);netcoreapp5.0</TargetFrameworksLibraryForCrossVerificationTests>
|
|
||||||
<RepositoryRootDirectory>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'README.md'))\</RepositoryRootDirectory>
|
|
||||||
<BuildCommonDirectory>$(RepositoryRootDirectory)build\</BuildCommonDirectory>
|
|
||||||
diff --git a/build/packages.targets b/build/packages.targets
|
|
||||||
index c11557248..0e7dd7861 100644
|
|
||||||
--- a/build/packages.targets
|
|
||||||
+++ b/build/packages.targets
|
|
||||||
@@ -10,6 +10,7 @@
|
|
||||||
<CryptographyPackagesVersion>5.0.0</CryptographyPackagesVersion>
|
|
||||||
<NuGetCoreV2Version>2.14.0-rtm-832</NuGetCoreV2Version>
|
|
||||||
<ProjectSystemManagedVersion>17.0.0-beta1-10402-05</ProjectSystemManagedVersion>
|
|
||||||
+ <MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion Condition="'$(MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion)' == ''">5.0.1-rtm.21063.7</MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<!-- Test and package versions -->
|
|
||||||
@@ -33,7 +34,7 @@
|
|
||||||
<PackageReference Update="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildPackageVersion)" />
|
|
||||||
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" />
|
|
||||||
<PackageReference Update="Microsoft.DataAI.NuGetRecommender.Contracts" Version="2.1.0" />
|
|
||||||
- <PackageReference Update="Microsoft.Extensions.CommandLineUtils" Version="1.0.1" />
|
|
||||||
+ <PackageReference Update="Microsoft.Extensions.CommandLineUtils.Sources" Version="$(MicrosoftExtensionsCommandLineUtilsSourcesPackageVersion)" />
|
|
||||||
<PackageReference Update="Microsoft.Internal.VisualStudio.Shell.Framework" Version="$(VSFrameworkVersion)" />
|
|
||||||
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.0.0" />
|
|
||||||
<PackageReference Update="Microsoft.TeamFoundationServer.ExtendedClient" Version="$(VSServicesVersion)" />
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj b/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj
|
|
||||||
index c94acffd8..f4d083e52 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj
|
|
||||||
@@ -177,7 +177,7 @@
|
|
||||||
<!-- Build from source can't use ILMerge. -->
|
|
||||||
<ILMergeSubpath Condition="'$(IsBuildOnlyXPLATProjects)' != 'true'">ilmerge\</ILMergeSubpath>
|
|
||||||
<PackagePathDir Condition="'$(TargetFramework)' == '$(NETFXTargetFramework)' AND '$(IsBuildOnlyXPLATProjects)' != 'true'">Desktop/</PackagePathDir>
|
|
||||||
- <PackagePathDir Condition="'$(TargetFramework)' == '$(NetStandardVersion)'">CoreCLR/</PackagePathDir>
|
|
||||||
+ <PackagePathDir Condition="'$(TargetFramework)' == 'netstandard2.0'">CoreCLR/</PackagePathDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<TfmSpecificPackageFile Include="$(OutputPath)\$(ILMergeSubpath)NuGet.Build.Tasks.Pack.dll" Condition="'$(IsBuildOnlyXPLATProjects)' != 'true'">
|
|
||||||
@@ -189,7 +189,7 @@
|
|
||||||
<TfmSpecificPackageFile Include="$(OutputPath)\$(ILMergeSubpath)NuGet*.dll" Condition="'$(IsBuildOnlyXPLATProjects)' == 'true'">
|
|
||||||
<PackagePath>$(PackagePathDir)</PackagePath>
|
|
||||||
</TfmSpecificPackageFile>
|
|
||||||
- </ItemGroup>
|
|
||||||
+ </ItemGroup>
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
<Import Project="$(BuildCommonDirectory)common.targets"/>
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj b/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj
|
|
||||||
index 21015c00a..e306cdee4 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj
|
|
||||||
+++ b/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj
|
|
||||||
@@ -18,7 +18,7 @@
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
- <PackageReference Include="Microsoft.Extensions.CommandLineUtils" />
|
|
||||||
+ <PackageReference Include="Microsoft.Extensions.CommandLineUtils.Sources" />
|
|
||||||
<PackageReference Include="System.Diagnostics.Debug" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Commands/SignCommand/CertificateProvider.cs b/src/NuGet.Core/NuGet.Commands/SignCommand/CertificateProvider.cs
|
|
||||||
index c6ea71243..beac41889 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Commands/SignCommand/CertificateProvider.cs
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Commands/SignCommand/CertificateProvider.cs
|
|
||||||
@@ -115,7 +115,7 @@ public static async Task<X509Certificate2Collection> GetCertificatesAsync(Certif
|
|
||||||
|
|
||||||
return resultCollection;
|
|
||||||
}
|
|
||||||
-
|
|
||||||
+#pragma warning disable CS1998
|
|
||||||
private static async Task<X509Certificate2> LoadCertificateFromFileAsync(CertificateSourceOptions options)
|
|
||||||
{
|
|
||||||
X509Certificate2 cert;
|
|
||||||
@@ -154,7 +154,7 @@ private static async Task<X509Certificate2> LoadCertificateFromFileAsync(Certifi
|
|
||||||
|
|
||||||
return cert;
|
|
||||||
}
|
|
||||||
-
|
|
||||||
+#pragma warning restore CS1998
|
|
||||||
private static X509Certificate2Collection LoadCertificateFromStore(CertificateSourceOptions options)
|
|
||||||
{
|
|
||||||
X509Certificate2Collection resultCollection = null;
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Common/NuGet.Common.csproj b/src/NuGet.Core/NuGet.Common/NuGet.Common.csproj
|
|
||||||
index e30a079eb..c2b8fe241 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Common/NuGet.Common.csproj
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Common/NuGet.Common.csproj
|
|
||||||
@@ -5,7 +5,6 @@
|
|
||||||
<PropertyGroup>
|
|
||||||
<Description>Common utilities and interfaces for all NuGet libraries.</Description>
|
|
||||||
<TargetFrameworks>$(TargetFrameworksLibrary)</TargetFrameworks>
|
|
||||||
- <TargetFrameworks Condition="'$(IsBuildOnlyXPLATProjects)' != 'true'">$(TargetFrameworks);net45</TargetFrameworks>
|
|
||||||
<TargetFramework />
|
|
||||||
<NoWarn>$(NoWarn);CS1591;CS1574</NoWarn>
|
|
||||||
<PackProject>true</PackProject>
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Configuration/NuGet.Configuration.csproj b/src/NuGet.Core/NuGet.Configuration/NuGet.Configuration.csproj
|
|
||||||
index bbc5ba480..18b597c74 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Configuration/NuGet.Configuration.csproj
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Configuration/NuGet.Configuration.csproj
|
|
||||||
@@ -6,7 +6,6 @@
|
|
||||||
<Description>NuGet's configuration settings implementation.</Description>
|
|
||||||
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
||||||
<TargetFrameworks>$(TargetFrameworksLibrary)</TargetFrameworks>
|
|
||||||
- <TargetFrameworks Condition="'$(IsBuildOnlyXPLATProjects)' != 'true'">$(TargetFrameworks);net45</TargetFrameworks>
|
|
||||||
<TargetFramework />
|
|
||||||
<PackProject>true</PackProject>
|
|
||||||
<Shipping>true</Shipping>
|
|
||||||
@@ -29,7 +28,7 @@
|
|
||||||
<Reference Include="System.Xml.Linq" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
- <ItemGroup Condition=" '$(TargetFramework)' == '$(NetStandardVersion)' ">
|
|
||||||
+ <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net6.0' ">
|
|
||||||
<PackageReference Include="System.Security.Cryptography.ProtectedData" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Frameworks/NuGet.Frameworks.csproj b/src/NuGet.Core/NuGet.Frameworks/NuGet.Frameworks.csproj
|
|
||||||
index b78b1f2ea..a89b516c6 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Frameworks/NuGet.Frameworks.csproj
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Frameworks/NuGet.Frameworks.csproj
|
|
||||||
@@ -4,8 +4,7 @@
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<Description>NuGet's understanding of target frameworks.</Description>
|
|
||||||
- <TargetFrameworks Condition="'$(IsBuildOnlyXPLATProjects)' == 'true'">$(TargetFrameworksLibrary);netstandard2.0</TargetFrameworks>
|
|
||||||
- <TargetFrameworks Condition="'$(IsBuildOnlyXPLATProjects)' != 'true'">$(TargetFrameworksLibrary);net40</TargetFrameworks>
|
|
||||||
+ <TargetFrameworks>$(TargetFrameworksLibrary);netstandard2.0</TargetFrameworks>
|
|
||||||
<TargetFramework />
|
|
||||||
<NoWarn>$(NoWarn);CS1591;CS1574;CS1573</NoWarn>
|
|
||||||
<PackProject>true</PackProject>
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.PackageManagement/NuGet.PackageManagement.csproj b/src/NuGet.Core/NuGet.PackageManagement/NuGet.PackageManagement.csproj
|
|
||||||
index dfbfcaa8d..a6bb51d6b 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.PackageManagement/NuGet.PackageManagement.csproj
|
|
||||||
+++ b/src/NuGet.Core/NuGet.PackageManagement/NuGet.PackageManagement.csproj
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
<Reference Include="System.Net.Http" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
- <ItemGroup Condition=" '$(TargetFramework)' == '$(NetStandardVersion)' ">
|
|
||||||
+ <ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'net6.0' ">
|
|
||||||
<PackageReference Include="System.ComponentModel.Composition" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Packaging/Signing/Authoring/SignPackageRequest.cs b/src/NuGet.Core/NuGet.Packaging/Signing/Authoring/SignPackageRequest.cs
|
|
||||||
index e0cfae99f..ce19f2d6e 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Packaging/Signing/Authoring/SignPackageRequest.cs
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Packaging/Signing/Authoring/SignPackageRequest.cs
|
|
||||||
@@ -98,7 +98,9 @@ protected virtual void Dispose(bool disposing)
|
|
||||||
Chain?.Dispose();
|
|
||||||
|
|
||||||
#if IS_SIGNING_SUPPORTED
|
|
||||||
+#pragma warning disable CA1416
|
|
||||||
PrivateKey?.Dispose();
|
|
||||||
+#pragma warning restore CA1416
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Packaging/Signing/Cms/NativeUtility.cs b/src/NuGet.Core/NuGet.Packaging/Signing/Cms/NativeUtility.cs
|
|
||||||
index 565ac60b7..d57e38a65 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Packaging/Signing/Cms/NativeUtility.cs
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Packaging/Signing/Cms/NativeUtility.cs
|
|
||||||
@@ -120,7 +120,9 @@ internal static SignedCms NativeSign(CmsSigner cmsSigner, byte[] data, CngKey pr
|
|
||||||
|
|
||||||
signerInfo.cbSize = (uint)Marshal.SizeOf(signerInfo);
|
|
||||||
signerInfo.pCertInfo = MarshalUtility.PtrToStructure<CERT_CONTEXT>(cmsSigner.Certificate.Handle).pCertInfo;
|
|
||||||
+#pragma warning disable CA1416
|
|
||||||
signerInfo.hCryptProvOrhNCryptKey = privateKey.Handle.DangerousGetHandle();
|
|
||||||
+#pragma warning restore CA1416
|
|
||||||
signerInfo.HashAlgorithm.pszObjId = cmsSigner.DigestAlgorithm.Value;
|
|
||||||
|
|
||||||
if (cmsSigner.SignerIdentifierType == SubjectIdentifierType.SubjectKeyIdentifier)
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRequestMessageExtensions.cs b/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRequestMessageExtensions.cs
|
|
||||||
index 7c9595268..1ca751850 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRequestMessageExtensions.cs
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRequestMessageExtensions.cs
|
|
||||||
@@ -34,7 +34,7 @@ internal static HttpRequestMessage Clone(this HttpRequestMessage request)
|
|
||||||
clone.Headers.TryAddWithoutValidation(header.Key, header.Value);
|
|
||||||
}
|
|
||||||
|
|
||||||
-#if NET5_0
|
|
||||||
+#if NET5_0 || NET6_0
|
|
||||||
var clonedOptions = (IDictionary<string, object>)clone.Options;
|
|
||||||
foreach (var option in request.Options)
|
|
||||||
{
|
|
||||||
@@ -118,7 +118,7 @@ public static void SetConfiguration(this HttpRequestMessage request, HttpRequest
|
|
||||||
throw new ArgumentNullException(nameof(configuration));
|
|
||||||
}
|
|
||||||
|
|
||||||
-#if NET5_0
|
|
||||||
+#if NET5_0 || NET6_0
|
|
||||||
request.Options.Set(new HttpRequestOptionsKey<HttpRequestMessageConfiguration>(NuGetConfigurationKey), configuration);
|
|
||||||
#else
|
|
||||||
request.Properties[NuGetConfigurationKey] = configuration;
|
|
||||||
@@ -128,7 +128,7 @@ public static void SetConfiguration(this HttpRequestMessage request, HttpRequest
|
|
||||||
private static T GetProperty<T>(this HttpRequestMessage request, string key)
|
|
||||||
{
|
|
||||||
|
|
||||||
-#if NET5_0
|
|
||||||
+#if NET5_0 || NET6_0
|
|
||||||
if (request.Options.TryGetValue<T>(new HttpRequestOptionsKey<T>(key), out T result))
|
|
||||||
#else
|
|
||||||
object result;
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRetryHandler.cs b/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRetryHandler.cs
|
|
||||||
index c7bcb54bb..30d86fcc9 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRetryHandler.cs
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpRetryHandler.cs
|
|
||||||
@@ -113,7 +113,7 @@ internal HttpRetryHandler(IEnvironmentVariableReader environmentVariableReader)
|
|
||||||
headerStopwatch = new Stopwatch();
|
|
||||||
stopwatches.Add(headerStopwatch);
|
|
||||||
}
|
|
||||||
-#if NET5_0
|
|
||||||
+#if NET5_0 || NET6_0
|
|
||||||
requestMessage.Options.Set(new HttpRequestOptionsKey<List<Stopwatch>>(StopwatchPropertyName), stopwatches);
|
|
||||||
#else
|
|
||||||
requestMessage.Properties[StopwatchPropertyName] = stopwatches;
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpSourceAuthenticationHandler.cs b/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpSourceAuthenticationHandler.cs
|
|
||||||
index b9ab58ce7..ebf738e52 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpSourceAuthenticationHandler.cs
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpSourceAuthenticationHandler.cs
|
|
||||||
@@ -98,7 +98,7 @@ protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage
|
|
||||||
{
|
|
||||||
List<Stopwatch> stopwatches = null;
|
|
||||||
|
|
||||||
-#if NET5_0
|
|
||||||
+#if NET5_0 || NET6_0
|
|
||||||
if (request.Options.TryGetValue(
|
|
||||||
new HttpRequestOptionsKey<List<Stopwatch>>(HttpRetryHandler.StopwatchPropertyName),
|
|
||||||
out stopwatches))
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Versioning/NuGet.Versioning.csproj b/src/NuGet.Core/NuGet.Versioning/NuGet.Versioning.csproj
|
|
||||||
index 180293944..8498664b9 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Versioning/NuGet.Versioning.csproj
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Versioning/NuGet.Versioning.csproj
|
|
||||||
@@ -4,7 +4,6 @@
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFrameworks>$(TargetFrameworksLibrary)</TargetFrameworks>
|
|
||||||
- <TargetFrameworks Condition="'$(IsBuildOnlyXPLATProjects)' != 'true'">$(TargetFrameworks);net45</TargetFrameworks>
|
|
||||||
<TargetFramework />
|
|
||||||
<Description>NuGet's implementation of Semantic Versioning.</Description>
|
|
||||||
<PackageTags>semver;semantic versioning</PackageTags>
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
From 7f35d623761748721496abcbae2d6f11d4cf1ca8 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Rummel <crummel@microsoft.com>
|
|
||||||
Date: Fri, 22 Oct 2021 21:12:51 -0500
|
|
||||||
Subject: [PATCH] Re-enable fullfx TFM in NuGet.
|
|
||||||
|
|
||||||
---
|
|
||||||
build/common.project.props | 3 +--
|
|
||||||
.../NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj | 2 +-
|
|
||||||
2 files changed, 2 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/build/common.project.props b/build/common.project.props
|
|
||||||
index 000702f58..b29968eaf 100644
|
|
||||||
--- a/build/common.project.props
|
|
||||||
+++ b/build/common.project.props
|
|
||||||
@@ -18,11 +18,10 @@
|
|
||||||
<IsBuildOnlyXPLATProjects>$(DotNetBuildFromSource)</IsBuildOnlyXPLATProjects>
|
|
||||||
<NetStandardVersion>netstandard2.0;net6.0</NetStandardVersion>
|
|
||||||
<TargetFrameworksExe>$(NETFXTargetFramework);$(NETCoreTargetFramework)</TargetFrameworksExe>
|
|
||||||
- <TargetFrameworksExe Condition="'$(IsBuildOnlyXPLATProjects)' == 'true' OR '$(IsXPlat)' == 'true'">$(NETCoreTargetFramework)</TargetFrameworksExe>
|
|
||||||
+ <TargetFrameworksExe Condition="'$(IsXPlat)' == 'true'">$(NETCoreTargetFramework)</TargetFrameworksExe>
|
|
||||||
<TargetFrameworksExeForSigning>$(TargetFrameworksExe);net6.0</TargetFrameworksExeForSigning>
|
|
||||||
<TargetFrameworksExeForSigning Condition=" '$(IsXPlat)' == 'true' ">$(NETCoreTargetFramework);net6.0</TargetFrameworksExeForSigning>
|
|
||||||
<TargetFrameworksLibrary>$(NETFXTargetFramework);$(NetStandardVersion)</TargetFrameworksLibrary>
|
|
||||||
- <TargetFrameworksLibrary Condition="'$(IsBuildOnlyXPLATProjects)' == 'true'">$(NetStandardVersion)</TargetFrameworksLibrary>
|
|
||||||
<TargetFrameworksLibraryForSigning>$(TargetFrameworksLibrary);net6.0</TargetFrameworksLibraryForSigning>
|
|
||||||
<TargetFrameworksLibraryForCrossVerificationTests>$(NETFXTargetFramework);netcoreapp5.0</TargetFrameworksLibraryForCrossVerificationTests>
|
|
||||||
<RepositoryRootDirectory>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'README.md'))\</RepositoryRootDirectory>
|
|
||||||
diff --git a/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj b/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj
|
|
||||||
index f4d083e52..c4eb79b4c 100644
|
|
||||||
--- a/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj
|
|
||||||
+++ b/src/NuGet.Core/NuGet.Build.Tasks.Pack/NuGet.Build.Tasks.Pack.csproj
|
|
||||||
@@ -176,7 +176,7 @@
|
|
||||||
<PropertyGroup>
|
|
||||||
<!-- Build from source can't use ILMerge. -->
|
|
||||||
<ILMergeSubpath Condition="'$(IsBuildOnlyXPLATProjects)' != 'true'">ilmerge\</ILMergeSubpath>
|
|
||||||
- <PackagePathDir Condition="'$(TargetFramework)' == '$(NETFXTargetFramework)' AND '$(IsBuildOnlyXPLATProjects)' != 'true'">Desktop/</PackagePathDir>
|
|
||||||
+ <PackagePathDir Condition="'$(TargetFramework)' == '$(NETFXTargetFramework)'">Desktop/</PackagePathDir>
|
|
||||||
<PackagePathDir Condition="'$(TargetFramework)' == 'netstandard2.0'">CoreCLR/</PackagePathDir>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Logan Bussell <loganbussell@microsoft.com>
|
||||||
|
Date: Wed, 13 Apr 2022 15:03:44 -0700
|
||||||
|
Subject: [PATCH] Exclude test projects from source-build
|
||||||
|
|
||||||
|
Backport PR: https://github.com/dotnet/razor-compiler/pull/226
|
||||||
|
---
|
||||||
|
src/test/Directory.Build.props | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/test/Directory.Build.props b/src/test/Directory.Build.props
|
||||||
|
index 95172906..047e4619 100644
|
||||||
|
--- a/src/test/Directory.Build.props
|
||||||
|
+++ b/src/test/Directory.Build.props
|
||||||
|
@@ -8,5 +8,6 @@
|
||||||
|
-->
|
||||||
|
<IsTestAssetProject>true</IsTestAssetProject>
|
||||||
|
<IsPackable>false</IsPackable>
|
||||||
|
+ <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
|
@ -0,0 +1,22 @@
|
||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Logan Bussell <loganbussell@microsoft.com>
|
||||||
|
Date: Thu, 14 Apr 2022 16:27:26 -0700
|
||||||
|
Subject: [PATCH] retarget Razor Syntax Genreator to net6.0
|
||||||
|
|
||||||
|
Backport PR: https://github.com/dotnet/razor-compiler/pull/226
|
||||||
|
---
|
||||||
|
src/tools/RazorSyntaxGenerator/RazorSyntaxGenerator.csproj | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/tools/RazorSyntaxGenerator/RazorSyntaxGenerator.csproj b/src/tools/RazorSyntaxGenerator/RazorSyntaxGenerator.csproj
|
||||||
|
index 924379ac..362f0e3b 100644
|
||||||
|
--- a/src/tools/RazorSyntaxGenerator/RazorSyntaxGenerator.csproj
|
||||||
|
+++ b/src/tools/RazorSyntaxGenerator/RazorSyntaxGenerator.csproj
|
||||||
|
@@ -3,6 +3,7 @@
|
||||||
|
<PropertyGroup>
|
||||||
|
<Description>Generates Razor syntax nodes from xml. For internal use only.</Description>
|
||||||
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
|
+ <TargetFramework Condition="'$(DotNetBuildFromSource)' == 'true'">net6.0</TargetFramework>
|
||||||
|
<AssemblyName>dotnet-razorsyntaxgenerator</AssemblyName>
|
||||||
|
<PackageId>RazorSyntaxGenerator</PackageId>
|
||||||
|
<OutputType>Exe</OutputType>
|
|
@ -1,33 +0,0 @@
|
||||||
From 1a415d2019d74bcf009134326d1c25798589de64 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Rummel <crummel@microsoft.com>
|
|
||||||
Date: Tue, 19 Oct 2021 11:39:32 -0500
|
|
||||||
Subject: [PATCH] Apply arcade-powered source-build patches (#55823)
|
|
||||||
|
|
||||||
Don't include desktop artifacts that don't exist in source-build.
|
|
||||||
Source-build doesn't have these artifacts available, even when we eventually will
|
|
||||||
build desktop TFMs, because Roslyn is one of the first builds in source-build.
|
|
||||||
Instead Roslyn is picking up reference packages that don't have the `lib` directory
|
|
||||||
which is causing a build failure. This disables the attempt to grab these desktop
|
|
||||||
artifacts so source-build just skips them instead.
|
|
||||||
|
|
||||||
Backported to roslyn with https://github.com/dotnet/roslyn/pull/55823
|
|
||||||
---
|
|
||||||
.../DesktopCompilerArtifacts.targets | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/NuGet/Microsoft.Net.Compilers.Toolset/DesktopCompilerArtifacts.targets b/src/NuGet/Microsoft.Net.Compilers.Toolset/DesktopCompilerArtifacts.targets
|
|
||||||
index c8b87ab6958..107ff051b51 100644
|
|
||||||
--- a/src/NuGet/Microsoft.Net.Compilers.Toolset/DesktopCompilerArtifacts.targets
|
|
||||||
+++ b/src/NuGet/Microsoft.Net.Compilers.Toolset/DesktopCompilerArtifacts.targets
|
|
||||||
@@ -20,7 +20,7 @@
|
|
||||||
VS training data to the assemblies they produce.
|
|
||||||
-->
|
|
||||||
|
|
||||||
- <Target Name="InitializeDesktopCompilerArtifacts">
|
|
||||||
+ <Target Name="InitializeDesktopCompilerArtifacts" Condition="'$(DotNetBuildFromSource)' != 'true'">
|
|
||||||
<ItemGroup>
|
|
||||||
|
|
||||||
<!-- The Roslyn built binaries must be taken from these locations because this is the location where signing occurs -->
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
From 7260c572b1ce424f7ff3a64aa3227417c6a7a676 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Logan Bussell <36081148+lbussell@users.noreply.github.com>
|
|
||||||
Date: Fri, 8 Oct 2021 00:56:41 +0000
|
|
||||||
Subject: [PATCH] remove Microsoft.DotNet prebuilts
|
|
||||||
|
|
||||||
Pull request for applying this patch: https://github.com/dotnet/roslyn/pull/57159
|
|
||||||
---
|
|
||||||
eng/Tools.props | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/eng/Tools.props b/eng/Tools.props
|
|
||||||
index 1579b510558..944448855ee 100644
|
|
||||||
--- a/eng/Tools.props
|
|
||||||
+++ b/eng/Tools.props
|
|
||||||
@@ -1,6 +1,6 @@
|
|
||||||
<Project>
|
|
||||||
|
|
||||||
- <ItemGroup>
|
|
||||||
+ <ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true'">
|
|
||||||
<!--
|
|
||||||
This package would normally be restored by the Arcade SDK, but it is not included during restore operations
|
|
||||||
if the -package flag is not also provided during the build. Roslyn separates the restore operation from the
|
|
||||||
--
|
|
||||||
2.30.2
|
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Davis Goodin <dagood@microsoft.com>
|
|
||||||
Date: Tue, 19 Oct 2021 19:38:52 -0500
|
|
||||||
Subject: [PATCH] Disable apphost build of 'csi', 'vbi' for source-build
|
|
||||||
|
|
||||||
Creating an apphost for a netcoreapp3.1 project uses the apphost pack as a
|
|
||||||
prebuilt. Stopping these projects from creating the apphost removes the prebuilt
|
|
||||||
for source-build.
|
|
||||||
|
|
||||||
See: https://github.com/dotnet/roslyn/issues/57233
|
|
||||||
|
|
||||||
PR: https://github.com/dotnet/roslyn/pull/57306
|
|
||||||
---
|
|
||||||
src/Interactive/csi/csi.csproj | 1 +
|
|
||||||
src/Interactive/vbi/vbi.vbproj | 1 +
|
|
||||||
2 files changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/src/Interactive/csi/csi.csproj b/src/Interactive/csi/csi.csproj
|
|
||||||
index 3970bb4e9ea..e96beb550d2 100644
|
|
||||||
--- a/src/Interactive/csi/csi.csproj
|
|
||||||
+++ b/src/Interactive/csi/csi.csproj
|
|
||||||
@@ -6,6 +6,7 @@
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<RootNamespace>CSharpInteractive</RootNamespace>
|
|
||||||
<TargetFrameworks>netcoreapp3.1;net472</TargetFrameworks>
|
|
||||||
+ <UseAppHost Condition="'$(DotNetBuildFromSource)' == 'true'">false</UseAppHost>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup Label="Project References">
|
|
||||||
<ProjectReference Include="..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" />
|
|
||||||
diff --git a/src/Interactive/vbi/vbi.vbproj b/src/Interactive/vbi/vbi.vbproj
|
|
||||||
index 5bbdf7f03a7..5f732d71534 100644
|
|
||||||
--- a/src/Interactive/vbi/vbi.vbproj
|
|
||||||
+++ b/src/Interactive/vbi/vbi.vbproj
|
|
||||||
@@ -6,6 +6,7 @@
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<StartupObject>Sub Main</StartupObject>
|
|
||||||
<TargetFrameworks>netcoreapp3.1;net472</TargetFrameworks>
|
|
||||||
+ <UseAppHost Condition="'$(DotNetBuildFromSource)' == 'true'">false</UseAppHost>
|
|
||||||
<RootNamespace></RootNamespace>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup Label="Project References">
|
|
|
@ -1,26 +0,0 @@
|
||||||
From 752ab8ab199bd1d99353658cb676a6612508333b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Michael Simons <msimons@microsoft.com>
|
|
||||||
Date: Wed, 8 Sep 2021 21:31:01 +0000
|
|
||||||
Subject: [PATCH] Drop vstest.console netcoreapp2.1 support
|
|
||||||
|
|
||||||
Workaround for https://github.com/microsoft/vstest/issues/3044
|
|
||||||
---
|
|
||||||
src/vstest.console/vstest.console.csproj | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/vstest.console/vstest.console.csproj b/src/vstest.console/vstest.console.csproj
|
|
||||||
index 1343e6d9..7c555591 100644
|
|
||||||
--- a/src/vstest.console/vstest.console.csproj
|
|
||||||
+++ b/src/vstest.console/vstest.console.csproj
|
|
||||||
@@ -8,7 +8,7 @@
|
|
||||||
<PropertyGroup>
|
|
||||||
<AssemblyName>vstest.console</AssemblyName>
|
|
||||||
<TargetFrameworks>netcoreapp2.1;net451</TargetFrameworks>
|
|
||||||
- <TargetFrameworks Condition=" '$(DotNetBuildFromSource)' == 'true' ">netcoreapp2.1;net6.0</TargetFrameworks>
|
|
||||||
+ <TargetFrameworks Condition=" '$(DotNetBuildFromSource)' == 'true' ">net6.0</TargetFrameworks>
|
|
||||||
<WarningsAsErrors>true</WarningsAsErrors>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<IsTestProject>false</IsTestProject>
|
|
||||||
--
|
|
||||||
2.29.2
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Chris Rummel <crummel@microsoft.com>
|
|
||||||
Date: Wed, 22 Jun 2022 05:57:36 -0500
|
|
||||||
Subject: [PATCH] Enable work-tree and unsafe-paths to be able to apply in the
|
|
||||||
checked-in tarball.
|
|
||||||
|
|
||||||
---
|
|
||||||
eng/SourceBuild.props | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props
|
|
||||||
index b365645..36a7ba9 100644
|
|
||||||
--- a/eng/SourceBuild.props
|
|
||||||
+++ b/eng/SourceBuild.props
|
|
||||||
@@ -24,7 +24,7 @@
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<Exec
|
|
||||||
- Command="git apply --ignore-whitespace --whitespace=nowarn "%(SourceBuildPatchFile.FullPath)""
|
|
||||||
+ Command="git --work-tree=$(InnerSourceBuildRepoRoot) apply --ignore-whitespace --whitespace=nowarn --unsafe-paths "%(SourceBuildPatchFile.FullPath)""
|
|
||||||
WorkingDirectory="$(InnerSourceBuildRepoRoot)"
|
|
||||||
Condition="'@(SourceBuildPatchFile)' != ''" />
|
|
||||||
</Target>
|
|
|
@ -1,40 +0,0 @@
|
||||||
From 071dfef93e5431a415bd9298f2ed8aaf9a22524f Mon Sep 17 00:00:00 2001
|
|
||||||
From: dseefeld <dseefeld@microsoft.com>
|
|
||||||
Date: Mon, 11 Oct 2021 19:35:15 +0000
|
|
||||||
Subject: [PATCH] Don't publish for win runtime identifier in source-build
|
|
||||||
|
|
||||||
See https://github.com/microsoft/vstest/pull/3096
|
|
||||||
---
|
|
||||||
src/testhost.x86/testhost.x86.csproj | 2 +-
|
|
||||||
src/testhost/testhost.csproj | 2 +-
|
|
||||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/testhost.x86/testhost.x86.csproj b/src/testhost.x86/testhost.x86.csproj
|
|
||||||
index 7eb5cd15..09856522 100644
|
|
||||||
--- a/src/testhost.x86/testhost.x86.csproj
|
|
||||||
+++ b/src/testhost.x86/testhost.x86.csproj
|
|
||||||
@@ -19,7 +19,7 @@
|
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)' != 'netcoreapp2.1' AND '$(TargetFramework)' != 'netcoreapp1.0' AND '$(TargetFramework)' != 'net6.0' ">
|
|
||||||
- <RuntimeIdentifier>win7-x86</RuntimeIdentifier>
|
|
||||||
+ <RuntimeIdentifier Condition="'$(DotNetBuildFromSource)' != 'true'">win7-x86</RuntimeIdentifier>
|
|
||||||
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
|
||||||
<TargetName Condition="'$(TargetFramework)' != 'net451'">$(AssemblyName.Replace('.x86', '')).$(TargetFramework).x86</TargetName>
|
|
||||||
</PropertyGroup>
|
|
||||||
diff --git a/src/testhost/testhost.csproj b/src/testhost/testhost.csproj
|
|
||||||
index a780e4e9..ba0fd259 100644
|
|
||||||
--- a/src/testhost/testhost.csproj
|
|
||||||
+++ b/src/testhost/testhost.csproj
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)' != 'netcoreapp2.1' AND '$(TargetFramework)' != 'netcoreapp1.0' AND '$(TargetFramework)' != 'net6.0' ">
|
|
||||||
- <RuntimeIdentifier>win7-x64</RuntimeIdentifier>
|
|
||||||
+ <RuntimeIdentifier Condition="'$(DotNetBuildFromSource)' != 'true'">win7-x64</RuntimeIdentifier>
|
|
||||||
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
|
||||||
<TargetName Condition="'$(TargetFramework)' != 'net451'">$(AssemblyName).$(TargetFramework)</TargetName>
|
|
||||||
</PropertyGroup>
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
<PackageReference Include="microsoft.dotnet.templateLocator" Version="$(MicrosoftDotnetTemplateLocatorPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true"/>
|
<PackageReference Include="microsoft.dotnet.templateLocator" Version="$(MicrosoftDotnetTemplateLocatorPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true"/>
|
||||||
<PackageReference Include="runtime.win-x86.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
<PackageReference Include="runtime.win-x86.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
||||||
<PackageReference Include="runtime.win-x64.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
<PackageReference Include="runtime.win-x64.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
||||||
|
<PackageReference Include="runtime.win-arm64.Microsoft.NETCore.DotNetHostResolver" Version="$(MicrosoftNETCoreDotNetHostResolverPackageVersion)" ExcludeAssets="all" GeneratePathProperty="true" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Target
|
<Target
|
||||||
|
@ -29,6 +30,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<_VSTemplateLocatorSrc Include="$(Pkgruntime_win-x86_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-x86\native\hostfxr.dll" Arch="x86\" />
|
<_VSTemplateLocatorSrc Include="$(Pkgruntime_win-x86_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-x86\native\hostfxr.dll" Arch="x86\" />
|
||||||
<_VSTemplateLocatorSrc Include="$(Pkgruntime_win-x64_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-x64\native\hostfxr.dll" Arch="x64\" />
|
<_VSTemplateLocatorSrc Include="$(Pkgruntime_win-x64_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-x64\native\hostfxr.dll" Arch="x64\" />
|
||||||
|
<_VSTemplateLocatorSrc Include="$(Pkgruntime_win-arm64_Microsoft_NETCore_DotNetHostResolver)\runtimes\win-arm64\native\hostfxr.dll" Arch="arm64\" />
|
||||||
<_VSTemplateLocatorSrc Include="$(Pkgmicrosoft_dotnet_templateLocator)\lib\net472\**\*.dll" Arch="" />
|
<_VSTemplateLocatorSrc Include="$(Pkgmicrosoft_dotnet_templateLocator)\lib\net472\**\*.dll" Arch="" />
|
||||||
<_VSTemplateLocatorDst Include="@(_VSTemplateLocatorSrc->'$(OutputPath)VSTemplateLocator\%(Arch)%(RecursiveDir)%(Filename)%(Extension)')" />
|
<_VSTemplateLocatorDst Include="@(_VSTemplateLocatorSrc->'$(OutputPath)VSTemplateLocator\%(Arch)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BundledManifests Include="Microsoft.NET.Workload.Mono.ToolChain" FeatureBand="6.0.100" Version="$(MonoWorkloadManifestVersion)" />
|
<BundledManifests Include="Microsoft.NET.Sdk.Android" FeatureBand="6.0.300" Version="$(XamarinAndroidWorkloadManifestVersion)" />
|
||||||
<BundledManifests Include="Microsoft.NET.Workload.Emscripten" FeatureBand="6.0.100" Version="$(EmscriptenWorkloadManifestVersion)" />
|
<BundledManifests Include="Microsoft.NET.Sdk.iOS" FeatureBand="6.0.300" Version="$(XamarinIOSWorkloadManifestVersion)" />
|
||||||
|
<BundledManifests Include="Microsoft.NET.Sdk.MacCatalyst" FeatureBand="6.0.300" Version="$(XamarinMacCatalystWorkloadManifestVersion)" />
|
||||||
|
<BundledManifests Include="Microsoft.NET.Sdk.macOS" FeatureBand="6.0.300" Version="$(XamarinMacOSWorkloadManifestVersion)" />
|
||||||
|
<BundledManifests Include="Microsoft.NET.Sdk.Maui" FeatureBand="6.0.300" Version="$(MauiWorkloadManifestVersion)" />
|
||||||
|
<BundledManifests Include="Microsoft.NET.Sdk.tvOS" FeatureBand="6.0.300" Version="$(XamarinTvOSWorkloadManifestVersion)" />
|
||||||
|
<BundledManifests Include="Microsoft.NET.Workload.Mono.ToolChain" FeatureBand="6.0.300" Version="$(MonoWorkloadManifestVersion)" />
|
||||||
|
<BundledManifests Include="Microsoft.NET.Workload.Emscripten" FeatureBand="6.0.300" Version="$(EmscriptenWorkloadManifestVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Calculate NuGet package IDs for bundled manifests -->
|
<!-- Calculate NuGet package IDs for bundled manifests -->
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<VersionFeature21>30</VersionFeature21>
|
<VersionFeature21>30</VersionFeature21>
|
||||||
<VersionFeature31>$([MSBuild]::Add($(VersionFeature), 20))</VersionFeature31>
|
<VersionFeature31>$([MSBuild]::Add($(VersionFeature), 25))</VersionFeature31>
|
||||||
<VersionFeature50>17</VersionFeature50>
|
<VersionFeature50>17</VersionFeature50>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -370,6 +370,7 @@ Copyright (c) .NET Foundation. All rights reserved.
|
||||||
TargetingPackVersion="$(MicrosoftAspNetCoreAppRefPackageVersion)"
|
TargetingPackVersion="$(MicrosoftAspNetCoreAppRefPackageVersion)"
|
||||||
RuntimePackNamePatterns="Microsoft.AspNetCore.App.Runtime.**RID**"
|
RuntimePackNamePatterns="Microsoft.AspNetCore.App.Runtime.**RID**"
|
||||||
RuntimePackRuntimeIdentifiers="@(AspNetCoreRuntimePackRids, '%3B')"
|
RuntimePackRuntimeIdentifiers="@(AspNetCoreRuntimePackRids, '%3B')"
|
||||||
|
RuntimePackExcludedRuntimeIdentifiers="android"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<KnownFrameworkReference Include="Microsoft.Windows.SDK.NET.Ref"
|
<KnownFrameworkReference Include="Microsoft.Windows.SDK.NET.Ref"
|
||||||
|
|
|
@ -415,7 +415,7 @@
|
||||||
|
|
||||||
<Target Name="GenerateTemplatesNupkgs"
|
<Target Name="GenerateTemplatesNupkgs"
|
||||||
DependsOnTargets="GenerateLayout;MsiTargetsSetupInputOutputs;GenerateTemplatesMsis;SignTemplatesMsis;SetupTemplatesNupkgs"
|
DependsOnTargets="GenerateLayout;MsiTargetsSetupInputOutputs;GenerateTemplatesMsis;SignTemplatesMsis;SetupTemplatesNupkgs"
|
||||||
Condition="$(ProductMonikerRid.StartsWith('win')) And !$(Architecture.StartsWith('arm'))"
|
Condition="$(ProductMonikerRid.StartsWith('win')) And '$(Architecture)' != 'arm' "
|
||||||
Inputs="@(TemplatesNupkgComponent->'%(MSIInstallerFile)');
|
Inputs="@(TemplatesNupkgComponent->'%(MSIInstallerFile)');
|
||||||
$(TemplatesInstallerNuspecFile);
|
$(TemplatesInstallerNuspecFile);
|
||||||
$(GenerateNupkgPowershellScript)"
|
$(GenerateNupkgPowershellScript)"
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
'$(Rid)' == 'linux-musl-x64' ">$(Rid)</ProductMonikerRid>
|
'$(Rid)' == 'linux-musl-x64' ">$(Rid)</ProductMonikerRid>
|
||||||
<ProductMonikerRid Condition=" '$(ProductMonikerRid)' == '' ">$(OSName)-$(Architecture)</ProductMonikerRid>
|
<ProductMonikerRid Condition=" '$(ProductMonikerRid)' == '' ">$(OSName)-$(Architecture)</ProductMonikerRid>
|
||||||
|
|
||||||
|
<PortableProductMonikerRid Condition=" '$(PortableProductMonikerRid)' == '' ">$(HostOSName)-$(Architecture)</PortableProductMonikerRid>
|
||||||
|
|
||||||
<ArtifactNameSdk>dotnet-sdk-internal$(PgoTerm)</ArtifactNameSdk>
|
<ArtifactNameSdk>dotnet-sdk-internal$(PgoTerm)</ArtifactNameSdk>
|
||||||
<ArtifactNameCombinedHostHostFxrFrameworkSdk>dotnet-sdk$(PgoTerm)</ArtifactNameCombinedHostHostFxrFrameworkSdk>
|
<ArtifactNameCombinedHostHostFxrFrameworkSdk>dotnet-sdk$(PgoTerm)</ArtifactNameCombinedHostHostFxrFrameworkSdk>
|
||||||
|
|
||||||
|
|
|
@ -40,8 +40,8 @@
|
||||||
<Text Name="FilesInUseLabel" X="11" Y="121" Width="-11" Height="34" FontId="3" DisablePrefix="yes">#(loc.FilesInUseLabel)</Text>
|
<Text Name="FilesInUseLabel" X="11" Y="121" Width="-11" Height="34" FontId="3" DisablePrefix="yes">#(loc.FilesInUseLabel)</Text>
|
||||||
<Text Name="FilesInUseText" X="11" Y="150" Width="-11" Height="-86" FontId="3" DisablePrefix="yes" HexStyle="0x0000000C"></Text>
|
<Text Name="FilesInUseText" X="11" Y="150" Width="-11" Height="-86" FontId="3" DisablePrefix="yes" HexStyle="0x0000000C"></Text>
|
||||||
|
|
||||||
<Button Name="FilesInUseCloseRadioButton" X="300" Y="-65" Width="-11" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes" HexStyle="0x000009">#(loc.FilesInUseCloseRadioButton)</Button>
|
<Button Name="FilesInUseCloseRadioButton" X="165" Y="-65" Width="-11" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes" HexStyle="0x000009">#(loc.FilesInUseCloseRadioButton)</Button>
|
||||||
<Button Name="FilesInUseDontCloseRadioButton" X="300" Y="-45" Width="-11" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes" HexStyle="0x000009">#(loc.FilesInUseDontCloseRadioButton)</Button>
|
<Button Name="FilesInUseDontCloseRadioButton" X="165" Y="-45" Width="-11" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes" HexStyle="0x000009">#(loc.FilesInUseDontCloseRadioButton)</Button>
|
||||||
|
|
||||||
<Button Name="FilesInUseOkButton" X="-133" Y="-11" Width="99" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.FilesInUseOkButton)</Button>
|
<Button Name="FilesInUseOkButton" X="-133" Y="-11" Width="99" Height="23" TabStop="yes" FontId="0" HideWhenDisabled="yes">#(loc.FilesInUseOkButton)</Button>
|
||||||
<Button Name="FilesInUseCancelButton" X="-32" Y="-11" Width="99" Height="23" TabStop="yes" FontId="0">#(loc.FilesInUseCancelButton)</Button>
|
<Button Name="FilesInUseCancelButton" X="-32" Y="-11" Width="99" Height="23" TabStop="yes" FontId="0">#(loc.FilesInUseCancelButton)</Button>
|
||||||
|
|
|
@ -216,6 +216,7 @@
|
||||||
being installed.
|
being installed.
|
||||||
-->
|
-->
|
||||||
<ExePackage SourceFile="$(var.FinalizerExeSourcePath)"
|
<ExePackage SourceFile="$(var.FinalizerExeSourcePath)"
|
||||||
|
Cache="always"
|
||||||
DetectCondition="WixBundleAction >= 3"
|
DetectCondition="WixBundleAction >= 3"
|
||||||
Id="Finalizer"
|
Id="Finalizer"
|
||||||
InstallCondition="WixBundleAction >= 4"
|
InstallCondition="WixBundleAction >= 4"
|
||||||
|
|
|
@ -34,7 +34,7 @@ namespace EndToEnd.Tests
|
||||||
|
|
||||||
File.Exists(manifestFile).Should().BeTrue();
|
File.Exists(manifestFile).Should().BeTrue();
|
||||||
using var fileStream = new FileStream(manifestFile, FileMode.Open, FileAccess.Read);
|
using var fileStream = new FileStream(manifestFile, FileMode.Open, FileAccess.Read);
|
||||||
Action readManifest = () => WorkloadManifestReader.ReadWorkloadManifest(manifestId, fileStream);
|
Action readManifest = () => WorkloadManifestReader.ReadWorkloadManifest(manifestId, fileStream, manifestFile);
|
||||||
readManifest.ShouldNotThrow("manifestId:" + manifestId + " manifestFile:" + manifestFile + "is invalid");
|
readManifest.ShouldNotThrow("manifestId:" + manifestId + " manifestFile:" + manifestFile + "is invalid");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue