Skip to content

Commit

Permalink
Fix ServerSide .csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
Luthetus committed Aug 31, 2023
1 parent 753389f commit eb20521
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@

public static partial class BlazorServerEmptyFacts
{
public static string GetCsprojContents(string projectName) => @$"<Project Sdk=""Microsoft.NET.Sdk.BlazorWebAssembly"">
public static string GetCsprojContents(string projectName) => @$"<Project Sdk=""Microsoft.NET.Sdk.Web"">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include=""Microsoft.AspNetCore.Components.WebAssembly"" Version=""6.0.21"" />
<PackageReference Include=""Microsoft.AspNetCore.Components.WebAssembly.DevServer"" Version=""6.0.21"" PrivateAssets=""all"" />
</ItemGroup>
</Project>
";
}

0 comments on commit eb20521

Please sign in to comment.