Skip to content

Commit f6bbe23

Browse files
committed
Report RuntimeFramework in Example web project.
1 parent 3f76ffa commit f6bbe23

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/NHibernate.Example.Web/NHibernate.Example.Web.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.0" />
1515
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" Version="2.0.0" PrivateAssets="All" />
1616
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" />
17+
<PackageReference Include="Microsoft.Extensions.PlatformAbstractions" Version="1.1.0" />
1718
<PackageReference Include="Serilog.AspNetCore" Version="2.0.0" />
1819
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.0" />
1920
</ItemGroup>

src/NHibernate.Example.Web/Pages/_Layout.cshtml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
<body>
3333
@RenderBody()
3434

35-
@RenderSection("Scripts", required: false)
35+
<p>
36+
@Microsoft.Extensions.PlatformAbstractions.PlatformServices.Default.Application.RuntimeFramework
37+
</p>
38+
39+
@RenderSection("Scripts", required: false)
3640
</body>
3741
</html>

0 commit comments

Comments
 (0)