Skip to content

Commit

Permalink
Updated to .NET 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanbozkus committed Nov 28, 2020
1 parent 1cbe657 commit d3c3e8f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 209 deletions.
6 changes: 2 additions & 4 deletions sample/FormHelper.Samples/FormHelper.Samples.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<Content Remove="bundleconfig.json" />
<Content Remove="wwwroot\js\formhelper.js" />
</ItemGroup>

<ItemGroup>
<None Include="bundleconfig.json" />
<None Include="wwwroot\js\formhelper.js" />
</ItemGroup>

<ItemGroup>
Expand All @@ -20,7 +18,7 @@


<ItemGroup>
<PackageReference Include="FluentValidation.AspNetCore" Version="9.2.0" />
<PackageReference Include="FluentValidation.AspNetCore" Version="9.3.0" />
</ItemGroup>

</Project>
202 changes: 0 additions & 202 deletions sample/FormHelper.Samples/wwwroot/js/formhelper.js

This file was deleted.

1 change: 0 additions & 1 deletion sample/FormHelper.Samples/wwwroot/js/formhelper.min.js

This file was deleted.

11 changes: 9 additions & 2 deletions src/FormHelper/FormHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<PackageId>FormHelper</PackageId>
<Version>3.2.3</Version>
<Version>3.3.0</Version>
<Authors>Sinan BOZKUS</Authors>
<projectUrl>https://github.com/sinanbozkus/FormHelper</projectUrl>
<RepositoryUrl>https://github.com/sinanbozkus/FormHelper</RepositoryUrl>
Expand All @@ -15,7 +15,7 @@
</PropertyGroup>

<PropertyGroup>
<TargetFrameworks>netcoreapp30;netcoreapp31</TargetFrameworks>
<TargetFrameworks>net50;netcoreapp30;netcoreapp31</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -58,4 +58,11 @@
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net50'">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="5.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>

</Project>

0 comments on commit d3c3e8f

Please sign in to comment.