Skip to content

Commit

Permalink
Update package version in sample projects
Browse files Browse the repository at this point in the history
  • Loading branch information
kotlerman committed Oct 27, 2024
1 parent 17f7af7 commit 0fd774b
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion samples/ConsoleApp.Net48/ConsoleApp.Net48.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Kot.MongoDB.Migrations" Version="2.0.2" />
<PackageReference Include="Kot.MongoDB.Migrations" Version="3.0.0" />
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="3.1.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
Expand Down
5 changes: 4 additions & 1 deletion samples/ConsoleApp.Net48/Documents/User.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;

namespace ConsoleApp.Net48.Documents
{
internal class User
{
[BsonGuidRepresentation(GuidRepresentation.Standard)]
public Guid Id { get; set; }
public string Login { get; set; }
}
Expand Down
2 changes: 1 addition & 1 deletion samples/ConsoleApp.Net6/ConsoleApp.Net6.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Kot.MongoDB.Migrations.DI" Version="2.0.2" />
<PackageReference Include="Kot.MongoDB.Migrations.DI" Version="3.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.0" />
<PackageReference Include="Serilog" Version="2.12.0" />
Expand Down
6 changes: 5 additions & 1 deletion samples/ConsoleApp.Net6/Documents/User.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
namespace ConsoleApp.Net6.Documents;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace ConsoleApp.Net6.Documents;

internal class User
{
[BsonGuidRepresentation(GuidRepresentation.Standard)]
public Guid Id { get; set; }
public string Login { get; set; }
}
6 changes: 5 additions & 1 deletion samples/WebApiApp.Net6/Documents/User.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
namespace WebApiApp.Net6.Documents;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace WebApiApp.Net6.Documents;

internal class User
{
[BsonGuidRepresentation(GuidRepresentation.Standard)]
public Guid Id { get; set; }
public string Login { get; set; }
}
2 changes: 1 addition & 1 deletion samples/WebApiApp.Net6/WebApiApp.Net6.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Kot.MongoDB.Migrations.DI" Version="2.0.2" />
<PackageReference Include="Kot.MongoDB.Migrations.DI" Version="3.0.0" />
<PackageReference Include="Serilog" Version="2.12.0" />
<PackageReference Include="Serilog.AspNetCore" Version="6.1.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
Expand Down

0 comments on commit 0fd774b

Please sign in to comment.