diff --git a/src/Snappy.Standard/.gitignore b/.gitignore similarity index 100% rename from src/Snappy.Standard/.gitignore rename to .gitignore diff --git a/Snappy.Standard.sln b/Snappy.Standard.sln new file mode 100644 index 0000000..4a296c2 --- /dev/null +++ b/Snappy.Standard.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34728.123 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Snappy.Standard", "src\Snappy.Standard\Snappy.Standard.csproj", "{4332ACD3-43B8-47BB-8A85-FB879FE603A2}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SnappyCodecTest", "test\Snappy.Tests\SnappyCodecTest.csproj", "{A9792B5A-08AB-417E-9A4D-EBF6A483ACED}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4332ACD3-43B8-47BB-8A85-FB879FE603A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4332ACD3-43B8-47BB-8A85-FB879FE603A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4332ACD3-43B8-47BB-8A85-FB879FE603A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4332ACD3-43B8-47BB-8A85-FB879FE603A2}.Release|Any CPU.Build.0 = Release|Any CPU + {A9792B5A-08AB-417E-9A4D-EBF6A483ACED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A9792B5A-08AB-417E-9A4D-EBF6A483ACED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A9792B5A-08AB-417E-9A4D-EBF6A483ACED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A9792B5A-08AB-417E-9A4D-EBF6A483ACED}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {83584B20-4BEF-407E-9E14-3A5940C33627} + EndGlobalSection +EndGlobal diff --git a/global.json b/global.json deleted file mode 100644 index 0ac230b..0000000 --- a/global.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "projects": [ "src", "test" ], - "sdk": { - "version": "1.0.0-preview2-003131" - } -} diff --git a/src/Snappy.Standard/Properties/AssemblyInfo.cs b/src/Snappy.Standard/Properties/AssemblyInfo.cs index 132de72..b80d1c3 100644 --- a/src/Snappy.Standard/Properties/AssemblyInfo.cs +++ b/src/Snappy.Standard/Properties/AssemblyInfo.cs @@ -1,12 +1,6 @@ -using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -[assembly: AssemblyTitle("Snappy for .NET Standard")] -[assembly: AssemblyDescription(".NET Standard client for Google's Snappy compression library, inspired by Snappy.NET. Snappy is a very fast compression(250 MB/sec)/decompression(500 MB/sec) library written in C++.")] -[assembly: AssemblyCompany("David Rouyer")] -[assembly: AssemblyProduct("Snappy.Standard")] - [assembly: InternalsVisibleTo("Snappy.Tests")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] diff --git a/src/Snappy.Standard/Snappy.Standard.csproj b/src/Snappy.Standard/Snappy.Standard.csproj new file mode 100644 index 0000000..92d5cac --- /dev/null +++ b/src/Snappy.Standard/Snappy.Standard.csproj @@ -0,0 +1,33 @@ + + + netstandard1.6 + True + 0.3.0 + David Rouyer + .NET Standard client for Google's Snappy compression library inspired by Snappy.NET. Snappy is a very fast compression(250 MB/sec)/decompression(500 MB/sec) library written in C++. + Snappy.Standard + Snappy.Standard" + https://github.com/DavidRouyer/Snappy + https://github.com/DavidRouyer/Snappy/LICENSE.md + git + git://github.com/DavidRouyer/Snappy + snappy + Initial release. + True + Snappy for .NET Standard + + + + Always + + + Always + + + Always + + + Always + + + \ No newline at end of file diff --git a/src/Snappy.Standard/project.json b/src/Snappy.Standard/project.json deleted file mode 100644 index 3186447..0000000 --- a/src/Snappy.Standard/project.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "Snappy.Standard", - "version": "0.2.0-*", - "title": "Snappy for .NET Standard", - "description": ".NET Standard client for Google's Snappy compression library inspired by Snappy.NET. Snappy is a very fast compression(250 MB/sec)/decompression(500 MB/sec) library written in C++.", - "authors": [ "David Rouyer" ], - - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - - "frameworks": { - "netstandard1.6": { - "imports": "dnxcore50" - } - }, - - "tooling": { - "defaultNamespace": "Snappy" - }, - - "buildOptions": { - "allowUnsafe": true, - "embed": "Resources/*" - }, - - "packOptions": { - "projectUrl": "https://github.com/DavidRouyer/Snappy", - "licenseUrl": "https://github.com/DavidRouyer/Snappy/LICENSE.md", - "requireLicenseAcceptance": false, - "releaseNotes": "Initial release.", - "tags": [ "snappy" ], - "repository": { - "type": "git", - "url": "git://github.com/DavidRouyer/Snappy" - } - } -} \ No newline at end of file diff --git a/test/Snappy.Tests/.gitignore b/test/Snappy.Tests/.gitignore deleted file mode 100644 index d104ead..0000000 --- a/test/Snappy.Tests/.gitignore +++ /dev/null @@ -1,78 +0,0 @@ -## Ignore Visual Studio temporary files and build results. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# User-specific files (Visual Studio Code) -.vscode - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -[Bb]in/ -[Oo]bj/ - -# Visual Studio 2015 cache/options directory -.vs/ - -# DNX -project.lock.json -artifacts/ - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ diff --git a/test/Snappy.Tests/SnappyCodecTest.csproj b/test/Snappy.Tests/SnappyCodecTest.csproj new file mode 100644 index 0000000..cb99229 --- /dev/null +++ b/test/Snappy.Tests/SnappyCodecTest.csproj @@ -0,0 +1,17 @@ + + + + net472;net7.0 + + + + + + + + + + + + + diff --git a/test/Snappy.Tests/project.json b/test/Snappy.Tests/project.json deleted file mode 100644 index d463a42..0000000 --- a/test/Snappy.Tests/project.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": "0.2.0-*", - "testRunner": "xunit", - "dependencies": { - "dotnet-test-xunit": "2.2.0-preview2-build1029", - "xunit": "2.2.0-beta3-build3402", - "Snappy.Standard": { - "target": "project" - } - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - } - } - } - }, - "buildOptions": { - "copyToOutput": { - "include": [ "xunit.runner.json" ] - } - }, - "tooling": { - "defaultNamespace": "Snappy.Tests" - } -}