Skip to content

Commit

Permalink
Merge pull request #49 from Luthetus/dev
Browse files Browse the repository at this point in the history
Fix ServerSide .csproj
  • Loading branch information
Luthetus authored Aug 31, 2023
2 parents ed0c103 + eb20521 commit 85bbe83
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 85bbe83

Please sign in to comment.