aboutsummaryrefslogtreecommitdiff
path: root/Main/Main.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'Main/Main.csproj')
-rw-r--r--Main/Main.csproj23
1 files changed, 12 insertions, 11 deletions
diff --git a/Main/Main.csproj b/Main/Main.csproj
index d132460..fb94fca 100644
--- a/Main/Main.csproj
+++ b/Main/Main.csproj
@@ -1,4 +1,15 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk.Web">
+
+ <PropertyGroup>
+ <TargetFramework>netcoreapp2.1</TargetFramework>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Microsoft.AspNetCore.App" />
+ <PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
+ <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.4" />
+ <PackageReference Include="MySql.Data.EntityFrameworkCore" Version="8.0.11" />
+ </ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Classes\Classes.csproj" />
@@ -6,14 +17,4 @@
<ProjectReference Include="..\Database\Database.csproj" />
</ItemGroup>
- <ItemGroup>
- <PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.1" />
- </ItemGroup>
-
- <PropertyGroup>
- <OutputType>Exe</OutputType>
- <TargetFramework>netcoreapp2.1</TargetFramework>
- <LangVersion>Latest</LangVersion>
- </PropertyGroup>
-
</Project>