Skip to content

Commit 6d66f05

Browse files
Updated csproj to be closer to blazorlib template csproj. (Microsoft.NET.Sdk.Razor SDK, etc)
1 parent 05d3b97 commit 6d66f05

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/Blazor.Extensions.Logging/Blazor.Extensions.Logging.csproj

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
44
<Title>Blazor Extensions Logging</Title>
55
<Description>Microsoft Extension Logging implementation for ASP.NET Core Blazor.</Description>
66
</PropertyGroup>
77

88
<PropertyGroup>
9-
<OutputType>Library</OutputType>
9+
<TargetFramework>netstandard2.0</TargetFramework>
10+
<IsPackable>true</IsPackable>
11+
<RestoreAdditionalProjectSources>
12+
https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
13+
https://dotnet.myget.org/F/blazor-dev/api/v3/index.json;
14+
</RestoreAdditionalProjectSources>
15+
<LangVersion>7.3</LangVersion>
16+
<RazorLangVersion>3.0</RazorLangVersion>
17+
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
1018
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeP2POutput</TargetsForTfmSpecificBuildOutput>
1119
</PropertyGroup>
1220

1321
<ItemGroup>
14-
<PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.0.0-preview4-19216-03" />
22+
<PackageReference Include="Microsoft.AspNetCore.Components.Browser" Version="3.0.0-preview4-19216-03" />
1523
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.0.0-preview4.19216.2" />
1624
</ItemGroup>
1725

0 commit comments

Comments
 (0)