From 241f103b13853afb60fc81e1584927dc4e1aac01 Mon Sep 17 00:00:00 2001 From: Nick DiChiaro Date: Fri, 6 Oct 2023 22:03:01 -0400 Subject: [PATCH] remove standard and net5; update mongo driver version 2.21.0 --- .vscode/launch.json | 52 +++++++++---------- .../Tools.Net.Cli.Driver.csproj | 2 +- src/Tools.Net.Mongo.Core/LICENSE | 2 +- .../Tools.Net.Mongo.Core.csproj | 10 ++-- .../Templates/MigrationTemplate.cs | 1 - .../Templates/MigrationTemplate.tt | 1 - .../Tools.Net.Mongo.Migrate.csproj | 2 +- src/Tools.Net.Mongo/LICENSE | 2 +- .../Properties/launchSettings.json | 4 +- src/Tools.Net.Mongo/Tools.Net.Mongo.csproj | 8 +-- 10 files changed, 41 insertions(+), 43 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index bb02737..8efd2fe 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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}" - } - ] -} \ No newline at end of file + // 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}" + } + ] +} diff --git a/src/Tools.Net.Cli.Driver/Tools.Net.Cli.Driver.csproj b/src/Tools.Net.Cli.Driver/Tools.Net.Cli.Driver.csproj index d4c395e..ebc60d3 100644 --- a/src/Tools.Net.Cli.Driver/Tools.Net.Cli.Driver.csproj +++ b/src/Tools.Net.Cli.Driver/Tools.Net.Cli.Driver.csproj @@ -1,7 +1,7 @@ - netstandard2.1 + net6.0;net7.0 diff --git a/src/Tools.Net.Mongo.Core/LICENSE b/src/Tools.Net.Mongo.Core/LICENSE index e7010d4..70d256a 100644 --- a/src/Tools.Net.Mongo.Core/LICENSE +++ b/src/Tools.Net.Mongo.Core/LICENSE @@ -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 diff --git a/src/Tools.Net.Mongo.Core/Tools.Net.Mongo.Core.csproj b/src/Tools.Net.Mongo.Core/Tools.Net.Mongo.Core.csproj index ba2c104..0500b76 100644 --- a/src/Tools.Net.Mongo.Core/Tools.Net.Mongo.Core.csproj +++ b/src/Tools.Net.Mongo.Core/Tools.Net.Mongo.Core.csproj @@ -1,19 +1,19 @@  - netstandard2.1;net5.0;net6.0;net7.0 - 3.2.0 + net6.0;net7.0 + 3.3.0 ./nupkg A core library for managing MongoDB databases from a .NET application. .NET Mongo Core Library Tools.Net.Mongo.Core Nick DiChiaro - 2019 + 2023 LICENSE https://github.com/ndichiaro/dotnet-mongo https://github.com/ndichiaro/dotnet-mongo - https://github.com/ndichiaro/dotnet-mongo/releases/tag/v3.2.0 + https://github.com/ndichiaro/dotnet-mongo/releases/tag/v3.3.0 README.md @@ -24,7 +24,7 @@ - + diff --git a/src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.cs b/src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.cs index bc8548c..2218ce9 100644 --- a/src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.cs +++ b/src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.cs @@ -27,7 +27,6 @@ public virtual string TransformText() { // //------------------------------------------------------------------------------ -using Tools.Net.Mongo.Core; using MongoDB.Driver; namespace Migrations diff --git a/src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.tt b/src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.tt index 4245b0f..b41afce 100644 --- a/src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.tt +++ b/src/Tools.Net.Mongo.Migrate/Templates/MigrationTemplate.tt @@ -9,7 +9,6 @@ // //------------------------------------------------------------------------------ -using Tools.Net.Mongo.Core; using MongoDB.Driver; namespace Migrations diff --git a/src/Tools.Net.Mongo.Migrate/Tools.Net.Mongo.Migrate.csproj b/src/Tools.Net.Mongo.Migrate/Tools.Net.Mongo.Migrate.csproj index 6f337bd..cc5db19 100644 --- a/src/Tools.Net.Mongo.Migrate/Tools.Net.Mongo.Migrate.csproj +++ b/src/Tools.Net.Mongo.Migrate/Tools.Net.Mongo.Migrate.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1;net5.0;net6.0;net7.0 + net6.0;net7.0 diff --git a/src/Tools.Net.Mongo/LICENSE b/src/Tools.Net.Mongo/LICENSE index e7010d4..70d256a 100644 --- a/src/Tools.Net.Mongo/LICENSE +++ b/src/Tools.Net.Mongo/LICENSE @@ -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 diff --git a/src/Tools.Net.Mongo/Properties/launchSettings.json b/src/Tools.Net.Mongo/Properties/launchSettings.json index ce17968..9dd8f6d 100644 --- a/src/Tools.Net.Mongo/Properties/launchSettings.json +++ b/src/Tools.Net.Mongo/Properties/launchSettings.json @@ -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" } } -} \ No newline at end of file +} diff --git a/src/Tools.Net.Mongo/Tools.Net.Mongo.csproj b/src/Tools.Net.Mongo/Tools.Net.Mongo.csproj index de377f9..b04877f 100644 --- a/src/Tools.Net.Mongo/Tools.Net.Mongo.csproj +++ b/src/Tools.Net.Mongo/Tools.Net.Mongo.csproj @@ -2,8 +2,8 @@ Exe - netcoreapp3.1;net5.0;net6.0;net7.0 - 1.5.0 + net6.0;net7.0 + 1.6.0 true dotnet-mongo ./nupkg @@ -12,11 +12,11 @@ .NET Mongo Tool Tools.Net.Mongo Nick DiChiaro - 2019 + 2023 LICENSE https://github.com/ndichiaro/dotnet-mongo https://github.com/ndichiaro/dotnet-mongo - https://github.com/ndichiaro/dotnet-mongo/releases/tag/v1.5.0 + https://github.com/ndichiaro/dotnet-mongo/releases/tag/v1.6.0 README.md