From 6c8e6df589284062a879d0e2bed91bf01563a12c Mon Sep 17 00:00:00 2001 From: Mathias Lorenzen Date: Thu, 7 Dec 2017 09:27:48 +0100 Subject: [PATCH 1/8] ported unQuery to .NET Standard 2.0. --- .gitignore | 3 +- src/unQuery.PerformanceTests/App.config | 4 +- .../Properties/AssemblyInfo.cs | 1 - src/unQuery.PerformanceTests/TestFixture.cs | 2 +- src/unQuery.PerformanceTests/packages.config | 3 +- .../unQuery.PerformanceTests.csproj | 19 ++- src/unQuery.Tests/App.config | 4 +- src/unQuery.Tests/Properties/AssemblyInfo.cs | 1 - src/unQuery.Tests/SqlTypes/SqlTypeTests.cs | 10 +- src/unQuery.Tests/TestFixture.cs | 4 +- src/unQuery.Tests/packages.config | 3 +- src/unQuery.Tests/unQuery.Tests.csproj | 16 +- src/unQuery/DynamicRow.cs | 2 +- src/unQuery/Properties/AssemblyInfo.cs | 14 +- src/unQuery/SqlTypes/SqlType.cs | 6 +- src/unQuery/SqlTypes/SqlTypeHandler.cs | 7 +- src/unQuery/nugetpack.bat | 2 +- src/unQuery/unQuery.csproj | 142 ++++++------------ src/unQuery/unQuery.nuspec | 40 ----- src/unQuery/unQueryDB.cs | 16 +- unQuery.sln | 19 ++- 21 files changed, 109 insertions(+), 209 deletions(-) delete mode 100644 src/unQuery/unQuery.nuspec diff --git a/.gitignore b/.gitignore index 4f0946d..ecbc6f9 100644 --- a/.gitignore +++ b/.gitignore @@ -62,4 +62,5 @@ packages/ *.dbmdl #Test files -*.testsettings \ No newline at end of file +*.testsettings +/.vs diff --git a/src/unQuery.PerformanceTests/App.config b/src/unQuery.PerformanceTests/App.config index 07a2439..df5ceb5 100644 --- a/src/unQuery.PerformanceTests/App.config +++ b/src/unQuery.PerformanceTests/App.config @@ -1,7 +1,7 @@ - + - \ No newline at end of file + diff --git a/src/unQuery.PerformanceTests/Properties/AssemblyInfo.cs b/src/unQuery.PerformanceTests/Properties/AssemblyInfo.cs index 1f2d19e..b34c20f 100644 --- a/src/unQuery.PerformanceTests/Properties/AssemblyInfo.cs +++ b/src/unQuery.PerformanceTests/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/unQuery.PerformanceTests/TestFixture.cs b/src/unQuery.PerformanceTests/TestFixture.cs index 23dda68..18b4e3e 100644 --- a/src/unQuery.PerformanceTests/TestFixture.cs +++ b/src/unQuery.PerformanceTests/TestFixture.cs @@ -18,7 +18,7 @@ public abstract class TestFixture private double testPercentile = 0.90d; private string connectionString = ConfigurationManager.ConnectionStrings["TestDB"].ConnectionString; - [TestFixtureSetUp] + [OneTimeSetUp] public void Init() { // Increase process priority since this is time sensitive code diff --git a/src/unQuery.PerformanceTests/packages.config b/src/unQuery.PerformanceTests/packages.config index 5a3253f..c56d766 100644 --- a/src/unQuery.PerformanceTests/packages.config +++ b/src/unQuery.PerformanceTests/packages.config @@ -1,4 +1,5 @@  - + + \ No newline at end of file diff --git a/src/unQuery.PerformanceTests/unQuery.PerformanceTests.csproj b/src/unQuery.PerformanceTests/unQuery.PerformanceTests.csproj index 5e17daf..591d8bf 100644 --- a/src/unQuery.PerformanceTests/unQuery.PerformanceTests.csproj +++ b/src/unQuery.PerformanceTests/unQuery.PerformanceTests.csproj @@ -1,7 +1,8 @@  - + + true Debug AnyCPU {8658B682-8FE7-44B8-ACD4-1D95F80DB083} @@ -9,10 +10,11 @@ Properties unQuery.PerformanceTests unQuery.PerformanceTests - v4.0 + v4.6.1 512 ..\..\ true + AnyCPU @@ -23,6 +25,7 @@ DEBUG;TRACE prompt 4 + false AnyCPU @@ -33,22 +36,24 @@ prompt 4 false + false - - False - ..\..\packages\NUnit.2.6.3\lib\nunit.framework.dll + + ..\..\packages\NUnit.3.9.0\lib\net45\nunit.framework.dll + + + ..\..\packages\System.Data.SqlClient.4.4.0\lib\net461\System.Data.SqlClient.dll + - - diff --git a/src/unQuery.Tests/App.config b/src/unQuery.Tests/App.config index d7b84ad..60b4c5e 100644 --- a/src/unQuery.Tests/App.config +++ b/src/unQuery.Tests/App.config @@ -1,7 +1,7 @@ - + - \ No newline at end of file + diff --git a/src/unQuery.Tests/Properties/AssemblyInfo.cs b/src/unQuery.Tests/Properties/AssemblyInfo.cs index e53ae71..e1a7bdf 100644 --- a/src/unQuery.Tests/Properties/AssemblyInfo.cs +++ b/src/unQuery.Tests/Properties/AssemblyInfo.cs @@ -1,5 +1,4 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/src/unQuery.Tests/SqlTypes/SqlTypeTests.cs b/src/unQuery.Tests/SqlTypes/SqlTypeTests.cs index aa9456c..4f7ca34 100644 --- a/src/unQuery.Tests/SqlTypes/SqlTypeTests.cs +++ b/src/unQuery.Tests/SqlTypes/SqlTypeTests.cs @@ -1,6 +1,4 @@ -using System.Data.SqlClient; -using Microsoft.SqlServer.Server; -using NUnit.Framework; +using NUnit.Framework; using System; using unQuery.SqlTypes; @@ -17,12 +15,6 @@ public class TestType : SqlType { return base.GetAppropriateSizeFromLength(length); } - - internal override SqlParameter GetParameter() { throw new NotImplementedException(); } - internal override object GetRawValue() { throw new NotImplementedException(); } - internal override void SetDataRecordValue(SqlDataRecord record, int ordinal) { throw new NotImplementedException(); } - internal override SqlParameter CreateParamFromValue(string name, object value) { throw new NotImplementedException(); } - internal override SqlMetaData CreateMetaData(string name) { throw new NotImplementedException(); } } [TestFixture] diff --git a/src/unQuery.Tests/TestFixture.cs b/src/unQuery.Tests/TestFixture.cs index 8cbbdf5..918cec1 100644 --- a/src/unQuery.Tests/TestFixture.cs +++ b/src/unQuery.Tests/TestFixture.cs @@ -8,7 +8,7 @@ public abstract class TestFixture { private TransactionScope ts; - [TestFixtureSetUp] + [OneTimeSetUp] public void SetUp() { // Non-transactional setup @@ -124,7 +124,7 @@ INSERT INTO "); } - [TestFixtureTearDown] + [OneTimeTearDown] public void TearDown() { ts.Dispose(); diff --git a/src/unQuery.Tests/packages.config b/src/unQuery.Tests/packages.config index d4e241a..c56d766 100644 --- a/src/unQuery.Tests/packages.config +++ b/src/unQuery.Tests/packages.config @@ -1,4 +1,5 @@  - + + \ No newline at end of file diff --git a/src/unQuery.Tests/unQuery.Tests.csproj b/src/unQuery.Tests/unQuery.Tests.csproj index 966c3a9..8aa1b1a 100644 --- a/src/unQuery.Tests/unQuery.Tests.csproj +++ b/src/unQuery.Tests/unQuery.Tests.csproj @@ -1,5 +1,5 @@  - + Debug @@ -9,10 +9,11 @@ Properties unQuery.Tests unQuery.Tests - v4.5 + v4.6.1 512 ..\..\ true + true @@ -33,17 +34,18 @@ false - - False - ..\..\..\GotPulse (GIT)\packages\NUnit.2.6.3\lib\nunit.framework.dll + + ..\..\packages\NUnit.3.9.0\lib\net45\nunit.framework.dll + + + ..\..\packages\System.Data.SqlClient.4.4.0\lib\net461\System.Data.SqlClient.dll + - - diff --git a/src/unQuery/DynamicRow.cs b/src/unQuery/DynamicRow.cs index 1a95ea3..d54b501 100644 --- a/src/unQuery/DynamicRow.cs +++ b/src/unQuery/DynamicRow.cs @@ -50,7 +50,7 @@ public object GetColumnValue(string name) } /// - /// Allows casting Dictionary into a DynamicRow directly + /// Allows casting Dictionary<astring, object> into a DynamicRow directly /// public static explicit operator Dictionary(DynamicRow row) { diff --git a/src/unQuery/Properties/AssemblyInfo.cs b/src/unQuery/Properties/AssemblyInfo.cs index 047c0ce..08e9712 100644 --- a/src/unQuery/Properties/AssemblyInfo.cs +++ b/src/unQuery/Properties/AssemblyInfo.cs @@ -1,14 +1,4 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; -[assembly: AssemblyTitle("unQueryDB")] -[assembly: AssemblyDescription("unQuery is a very minimal data access library that makes it as simple as possible to consume data and interact with SQL Server.")] -[assembly: AssemblyCompany("Mark S. Rasmussen")] -[assembly: AssemblyProduct("unQueryDB")] [assembly: InternalsVisibleTo("unQuery.Tests")] -[assembly: InternalsVisibleTo("LINQPadQuery")] -[assembly: ComVisible(false)] -[assembly: Guid("6b9551cc-a417-4f83-a658-f896f8ef34b9")] -[assembly: AssemblyVersion("0.1.7")] -[assembly: AssemblyFileVersion("0.1.7")] \ No newline at end of file +[assembly: InternalsVisibleTo("LINQPadQuery")] \ No newline at end of file diff --git a/src/unQuery/SqlTypes/SqlType.cs b/src/unQuery/SqlTypes/SqlType.cs index b56a8dd..f45ee55 100644 --- a/src/unQuery/SqlTypes/SqlType.cs +++ b/src/unQuery/SqlTypes/SqlType.cs @@ -30,8 +30,8 @@ protected int GetAppropriateSizeFromLength(int length) return 8000; } - internal abstract SqlParameter GetParameter(); - internal abstract object GetRawValue(); - internal abstract void SetDataRecordValue(SqlDataRecord record, int ordinal); + internal virtual SqlParameter GetParameter() => throw new NotImplementedException(); + internal virtual object GetRawValue() => throw new NotImplementedException(); + internal virtual void SetDataRecordValue(SqlDataRecord record, int ordinal) => throw new NotImplementedException(); } } \ No newline at end of file diff --git a/src/unQuery/SqlTypes/SqlTypeHandler.cs b/src/unQuery/SqlTypes/SqlTypeHandler.cs index 6ca5b28..3e0332b 100644 --- a/src/unQuery/SqlTypes/SqlTypeHandler.cs +++ b/src/unQuery/SqlTypes/SqlTypeHandler.cs @@ -1,11 +1,12 @@ -using Microsoft.SqlServer.Server; +using System; +using Microsoft.SqlServer.Server; using System.Data.SqlClient; namespace unQuery.SqlTypes { public abstract class SqlTypeHandler { - internal abstract SqlParameter CreateParamFromValue(string name, object value); - internal abstract SqlMetaData CreateMetaData(string name); + internal virtual SqlParameter CreateParamFromValue(string name, object value) => throw new NotImplementedException(); + internal virtual SqlMetaData CreateMetaData(string name) => throw new NotImplementedException(); } } \ No newline at end of file diff --git a/src/unQuery/nugetpack.bat b/src/unQuery/nugetpack.bat index fb30c04..f809bde 100644 --- a/src/unQuery/nugetpack.bat +++ b/src/unQuery/nugetpack.bat @@ -1,2 +1,2 @@ -NuGet Pack -Build -Prop Configuration=Release +dotnet pack /p:Configuration=Release pause \ No newline at end of file diff --git a/src/unQuery/unQuery.csproj b/src/unQuery/unQuery.csproj index 16c9107..561bc5a 100644 --- a/src/unQuery/unQuery.csproj +++ b/src/unQuery/unQuery.csproj @@ -1,104 +1,50 @@ - - - + + - Debug - AnyCPU - {D527620B-C076-4ADF-B73E-AF00771B2146} - Library - Properties - unQuery - unQuery - v4.0 - 512 - + netstandard2.0 + 0.1.8 + Mark S. Rasmussen + https://raw.github.com/improvedk/unQuery/master/license.txt + + + https://github.com/improvedk/unQuery + unQuery is a minimal data access library that makes it as simple as possible to consume and interact with data in SQL Server. + 0.1.8 +- Ported to .NET Standard 2.0. +0.1.7 +- Better LINQPad formatting +- Improved exception messages +- Support for mapping rows into lists of simple types +- All exceptions are now serializable +- Minor performance optimization +0.1.6 +- unQueryDB is now Serializable +0.1.5 +- Now supports mapping results into strong types +0.1.4 +- Massive performance improvements in parameter parsing +- Added Batch() functionality +- Now targets .NET 4.0 rather than 4.5 +0.1.3 +- Table valued parameter performance increase +0.1.2 +- Added support for all common SQL Server data types +- Added support for table-valued parameters +- Updated documentation +- Performance improvements +0.1.1 +- Initial release - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - + + ..\..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7\System.Configuration.dll + - - - \ No newline at end of file + + diff --git a/src/unQuery/unQuery.nuspec b/src/unQuery/unQuery.nuspec deleted file mode 100644 index 529eb90..0000000 --- a/src/unQuery/unQuery.nuspec +++ /dev/null @@ -1,40 +0,0 @@ - - - - unQuery - $version$ - unQuery - Mark S. Rasmussen - Mark S. Rasmussen - https://raw.github.com/improvedk/unQuery/master/license.txt - https://github.com/improvedk/unQuery - false - unQuery is a minimal data access library that makes it as simple as possible to consume and interact with data in SQL Server. - - 0.1.7 - - Better LINQPad formatting - - Improved exception messages - - Support for mapping rows into lists of simple types - - All exceptions are now serializable - - Minor performance optimization - 0.1.6 - - unQueryDB is now Serializable - 0.1.5 - - Now supports mapping results into strong types - 0.1.4 - - Massive performance improvements in parameter parsing - - Added Batch() functionality - - Now targets .NET 4.0 rather than 4.5 - 0.1.3 - - Table valued parameter performance increase - 0.1.2 - - Added support for all common SQL Server data types - - Added support for table-valued parameters - - Updated documentation - - Performance improvements - 0.1.1 - - Initial release - - SQL Micro-ORM DAL DB SQLServer - - \ No newline at end of file diff --git a/src/unQuery/unQueryDB.cs b/src/unQuery/unQueryDB.cs index 0ae96bf..9a8758b 100644 --- a/src/unQuery/unQueryDB.cs +++ b/src/unQuery/unQueryDB.cs @@ -280,7 +280,7 @@ internal void AddParametersToCommand(SqlParameterCollection paramCollection, obj il.Emit(OpCodes.Call, typeof(SqlParameter).GetMethod("set_ParameterName")); // Set the parameter name [] il.Emit(OpCodes.Ldarg_0); // Load the param collection [paramCollection] il.Emit(OpCodes.Ldloc, paramLocIndex); // Load the parameter [paramCollection, param] - il.Emit(OpCodes.Call, typeof(SqlParameterCollection).GetMethod("Add", new[] { typeof(SqlParameter) })); // Add the parameter to the collection [param] + il.Emit(OpCodes.Call, typeof(SqlParameterCollection).GetMethod(nameof(SqlParameterCollection.Add), new[] { typeof(SqlParameter) })); // Add the parameter to the collection [param] il.Emit(OpCodes.Pop); // Get rid of the added parameter, as returned by SqlParameterCollection.Add [] } else @@ -291,8 +291,8 @@ internal void AddParametersToCommand(SqlParameterCollection paramCollection, obj il.Emit(OpCodes.Ldloc_0); // Load the object [paramCollection, typeHandler, paramName, object] il.Emit(OpCodes.Call, prop.GetGetMethod()); // Get the property value [paramCollection, typeHandler, paramName, value] il.Emit(OpCodes.Box, prop.PropertyType); // Box the value [paramCollection, typeHandler, paramName, boxedValue] - il.Emit(OpCodes.Callvirt, typeof(SqlTypeHandler).GetMethod("CreateParamFromValue", BindingFlags.NonPublic | BindingFlags.Instance, null, new[] { typeof(string), typeof(object) }, null)); // Let the type handler create the param [paramCollection, param] - il.Emit(OpCodes.Call, typeof(SqlParameterCollection).GetMethod("Add", new[] { typeof(SqlParameter) })); // Add the parameter to the collection [param] + il.Emit(OpCodes.Callvirt, typeof(SqlTypeHandler).GetMethod(nameof(SqlTypeHandler.CreateParamFromValue), BindingFlags.NonPublic | BindingFlags.Instance, null, new[] { typeof(string), typeof(object) }, null)); // Let the type handler create the param [paramCollection, param] + il.Emit(OpCodes.Call, typeof(SqlParameterCollection).GetMethod(nameof(SqlParameterCollection.Add), new[] { typeof(SqlParameter) })); // Add the parameter to the collection [param] il.Emit(OpCodes.Pop); // Get rid of the param as we don't need it anymore []*/ } } @@ -307,8 +307,7 @@ internal void AddParametersToCommand(SqlParameterCollection paramCollection, obj } // Run the cached parameter adder - if (parameterAdder != null) - parameterAdder(paramCollection, parameters); + parameterAdder?.Invoke(paramCollection, parameters); } /// @@ -388,10 +387,11 @@ private IEnumerable mapReaderRowsToType(SqlDataReader reader, Func type var type = typeof(T); PropertyInfo[] properties = type.GetProperties(); - var schema = reader.GetSchemaTable().AsEnumerable().Select(x => new + var table = reader.GetSchemaTable(); + var schema = table.Select().Select(x => new { - Name = x.Field("ColumnName"), - Ordinal = x.Field("ColumnOrdinal") + Name = (string)x.ItemArray[table.Columns.IndexOf("ColumnName")], + Ordinal = (int)x.ItemArray[table.Columns.IndexOf("ColumnOrdinal")] }); // If there are no properties on the type, it doesn't make sense to use it here diff --git a/unQuery.sln b/unQuery.sln index 1b2a9bd..0269da8 100644 --- a/unQuery.sln +++ b/unQuery.sln @@ -1,10 +1,8 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30110.0 +# Visual Studio 15 +VisualStudioVersion = 15.0.27130.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "unQuery", "src\unQuery\unQuery.csproj", "{D527620B-C076-4ADF-B73E-AF00771B2146}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "unQuery.Tests", "src\unQuery.Tests\unQuery.Tests.csproj", "{48FA9377-83EC-455E-BA73-11F54B058ADA}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6BA2AE24-748D-42D2-9FD3-5310EBD5B072}" @@ -16,16 +14,14 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "unQuery.PerformanceTests", "src\unQuery.PerformanceTests\unQuery.PerformanceTests.csproj", "{8658B682-8FE7-44B8-ACD4-1D95F80DB083}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "unQuery", "src\unQuery\unQuery.csproj", "{39CEE33A-B42F-4ACD-A1F0-5EFA98CD7A4B}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D527620B-C076-4ADF-B73E-AF00771B2146}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D527620B-C076-4ADF-B73E-AF00771B2146}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D527620B-C076-4ADF-B73E-AF00771B2146}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D527620B-C076-4ADF-B73E-AF00771B2146}.Release|Any CPU.Build.0 = Release|Any CPU {48FA9377-83EC-455E-BA73-11F54B058ADA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {48FA9377-83EC-455E-BA73-11F54B058ADA}.Debug|Any CPU.Build.0 = Debug|Any CPU {48FA9377-83EC-455E-BA73-11F54B058ADA}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -34,8 +30,15 @@ Global {8658B682-8FE7-44B8-ACD4-1D95F80DB083}.Debug|Any CPU.Build.0 = Debug|Any CPU {8658B682-8FE7-44B8-ACD4-1D95F80DB083}.Release|Any CPU.ActiveCfg = Release|Any CPU {8658B682-8FE7-44B8-ACD4-1D95F80DB083}.Release|Any CPU.Build.0 = Release|Any CPU + {39CEE33A-B42F-4ACD-A1F0-5EFA98CD7A4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {39CEE33A-B42F-4ACD-A1F0-5EFA98CD7A4B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {39CEE33A-B42F-4ACD-A1F0-5EFA98CD7A4B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {39CEE33A-B42F-4ACD-A1F0-5EFA98CD7A4B}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {74ECB650-37F8-464F-93B6-B6AC42E236CB} + EndGlobalSection EndGlobal From 1070fa3de0cda62942da54bdd43e0932fe89070c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20L=2E=20J=C3=B8rgensen?= Date: Fri, 18 Oct 2019 11:43:21 +0200 Subject: [PATCH 2/8] finalized porting to .NET Standard 2.0 --- src/unQuery.PerformanceTests/App.config | 2 +- src/unQuery.PerformanceTests/packages.config | 8 +++- .../unQuery.PerformanceTests.csproj | 38 ++++++++++++++++--- src/unQuery.Tests/App.config | 2 +- src/unQuery.Tests/packages.config | 8 +++- src/unQuery.Tests/unQuery.Tests.csproj | 38 ++++++++++++++++--- src/unQuery/unQuery.csproj | 11 ++---- 7 files changed, 83 insertions(+), 24 deletions(-) diff --git a/src/unQuery.PerformanceTests/App.config b/src/unQuery.PerformanceTests/App.config index df5ceb5..20ad4d4 100644 --- a/src/unQuery.PerformanceTests/App.config +++ b/src/unQuery.PerformanceTests/App.config @@ -4,4 +4,4 @@ - + diff --git a/src/unQuery.PerformanceTests/packages.config b/src/unQuery.PerformanceTests/packages.config index c56d766..f355f23 100644 --- a/src/unQuery.PerformanceTests/packages.config +++ b/src/unQuery.PerformanceTests/packages.config @@ -1,5 +1,9 @@  - - + + + + + + \ No newline at end of file diff --git a/src/unQuery.PerformanceTests/unQuery.PerformanceTests.csproj b/src/unQuery.PerformanceTests/unQuery.PerformanceTests.csproj index 591d8bf..dce8a11 100644 --- a/src/unQuery.PerformanceTests/unQuery.PerformanceTests.csproj +++ b/src/unQuery.PerformanceTests/unQuery.PerformanceTests.csproj @@ -1,5 +1,6 @@  + true @@ -10,11 +11,13 @@ Properties unQuery.PerformanceTests unQuery.PerformanceTests - v4.6.1 + v4.7.2 512 ..\..\ true + + AnyCPU @@ -42,19 +45,38 @@ - - ..\..\packages\NUnit.3.9.0\lib\net45\nunit.framework.dll + + ..\..\packages\NUnit.3.12.0\lib\net45\nunit.framework.dll + + ..\..\packages\System.Configuration.ConfigurationManager.4.6.0\lib\net461\System.Configuration.ConfigurationManager.dll + - - ..\..\packages\System.Data.SqlClient.4.4.0\lib\net461\System.Data.SqlClient.dll + + + ..\..\packages\System.Data.SqlClient.4.7.0\lib\net461\System.Data.SqlClient.dll + + + + + + ..\..\packages\System.Security.AccessControl.4.6.0\lib\net461\System.Security.AccessControl.dll + + + ..\..\packages\System.Security.Permissions.4.6.0\lib\net461\System.Security.Permissions.dll + + ..\..\packages\System.Security.Principal.Windows.4.6.0\lib\net461\System.Security.Principal.Windows.dll + + + + @@ -80,6 +102,12 @@ + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + +