From adc28fdb422cd9306b65c9f67ced13aaecce8f76 Mon Sep 17 00:00:00 2001
From: "dotnet-maestro[bot]"
<42748379+dotnet-maestro[bot]@users.noreply.github.com>
Date: Sat, 14 Sep 2019 17:19:24 -0700
Subject: [PATCH 1/2] [release/3.0] Update dependencies from
aspnet/AspNetCore-Tooling (#13980)
* Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190914.2
- Microsoft.NET.Sdk.Razor - 3.0.0
- Microsoft.CodeAnalysis.Razor - 3.0.0
- Microsoft.AspNetCore.Razor.Language - 3.0.0
- Microsoft.AspNetCore.Mvc.Razor.Extensions - 3.0.0
---
NuGet.config | 1 +
eng/Version.Details.xml | 16 ++++++++--------
eng/Versions.props | 8 ++++----
3 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/NuGet.config b/NuGet.config
index abe0ab2f44..46f8b50c84 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -7,6 +7,7 @@
+
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index f234f28f0a..8631795af9 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -13,21 +13,21 @@
https://github.com/aspnet/Blazor
348e050ecd9bd8924581afb677089ae5e2d5e508
-
+
https://github.com/aspnet/AspNetCore-Tooling
- fb764d92474690bc9cf60e7a9d0679ab36ac326b
+ 16b0ca4a5838c39c8852e6cf144232597e2bee2e
-
+
https://github.com/aspnet/AspNetCore-Tooling
- fb764d92474690bc9cf60e7a9d0679ab36ac326b
+ 16b0ca4a5838c39c8852e6cf144232597e2bee2e
-
+
https://github.com/aspnet/AspNetCore-Tooling
- fb764d92474690bc9cf60e7a9d0679ab36ac326b
+ 16b0ca4a5838c39c8852e6cf144232597e2bee2e
-
+
https://github.com/aspnet/AspNetCore-Tooling
- fb764d92474690bc9cf60e7a9d0679ab36ac326b
+ 16b0ca4a5838c39c8852e6cf144232597e2bee2e
https://github.com/aspnet/EntityFrameworkCore
diff --git a/eng/Versions.props b/eng/Versions.props
index dc5f67b0d7..a06fb4b916 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -161,10 +161,10 @@
3.0.0
3.0.0
- 3.0.0-rc2.19460.12
- 3.0.0-rc2.19460.12
- 3.0.0-rc2.19460.12
- 3.0.0-rc2.19460.12
+ 3.0.0
+ 3.0.0
+ 3.0.0
+ 3.0.0
+ true
+ release
+
true
false
rc$(PreReleasePreviewNumber)
diff --git a/src/Framework/test/Microsoft.AspNetCore.App.UnitTests.csproj b/src/Framework/test/Microsoft.AspNetCore.App.UnitTests.csproj
index 8cde3262d9..bdbb0d2b32 100644
--- a/src/Framework/test/Microsoft.AspNetCore.App.UnitTests.csproj
+++ b/src/Framework/test/Microsoft.AspNetCore.App.UnitTests.csproj
@@ -15,10 +15,6 @@
<_Parameter1>SharedFxVersion
<_Parameter2>$(SharedFxVersion)
-
- <_Parameter1>TargetingPackVersion
- <_Parameter2>$(TargetingPackVersion)
-
<_Parameter1>TargetRuntimeIdentifier
<_Parameter2>$(TargetRuntimeIdentifier)
@@ -57,11 +53,35 @@
+
+
+
+
+
+
+
+
+
+
<_Parameter1>RepositoryCommit
<_Parameter2>$(SourceRevisionId)
+
+
+ <_Parameter1>RuntimePackageVersion
+ <_Parameter2>@(_RuntimePackageVersionInfo->'%(PackageVersion)')
+
+
+
+ <_Parameter1>TargetingPackVersion
+ <_Parameter2>@(_TargetingPackVersionInfo->'%(PackageVersion)')
+
diff --git a/src/Framework/test/SharedFxTests.cs b/src/Framework/test/SharedFxTests.cs
index 7dcc3920bd..2fc09b96b0 100644
--- a/src/Framework/test/SharedFxTests.cs
+++ b/src/Framework/test/SharedFxTests.cs
@@ -23,7 +23,7 @@ namespace Microsoft.AspNetCore
_output = output;
_expectedTfm = "netcoreapp" + TestData.GetSharedFxVersion().Substring(0, 3);
_expectedRid = TestData.GetSharedFxRuntimeIdentifier();
- _sharedFxRoot = Path.Combine(TestData.GetTestDataValue("SharedFrameworkLayoutRoot"), "shared", "Microsoft.AspNetCore.App", TestData.GetSharedFxVersion());
+ _sharedFxRoot = Path.Combine(TestData.GetTestDataValue("SharedFrameworkLayoutRoot"), "shared", "Microsoft.AspNetCore.App", TestData.GetTestDataValue("RuntimePackageVersion"));
}
[Fact]
@@ -77,7 +77,7 @@ namespace Microsoft.AspNetCore
var target = $".NETCoreApp,Version=v{TestData.GetSharedFxVersion().Substring(0, 3)}/{_expectedRid}";
var ridPackageId = $"Microsoft.AspNetCore.App.Runtime.{_expectedRid}";
- var libraryId = $"{ridPackageId}/{TestData.GetSharedFxVersion()}";
+ var libraryId = $"{ridPackageId}/{TestData.GetTestDataValue("RuntimePackageVersion")}";
AssertEx.FileExists(depsFilePath);
@@ -136,7 +136,7 @@ namespace Microsoft.AspNetCore
var lines = File.ReadAllLines(versionFile);
Assert.Equal(2, lines.Length);
Assert.Equal(TestData.GetRepositoryCommit(), lines[0]);
- Assert.Equal(TestData.GetSharedFxVersion(), lines[1]);
+ Assert.Equal(TestData.GetTestDataValue("RuntimePackageVersion"), lines[1]);
}
}
}
diff --git a/src/Installers/Debian/Directory.Build.props b/src/Installers/Debian/Directory.Build.props
index 9d46b71673..f3d7df1c9e 100644
--- a/src/Installers/Debian/Directory.Build.props
+++ b/src/Installers/Debian/Directory.Build.props
@@ -12,5 +12,9 @@
amd64
$(MSBuildThisFileDirectory)tools/build.sh
+
+
+ true
+ true
diff --git a/src/Installers/Rpm/Directory.Build.props b/src/Installers/Rpm/Directory.Build.props
index d27e528217..09110a30fb 100644
--- a/src/Installers/Rpm/Directory.Build.props
+++ b/src/Installers/Rpm/Directory.Build.props
@@ -4,10 +4,14 @@
-
+
$(IntermediateOutputPath)$(TargetRuntimeIdentifier)\
$(InstallersOutputPath)
+
+
+ true
+ true
diff --git a/src/Installers/Windows/SharedFramework/SharedFramework.wixproj b/src/Installers/Windows/SharedFramework/SharedFramework.wixproj
index ed2fa9e235..4752953ec2 100644
--- a/src/Installers/Windows/SharedFramework/SharedFramework.wixproj
+++ b/src/Installers/Windows/SharedFramework/SharedFramework.wixproj
@@ -85,15 +85,21 @@
$(InstallersOutputPath)$(PackageFileName)
$(InstallersOutputPath)$(Cabinet)
+
+
+ <_GeneratedPackageVersion>$(PackageVersion)
+ <_GeneratedPackageVersion
+ Condition="! $(PackageVersion.Contains('$(_PreReleaseLabel)'))">$(PackageVersion)-$(_PreReleaseLabel)$(_BuildNumberLabels)
-
diff --git a/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec b/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec
index 62d039eede..b5b8c43d9e 100644
--- a/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec
+++ b/src/Installers/Windows/SharedFramework/SharedFrameworkPackage.nuspec
@@ -1,9 +1,9 @@
- VS.Redist.Common.AspNetCore.SharedFramework.$ARCH$.$MAJOR$.$MINOR$
+ VS.Redist.Common.AspNetCore.SharedFramework.$ARCH$.$MAJOR$.$MINOR$
1.0.0
- VS.Redist.Common.AspNetCore.SharedFramework.$ARCH$.$MAJOR$.$MINOR$
+ VS.Redist.Common.AspNetCore.SharedFramework.$ARCH$.$MAJOR$.$MINOR$
Microsoft
Microsoft
https://www.microsoft.com/net/dotnet_library_license.htm
diff --git a/src/Installers/Windows/TargetingPack/TargetingPack.wixproj b/src/Installers/Windows/TargetingPack/TargetingPack.wixproj
index 1780b67ecf..d8b2b051af 100644
--- a/src/Installers/Windows/TargetingPack/TargetingPack.wixproj
+++ b/src/Installers/Windows/TargetingPack/TargetingPack.wixproj
@@ -80,15 +80,21 @@
$(InstallersOutputPath)$(PackageFileName)
+
+
+ <_GeneratedPackageVersion>$(PackageVersion)
+ <_GeneratedPackageVersion
+ Condition="! $(PackageVersion.Contains('$(_PreReleaseLabel)'))">$(PackageVersion)-$(_PreReleaseLabel)$(_BuildNumberLabels)
-
diff --git a/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec b/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec
index 51f4a304e4..d5ef9a2069 100644
--- a/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec
+++ b/src/Installers/Windows/TargetingPack/TargetingPackPackage.nuspec
@@ -3,7 +3,7 @@
VS.Redist.Common.AspNetCore.TargetingPack.$ARCH$.$MAJOR$.$MINOR$
1.0.0
- VS.Redist.Common.AspNetCore.TargetingPack.$ARCH$.$MAJOR$.$MINOR$
+ VS.Redist.Common.AspNetCore.TargetingPack.$ARCH$.$MAJOR$.$MINOR$
Microsoft
Microsoft
https://www.microsoft.com/net/dotnet_library_license.htm
@@ -15,4 +15,4 @@
-
\ No newline at end of file
+
diff --git a/src/ProjectTemplates/test/Infrastructure/GenerateTestProps.targets b/src/ProjectTemplates/test/Infrastructure/GenerateTestProps.targets
index df2b4e5e1b..4ce37d3f61 100644
--- a/src/ProjectTemplates/test/Infrastructure/GenerateTestProps.targets
+++ b/src/ProjectTemplates/test/Infrastructure/GenerateTestProps.targets
@@ -1,9 +1,22 @@
-
+
+
+
+
+
+
+
+
+
+
+
RestoreAdditionalProjectSources=$([MSBuild]::Escape("$(RestoreAdditionalProjectSources);$(ArtifactsShippingPackagesDir);$(ArtifactsNonShippingPackagesDir)"));
@@ -12,7 +25,8 @@
MicrosoftNETCoreAppRefPackageVersion=$(MicrosoftNETCoreAppRefPackageVersion);
MicrosoftNETCorePlatformsPackageVersion=$(MicrosoftNETCorePlatformsPackageVersion);
MicrosoftNETSdkRazorPackageVersion=$(MicrosoftNETSdkRazorPackageVersion);
- MicrosoftAspNetCoreAppPackageVersion=$(SharedFxVersion);
+ MicrosoftAspNetCoreAppRefPackageVersion=@(_TargetingPackVersionInfo->'%(PackageVersion)');
+ MicrosoftAspNetCoreAppRuntimePackageVersion=@(_RuntimePackageVersionInfo->'%(PackageVersion)');
SupportedRuntimeIdentifiers=$(SupportedRuntimeIdentifiers);
diff --git a/src/ProjectTemplates/test/Infrastructure/TemplateTests.props.in b/src/ProjectTemplates/test/Infrastructure/TemplateTests.props.in
index b10d74b52b..25fbc524a4 100644
--- a/src/ProjectTemplates/test/Infrastructure/TemplateTests.props.in
+++ b/src/ProjectTemplates/test/Infrastructure/TemplateTests.props.in
@@ -18,9 +18,9 @@
diff --git a/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj b/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj
index e1f4b6d670..240809107d 100644
--- a/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj
+++ b/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj
@@ -24,8 +24,6 @@
-
-
@@ -39,7 +37,25 @@
+
+
+
+
+
+
+
+
+
+
+
+