File tree 2 files changed +3
-3
lines changed
extensions/Microsoft.AspNetCore.AzureAppServices.SiteExtension
test/Microsoft.AspNetCore.AzureAppServices.SiteExtension.Tests
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
<environmentVariables xdt : Transform =" InsertIfMissing" >
10
10
<add name =" DOTNET_ADDITIONAL_DEPS" value =" %XDT_EXTENSIONPATH%\additionalDeps\Microsoft.AspNetCore.AzureAppServices.HostingStartup\;%XDT_EXTENSIONPATH%\additionalDeps\Microsoft.AspNetCore.AzureKeyVault.HostingStartup\;%ProgramFiles%\dotnet\additionalDeps\Microsoft.AspNetCore.AzureAppServices.HostingStartup\" xdt : Locator =" Match(name)" xdt : Transform =" InsertOrAppendAttribute(Attribute='value')" />
11
11
<add name =" DOTNET_SHARED_STORE" value =" %XDT_EXTENSIONPATH%\store" xdt : Locator =" Match(name)" xdt : Transform =" InsertOrAppendAttribute(Attribute='value')" />
12
- <add name =" ASPNETCORE_HOSTINGSTARTUPASSEMBLIES" value =" Microsoft.AspNetCore.AzureAppServices.HostingStartup" xdt : Locator =" Match(name)" xdt : Transform =" InsertOrAppendAttribute(Attribute='value')" />
12
+ <add name =" ASPNETCORE_HOSTINGSTARTUPASSEMBLIES" value =" Microsoft.AspNetCore.AzureAppServices.HostingStartup;Microsoft.AspNetCore.AzureKeyVault.HostingStartup " xdt : Locator =" Match(name)" xdt : Transform =" InsertOrAppendAttribute(Attribute='value')" />
13
13
</environmentVariables >
14
14
</runtime >
15
15
</system .webServer>
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public void Transform_EmptyConfig_Added(string configFile)
44
44
var startupAssembliesElement = sharedStoreElement . NextSibling ;
45
45
Assert . Equal ( "add" , startupAssembliesElement . Name ) ;
46
46
Assert . Equal ( "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES" , startupAssembliesElement . Attributes [ "name" ] . Value ) ;
47
- Assert . Equal ( "Microsoft.AspNetCore.AzureAppServices.HostingStartup" , startupAssembliesElement . Attributes [ "value" ] . Value ) ;
47
+ Assert . Equal ( "Microsoft.AspNetCore.AzureAppServices.HostingStartup;Microsoft.AspNetCore.AzureKeyVault.HostingStartup " , startupAssembliesElement . Attributes [ "value" ] . Value ) ;
48
48
}
49
49
50
50
[ Fact ]
@@ -76,7 +76,7 @@ public void Transform_ExistingValue_AppendsValue()
76
76
var startupAssembliesElement = sharedStoreElement . NextSibling ;
77
77
Assert . Equal ( "add" , startupAssembliesElement . Name ) ;
78
78
Assert . Equal ( "ASPNETCORE_HOSTINGSTARTUPASSEMBLIES" , startupAssembliesElement . Attributes [ "name" ] . Value ) ;
79
- Assert . Equal ( "ExistingValue2;Microsoft.AspNetCore.AzureAppServices.HostingStartup" , startupAssembliesElement . Attributes [ "value" ] . Value ) ;
79
+ Assert . Equal ( "ExistingValue2;Microsoft.AspNetCore.AzureAppServices.HostingStartup;Microsoft.AspNetCore.AzureKeyVault.HostingStartup " , startupAssembliesElement . Attributes [ "value" ] . Value ) ;
80
80
}
81
81
82
82
private static XmlDocument LoadDocAndRunTransform ( string docName )
You can’t perform that action at this time.
0 commit comments