Skip to content

Commit 4342053

Browse files
committed
update .net and add a few other things
1 parent 5d0a859 commit 4342053

File tree

6 files changed

+48
-21
lines changed

6 files changed

+48
-21
lines changed
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
5-
</PropertyGroup>
6-
73
<ItemGroup>
8-
<PackageReference Include="FluentValidation" Version="10.3.3" />
9-
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="5.0.0" />
4+
<PackageReference Include="FluentValidation" />
5+
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" />
106
</ItemGroup>
117

128
</Project>

api/Bartendro.Database/Bartendro.Database.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
5-
</PropertyGroup>
6-
73
<ItemGroup>
8-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.9">
4+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
95
<PrivateAssets>all</PrivateAssets>
106
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
117
</PackageReference>
12-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.9" />
8+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" />
139
</ItemGroup>
1410

1511
<ItemGroup>

api/Bartendro.Web/Bartendro.Web.csproj

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

3-
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
5-
</PropertyGroup>
6-
73
<ItemGroup>
8-
<PackageReference Include="Blazor.Extensions.Storage" Version="1.1.0-preview3" />
9-
<PackageReference Include="Blazored.FluentValidation" Version="2.0.1" />
10-
<PackageReference Include="System.IO.Ports" Version="5.0.1" />
4+
<PackageReference Include="Blazor.Extensions.Storage" />
5+
<PackageReference Include="Blazored.FluentValidation" />
6+
<PackageReference Include="System.IO.Ports" />
117
</ItemGroup>
128

139
<ItemGroup>

api/Bartendro.sln

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.29409.12
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.13.35919.96 d17.13
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bartendro.Web", "Bartendro.Web\Bartendro.Web.csproj", "{10DB43C5-5AC4-4BE5-B698-E2E16F2429C6}"
77
EndProject
@@ -12,6 +12,8 @@ EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E9596F14-96EC-443C-9329-88976279752A}"
1313
ProjectSection(SolutionItems) = preProject
1414
.editorconfig = .editorconfig
15+
Directory.Build.props = Directory.Build.props
16+
Directory.Packages.props = Directory.Packages.props
1517
EndProjectSection
1618
EndProject
1719
Global

api/Directory.Build.props

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<Project>
2+
3+
<PropertyGroup>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<LangVersion>latest</LangVersion>
6+
<Nullable>enable</Nullable>
7+
<InvariantGlobalization>false</InvariantGlobalization>
8+
<Deterministic>true</Deterministic>
9+
<UserSecretsId>6AD9B72C-F8BD-430A-A0C2-C865EB82FF95</UserSecretsId>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
14+
<_Parameter1>Bartendro.UnitTests</_Parameter1>
15+
</AssemblyAttribute>
16+
17+
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
18+
<_Parameter1>Bartendro.IntegrationTests</_Parameter1>
19+
</AssemblyAttribute>
20+
</ItemGroup>
21+
22+
</Project>

api/Directory.Packages.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
5+
</PropertyGroup>
6+
<ItemGroup>
7+
<PackageVersion Include="Blazor.Extensions.Storage" Version="1.1.0-preview3" />
8+
<PackageVersion Include="Blazored.FluentValidation" Version="2.2.0" />
9+
<PackageVersion Include="FluentValidation" Version="11.11.0" />
10+
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.3" />
11+
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.3" />
12+
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.3" />
13+
<PackageVersion Include="System.IO.Ports" Version="9.0.3" />
14+
</ItemGroup>
15+
</Project>

0 commit comments

Comments
 (0)