File tree Expand file tree Collapse file tree 5 files changed +13
-4
lines changed
src/Microsoft.AspNetCore.AzureAppServices.SiteExtension
test/Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests Expand file tree Collapse file tree 5 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 21
21
<PackageBrandingVersion >$(VersionPrefix)</PackageBrandingVersion >
22
22
<PackageBrandingVersion Condition =" '$(VersionSuffix)' != '' " >$(PackageBrandingVersion) $(BrandingVersionSuffix.Trim())</PackageBrandingVersion >
23
23
24
- <SiteExtensionSuffix >$(VersionPrefix)</SiteExtensionSuffix >
24
+ <SiteExtensionPackageVersion >$(VersionPrefix)</SiteExtensionPackageVersion >
25
25
<SiteExtensionPackageVersion Condition =" '$(VersionSuffix)' != '' " >$(VersionPrefix)-$(VersionSuffix.Replace('.','-'))</SiteExtensionPackageVersion >
26
26
27
27
<PackageVersion Condition =" '$(PackageVersion)' == '' " >$(Version)</PackageVersion >
Original file line number Diff line number Diff line change 140
140
$(RepoRoot)src\Servers\**\*.csproj;
141
141
$(RepoRoot)src\Security\**\*.*proj;
142
142
$(RepoRoot)src\SiteExtensions\Microsoft.Web.Xdt.Extensions\**\*.csproj;
143
+ $(RepoRoot)src\SiteExtensions\LoggingAggregate\test\**\*.csproj;
143
144
$(RepoRoot)src\Shared\**\*.*proj;
144
145
$(RepoRoot)src\Tools\**\*.*proj;
145
146
$(RepoRoot)src\Middleware\**\*.csproj;
Original file line number Diff line number Diff line change 26
26
<ItemGroup >
27
27
<Reference Include =" Microsoft.AspNetCore.AzureAppServices.SiteExtension.2.1" Version =" $(MicrosoftAspNetCoreAzureAppServicesSiteExtension21PackageVersion)" PrivateAssets =" All" />
28
28
<Reference Include =" Microsoft.AspNetCore.AzureAppServices.SiteExtension.2.2" Version =" $(MicrosoftAspNetCoreAzureAppServicesSiteExtension22PackageVersion)" PrivateAssets =" All" />
29
+ <!-- When updating this add the previous SiteExtension(s) to the list above -->
30
+ <PackageReference Include =" Microsoft.AspNetCore.AzureAppServices.SiteExtension.3.1.x64" Version =" $(PackageVersion)-$(_PreReleaseLabel)" PrivateAssets =" All" />
31
+ <PackageReference Include =" Microsoft.AspNetCore.AzureAppServices.SiteExtension.3.1.x86" Version =" $(PackageVersion)-$(_PreReleaseLabel)" PrivateAssets =" All" />
29
32
</ItemGroup >
30
33
31
34
<ItemGroup >
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public void Transform_EmptyConfig_Added(string configFile)
31
31
var depsElement = envNode . FirstChild ;
32
32
Assert . Equal ( "add" , depsElement . Name ) ;
33
33
Assert . Equal ( "DOTNET_ADDITIONAL_DEPS" , depsElement . Attributes [ "name" ] . Value ) ;
34
- Assert . Equal ( $@ "{ XdtExtensionPath } \additionalDeps\Microsoft.AspNetCore.AzureAppServices.HostingStartup\;" +
34
+ Assert . Equal ( $@ "{ XdtExtensionPath } \additionalDeps\; { XdtExtensionPath } \additionalDeps\ Microsoft.AspNetCore.AzureAppServices.HostingStartup\;" +
35
35
@"%ProgramFiles%\dotnet\additionalDeps\Microsoft.AspNetCore.AzureAppServices.HostingStartup\" ,
36
36
depsElement . Attributes [ "value" ] . Value ) ;
37
37
@@ -62,7 +62,7 @@ public void Transform_ExistingValue_AppendsValue()
62
62
Assert . Equal ( "add" , depsElement . Name ) ;
63
63
Assert . Equal ( "DOTNET_ADDITIONAL_DEPS" , depsElement . Attributes [ "name" ] . Value ) ;
64
64
Assert . Equal ( @"ExistingValue1;" +
65
- $@ "{ XdtExtensionPath } \additionalDeps\Microsoft.AspNetCore.AzureAppServices.HostingStartup\;" +
65
+ $@ "{ XdtExtensionPath } \additionalDeps\; { XdtExtensionPath } \additionalDeps\ Microsoft.AspNetCore.AzureAppServices.HostingStartup\;" +
66
66
@"%ProgramFiles%\dotnet\additionalDeps\Microsoft.AspNetCore.AzureAppServices.HostingStartup\" ,
67
67
depsElement . Attributes [ "value" ] . Value ) ;
68
68
Original file line number Diff line number Diff line change 42
42
43
43
<ItemGroup >
44
44
<_TemplateFiles Include =" $(MSBuildThisFileDirectory)\HostingStartup\*.cs*" />
45
+ <!--
46
+ Always use Major.Minor.0 so that if we have to produce a new SiteExtension during a patch build it will still work for non-patch runtimes.
47
+ i.e. 3.0.0 dotnet will search for 3.0.0 and below and wouldn't find a 3.0.1 folder path
48
+ Side effect, also removes the -ci or -servicing label.
49
+ -->
45
50
<_HostingStartupPackageReference
46
51
Include =" %(HostingStartupPackageReference.Identity)"
47
52
Source =" %(HostingStartupPackageReference.Source)"
50
55
Project =" $(_DepsOutputDirectory)%(HostingStartupPackageReference.Identity)\HostingStartup.csproj"
51
56
DepsFile =" $(_DepsOutputDirectory)%(HostingStartupPackageReference.Identity)\p\HostingStartup.deps.json"
52
57
TrimmedDepsFile =" $(_DepsOutputDirectory)%(HostingStartupPackageReference.Identity)\%(HostingStartupPackageReference.Identity).deps.json"
53
- PackagePath =" $(_BasePackagePath)\shared\Microsoft.AspNetCore.App\$(MicrosoftAspNetCoreAppPackageVersion) \"
58
+ PackagePath =" $(_BasePackagePath)\shared\Microsoft.AspNetCore.App\$(AspNetCoreMajorMinorVersion).0 \"
54
59
/>
55
60
</ItemGroup >
56
61
<MakeDir Directories =" $(_DepsOutputDirectory)" />
You can’t perform that action at this time.
0 commit comments