This repository was archived by the owner on Apr 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +11
-7
lines changed Expand file tree Collapse file tree 6 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1616 <PackageReference Include =" Internal.AspNetCore.Sdk" Version =" $(InternalAspNetCoreSdkVersion)" PrivateAssets =" All" />
1717 </ItemGroup >
1818
19- <ItemGroup Condition =" '$(TargetFrameworkIdentifier)'=='.NETFramework' AND '$(OutputType)'=='library' " >
19+ <ItemGroup Condition =" '$(TargetFrameworkIdentifier)'=='.NETFramework'" >
2020 <PackageReference Include =" NETStandard.Library" Version =" $(BundledNETStandardPackageVersion)" />
21+ <PackageReference Include =" NETStandard.Library.NETFramework" Version =" $(NETStandardLibraryNETFrameworkVersion)" />
2122 </ItemGroup >
2223</Project >
Original file line number Diff line number Diff line change 66 <InternalAspNetCoreSdkVersion >2.1.0-*</InternalAspNetCoreSdkVersion >
77 <JsonNetVersion >10.0.1</JsonNetVersion >
88 <NETStandardImplicitPackageVersion >$(BundledNETStandardPackageVersion)</NETStandardImplicitPackageVersion >
9+ <NETStandardLibraryNETFrameworkVersion >2.0.0-*</NETStandardLibraryNETFrameworkVersion >
910 <RuntimeFrameworkVersion Condition =" '$(TargetFramework)'=='netstandard2.0'" >2.0.0-*</RuntimeFrameworkVersion >
1011 <ThreadingDataflowVersion >4.7.0</ThreadingDataflowVersion >
1112 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
3- <Import Project =" ..\..\..\build\dependencies .props" />
3+ <Import Project =" ..\..\..\build\common .props" />
44
55 <PropertyGroup >
6- <TargetFramework >netcoreapp2.0</ TargetFramework >
6+ <TargetFrameworks >netcoreapp2.0;net461</ TargetFrameworks >
77 <IsPackable >false</IsPackable >
88 <OutputType >exe</OutputType >
99 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
3- <Import Project =" ..\..\..\build\dependencies .props" />
3+ <Import Project =" ..\..\..\build\common .props" />
44
55 <PropertyGroup >
6- <TargetFramework >netcoreapp2.0</ TargetFramework >
6+ <TargetFrameworks >netcoreapp2.0;net461</ TargetFrameworks >
77 <TypeScriptCompileBlocked >true</TypeScriptCompileBlocked >
88 <IsPackable >false</IsPackable >
99 </PropertyGroup >
Original file line number Diff line number Diff line change @@ -27,13 +27,15 @@ public override async Task ExecuteResultAsync(ActionContext context)
2727 {
2828 var nodeServices = context . HttpContext . RequestServices . GetRequiredService < INodeServices > ( ) ;
2929 var hostEnv = context . HttpContext . RequestServices . GetRequiredService < IHostingEnvironment > ( ) ;
30+ var applicationLifetime = context . HttpContext . RequestServices . GetRequiredService < IApplicationLifetime > ( ) ;
3031 var applicationBasePath = hostEnv . ContentRootPath ;
3132 var request = context . HttpContext . Request ;
3233 var response = context . HttpContext . Response ;
3334
3435 var prerenderedHtml = await Prerenderer . RenderToString (
3536 applicationBasePath ,
3637 nodeServices ,
38+ applicationLifetime . ApplicationStopping ,
3739 _moduleExport ,
3840 request . GetEncodedUrl ( ) ,
3941 request . Path + request . QueryString . Value ,
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22
3- <Import Project =" ..\..\..\build\dependencies .props" />
3+ <Import Project =" ..\..\..\build\common .props" />
44
55 <PropertyGroup >
6- <TargetFramework >netcoreapp2.0</ TargetFramework >
6+ <TargetFrameworks >netcoreapp2.0;net461</ TargetFrameworks >
77 <TypeScriptCompileBlocked >true</TypeScriptCompileBlocked >
88 <IsPackable >false</IsPackable >
99 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments