diff --git a/Directory.Build.props b/Directory.Build.props index 9a7df4870cc1..1a06b84dc3af 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -77,5 +77,18 @@ + + + + $(MicrosoftNETCoreAppHostwinx64PackageVersion) + $(MicrosoftNETCoreAppRuntimewinx64PackageVersion) + $(MicrosoftAspNetCoreAppRuntimewinx64PackageVersion) + $(MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion) + + $(MicrosoftNETCoreAppRuntimePackageVersion) + $(MicrosoftNETCoreAppRuntimePackageVersion) + + + diff --git a/eng/Versions.props b/eng/Versions.props index 33b24b0e7b81..6f2c76ac0b41 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -166,6 +166,7 @@ 8.0.0 + 2.0.0-preview.1.24427.4 8.0.0 8.0.0 8.0.0 @@ -278,20 +279,9 @@ 10.0.0-alpha.1.24521.5 10.0.0-alpha.1.24521.5 - - - $(MicrosoftNETCoreAppHostwinx64PackageVersion) - $(MicrosoftNETCoreAppRuntimewinx64PackageVersion) - $(MicrosoftAspNetCoreAppRuntimewinx64PackageVersion) - $(MicrosoftWindowsDesktopAppRuntimewinx64PackageVersion) - - - $(MicrosoftNETCoreAppRuntimePackageVersion) - $(MicrosoftNETCoreAppRuntimePackageVersion) - - $(MicrosoftAspNetCoreAppRuntimePackageVersion) + $(MicrosoftAspNetCoreAppRuntimewinx64PackageVersion) $(MicrosoftDotnetWinFormsProjectTemplatesPackageVersion) $(MicrosoftDotNetWpfProjectTemplatesPackageVersion) diff --git a/eng/pipelines/templates/stages/vmr-build.yml b/eng/pipelines/templates/stages/vmr-build.yml index 839e841d06fc..2af21202f9fa 100644 --- a/eng/pipelines/templates/stages/vmr-build.yml +++ b/eng/pipelines/templates/stages/vmr-build.yml @@ -396,6 +396,18 @@ stages: targetOS: linux targetArchitecture: x64 + - template: ../jobs/vmr-build.yml + parameters: + buildName: Windows_DevVersions + isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }} + vmrBranch: ${{ variables.VmrBranch }} + architecture: x64 + pool: ${{ parameters.pool_Windows }} + targetOS: windows + targetArchitecture: x64 + useDevVersions: true # Use dev versions for CI validation of the experience. If we decide to ship assets from this leg, then we should remove this option. + runTests: false # Temporarily do not run tests. The nuget comparison fails for some non-obvious reason and needs further investigation. Mostly, I'm not sure why it ever passed. https://github.com/dotnet/sdk/issues/42920 + - template: ../jobs/vmr-build.yml parameters: buildName: Windows diff --git a/src/Installer/redist-installer/projects/VSMSBuildExtensions/VSMSBuildExtensions.csproj b/src/Installer/redist-installer/projects/VSMSBuildExtensions/VSMSBuildExtensions.csproj index c0c948624518..25c042f4ad31 100644 --- a/src/Installer/redist-installer/projects/VSMSBuildExtensions/VSMSBuildExtensions.csproj +++ b/src/Installer/redist-installer/projects/VSMSBuildExtensions/VSMSBuildExtensions.csproj @@ -30,7 +30,7 @@ - + @@ -65,7 +65,7 @@ DeploymentSubpath="msbuildExtensions/Microsoft/Microsoft.NET.Build.Extensions/" /> - + diff --git a/src/Installer/redist-installer/targets/GenerateLayout.targets b/src/Installer/redist-installer/targets/GenerateLayout.targets index 6990177a573f..14da3b52d479 100644 --- a/src/Installer/redist-installer/targets/GenerateLayout.targets +++ b/src/Installer/redist-installer/targets/GenerateLayout.targets @@ -111,8 +111,6 @@ $(OfficialBaseURL)Runtime/$(NETStandardTargetingPackBlobVersion) $(PublicBaseURL)aspnetcore/Runtime/$(AspNetCoreBlobVersion) - - $(FallbackPublicBaseURL)aspnetcore/Runtime/$(AspNetCoreBlobVersion) $(PublicBaseURL)WindowsDesktop/$(WindowsDesktopBlobVersion) @@ -167,21 +165,23 @@ packs/%(PackageName)/%(PackageVersion) - + + Microsoft.NETCore.App.Host.$(AlternateAppHostRid) $(MicrosoftNETCoreAppHostPackageVersion) $(TargetFramework) packs/%(PackageName)/%(PackageVersion) - + Microsoft.NETCore.App.Host.$(Arm64AppHostRid) $(MicrosoftNETCoreAppHostPackageVersion) $(TargetFramework) packs/%(PackageName)/%(PackageVersion) - + Microsoft.NETCore.App.Host.$(x64AppHostRid) $(MicrosoftNETCoreAppHostPackageVersion) $(TargetFramework) @@ -256,24 +256,19 @@ $(DownloadedNetCoreAppHostPackInstallerFileName) - + + Condition="'$(SkipBuildingInstallers)' != 'true' and '$(InstallerExtension)' == '.msi' and !$(Architecture.StartsWith('arm')) and '$(DotNetBuild)' != 'true'"> $(NetRuntimeRootUrl) - - $(FallbackPublicBaseURL)Runtime/$(NetRuntimeBlobVersion) $(DownloadedAlternateNetCoreAppHostPackInstallerFileName) + + Condition="'$(SkipBuildingInstallers)' != 'true' And '$(InstallerExtension)' == '.msi' And !$(Architecture.StartsWith('arm')) and '$(DotNetBuild)' != 'true'"> $(NetRuntimeRootUrl) - - $(FallbackPublicBaseURL)Runtime/$(NetRuntimeBlobVersion) $(DownloadedArm64NetCoreAppHostPackInstallerFileName) diff --git a/src/Installer/redist-installer/targets/GenerateMSIs.targets b/src/Installer/redist-installer/targets/GenerateMSIs.targets index 3dfc7e770d52..b47b233376af 100644 --- a/src/Installer/redist-installer/targets/GenerateMSIs.targets +++ b/src/Installer/redist-installer/targets/GenerateMSIs.targets @@ -295,7 +295,7 @@ - + + $(MicrosoftDeploymentDotNetReleasesToolsetPackageVersion) + @@ -96,9 +98,9 @@ - - - + + + @@ -106,7 +108,9 @@ - + x86/hostfxr.dll diff --git a/src/Resolvers/Microsoft.DotNet.SdkResolver/Microsoft.DotNet.SdkResolver.csproj b/src/Resolvers/Microsoft.DotNet.SdkResolver/Microsoft.DotNet.SdkResolver.csproj index b5a3bfd041eb..e99e3a7b89d7 100644 --- a/src/Resolvers/Microsoft.DotNet.SdkResolver/Microsoft.DotNet.SdkResolver.csproj +++ b/src/Resolvers/Microsoft.DotNet.SdkResolver/Microsoft.DotNet.SdkResolver.csproj @@ -26,11 +26,13 @@ - - + + - + x86/hostfxr.dll diff --git a/src/SourceBuild/content/repo-projects/sdk.proj b/src/SourceBuild/content/repo-projects/sdk.proj index 47da97d5f51d..43b19d1b5456 100644 --- a/src/SourceBuild/content/repo-projects/sdk.proj +++ b/src/SourceBuild/content/repo-projects/sdk.proj @@ -31,6 +31,8 @@ $(BuildArgs) /p:NetRuntimeRid=$(TargetRid) $(BuildArgs) /p:SkipBuildingInstallers=true + + $(BuildArgs) /p:SkipBuildingInstallers=true /p:SkipBuildingSdkBundle=true $(BuildArgs) /p:PublicBaseURL=file:%2F%2F$(ArtifactsAssetsDir)