Initialize project with basic structure and dependencies

This commit is contained in:
Qais Yousuf 2024-02-19 15:09:03 +01:00
parent cd2c1959aa
commit eac2a698bd
5 changed files with 81 additions and 1 deletions

22
Data/Data.csproj Normal file
View file

@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Model\Model.csproj" />
</ItemGroup>
</Project>

9
Model/Model.csproj Normal file
View file

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

18
Services/Services.csproj Normal file
View file

@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Data\Data.csproj" />
<ProjectReference Include="..\Model\Model.csproj" />
</ItemGroup>
</Project>

View file

@ -3,7 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.8.34601.278
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Web", "Web\Web.csproj", "{0A90A5D7-CBD6-4956-B8EC-4E368736113F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Web", "Web\Web.csproj", "{0A90A5D7-CBD6-4956-B8EC-4E368736113F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Model", "Model\Model.csproj", "{6EE5F607-221D-4DFF-B027-06D190BCD536}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Data", "Data\Data.csproj", "{D03B56FD-361D-49C5-B0D3-B48DDE90A217}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Services", "Services\Services.csproj", "{61EE2AF3-6434-4DE4-BD66-222DC6E9AC4B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -15,6 +21,18 @@ Global
{0A90A5D7-CBD6-4956-B8EC-4E368736113F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0A90A5D7-CBD6-4956-B8EC-4E368736113F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0A90A5D7-CBD6-4956-B8EC-4E368736113F}.Release|Any CPU.Build.0 = Release|Any CPU
{6EE5F607-221D-4DFF-B027-06D190BCD536}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6EE5F607-221D-4DFF-B027-06D190BCD536}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6EE5F607-221D-4DFF-B027-06D190BCD536}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6EE5F607-221D-4DFF-B027-06D190BCD536}.Release|Any CPU.Build.0 = Release|Any CPU
{D03B56FD-361D-49C5-B0D3-B48DDE90A217}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D03B56FD-361D-49C5-B0D3-B48DDE90A217}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D03B56FD-361D-49C5-B0D3-B48DDE90A217}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D03B56FD-361D-49C5-B0D3-B48DDE90A217}.Release|Any CPU.Build.0 = Release|Any CPU
{61EE2AF3-6434-4DE4-BD66-222DC6E9AC4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{61EE2AF3-6434-4DE4-BD66-222DC6E9AC4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{61EE2AF3-6434-4DE4-BD66-222DC6E9AC4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{61EE2AF3-6434-4DE4-BD66-222DC6E9AC4B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View file

@ -6,4 +6,17 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Data\Data.csproj" />
<ProjectReference Include="..\Model\Model.csproj" />
<ProjectReference Include="..\Services\Services.csproj" />
</ItemGroup>
</Project>