Skip to content

Commit

Permalink
Merge pull request #38 from ndichiaro/update-core-versions
Browse files Browse the repository at this point in the history
Target Framework + Mongo Drive Updates
  • Loading branch information
ndichiaro authored Oct 7, 2023
2 parents ce58c08 + 241f103 commit d254d23
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 43 deletions.
52 changes: 26 additions & 26 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/src/Tools.Net.Mongo/bin/Debug/netcoreapp2.2/Tools.Net.Mongo.dll",
"args": [],
"cwd": "${workspaceFolder}/src/Tools.Net.Mongo",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/src/Tools.Net.Mongo/bin/Debug/net7.0/Tools.Net.Mongo.dll",
"args": [],
"cwd": "${workspaceFolder}/src/Tools.Net.Mongo",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
2 changes: 1 addition & 1 deletion src/Tools.Net.Cli.Driver/Tools.Net.Cli.Driver.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Tools.Net.Mongo.Core/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Nicholas A DiChiaro
Copyright (c) 2023 Nicholas A DiChiaro

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions src/Tools.Net.Mongo.Core/Tools.Net.Mongo.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;net5.0;net6.0;net7.0</TargetFrameworks>
<Version>3.2.0</Version>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Version>3.3.0</Version>
<PackageOutputPath>./nupkg</PackageOutputPath>

<Description>A core library for managing MongoDB databases from a .NET application.</Description>
<Title>.NET Mongo Core Library</Title>
<AssemblyName>Tools.Net.Mongo.Core</AssemblyName>
<Authors>Nick DiChiaro</Authors>
<Copyright>2019</Copyright>
<Copyright>2023</Copyright>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageProjectUrl>https://github.com/ndichiaro/dotnet-mongo</PackageProjectUrl>
<RepositoryUrl>https://github.com/ndichiaro/dotnet-mongo</RepositoryUrl>
<PackageReleaseNotes>https://github.com/ndichiaro/dotnet-mongo/releases/tag/v3.2.0</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/ndichiaro/dotnet-mongo/releases/tag/v3.3.0</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>

</PropertyGroup>
Expand All @@ -24,7 +24,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="2.19.1" />
<PackageReference Include="MongoDB.Driver" Version="2.21.0" />
</ItemGroup>

<PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public virtual string TransformText() {
// </auto-generated>
//------------------------------------------------------------------------------
using Tools.Net.Mongo.Core;
using MongoDB.Driver;
namespace Migrations
Expand Down
1 change: 0 additions & 1 deletion src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.tt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
// </auto-generated>
//------------------------------------------------------------------------------

using Tools.Net.Mongo.Core;
using MongoDB.Driver;

namespace Migrations
Expand Down
2 changes: 1 addition & 1 deletion src/Tools.Net.Mongo.Migrate/Tools.Net.Mongo.Migrate.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Tools.Net.Mongo/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Nicholas A DiChiaro
Copyright (c) 2023 Nicholas A DiChiaro

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions src/Tools.Net.Mongo/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Tools.Net.Mongo": {
"commandName": "Project",
"commandLineArgs": "migrate down -i mongodb://localhost:27017/twdDb",
"workingDirectory": "C:\\Repositories\\ndichiaro\\dotnet-mongo\\src\\Tools.Net.Mongo.Migrate"
"workingDirectory": "../Tools.Net.Mongo.Migrate"
}
}
}
}
8 changes: 4 additions & 4 deletions src/Tools.Net.Mongo/Tools.Net.Mongo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<Version>1.5.0</Version>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Version>1.6.0</Version>
<PackAsTool>true</PackAsTool>
<ToolCommandName>dotnet-mongo</ToolCommandName>
<PackageOutputPath>./nupkg</PackageOutputPath>
Expand All @@ -12,11 +12,11 @@
<Title>.NET Mongo Tool</Title>
<AssemblyName>Tools.Net.Mongo</AssemblyName>
<Authors>Nick DiChiaro</Authors>
<Copyright>2019</Copyright>
<Copyright>2023</Copyright>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageProjectUrl>https://github.com/ndichiaro/dotnet-mongo</PackageProjectUrl>
<RepositoryUrl>https://github.com/ndichiaro/dotnet-mongo</RepositoryUrl>
<PackageReleaseNotes>https://github.com/ndichiaro/dotnet-mongo/releases/tag/v1.5.0</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/ndichiaro/dotnet-mongo/releases/tag/v1.6.0</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>

</PropertyGroup>
Expand Down

0 comments on commit d254d23

Please sign in to comment.