diff --git a/Sharp7.sln b/Sharp7.sln index 6bc2f98..d04a0f4 100644 --- a/Sharp7.sln +++ b/Sharp7.sln @@ -5,11 +5,6 @@ VisualStudioVersion = 15.0.27004.2009 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sharp7", "Sharp7\Sharp7.csproj", "{4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_nuspec", "_nuspec", "{FD318289-9BB8-4FF2-BB45-DFA4FE6BAEF8}" - ProjectSection(SolutionItems) = preProject - _nuspec\Sharp7.nuspec = _nuspec\Sharp7.nuspec - EndProjectSection -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -22,16 +17,16 @@ Global GlobalSection(ProjectConfigurationPlatforms) = postSolution {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|x64.ActiveCfg = Debug|x64 - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|x64.Build.0 = Debug|x64 - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|x86.ActiveCfg = Debug|x86 - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|x86.Build.0 = Debug|x86 + {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|x64.ActiveCfg = Debug|Any CPU + {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|x64.Build.0 = Debug|Any CPU + {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|x86.ActiveCfg = Debug|Any CPU + {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Debug|x86.Build.0 = Debug|Any CPU {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|Any CPU.ActiveCfg = Release|Any CPU {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|Any CPU.Build.0 = Release|Any CPU - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|x64.ActiveCfg = Release|x64 - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|x64.Build.0 = Release|x64 - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|x86.ActiveCfg = Release|x86 - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|x86.Build.0 = Release|x86 + {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|x64.ActiveCfg = Release|Any CPU + {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|x64.Build.0 = Release|Any CPU + {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|x86.ActiveCfg = Release|Any CPU + {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Sharp7/Properties/AssemblyInfo.cs b/Sharp7/Properties/AssemblyInfo.cs deleted file mode 100644 index c93b7c1..0000000 --- a/Sharp7/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Sharp7")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Sharp7")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("4fe194af-7ffe-48ba-9dfc-425e9d5b9f46")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Sharp7/Sharp7.csproj b/Sharp7/Sharp7.csproj index 922b123..d47dfa3 100644 --- a/Sharp7/Sharp7.csproj +++ b/Sharp7/Sharp7.csproj @@ -1,88 +1,14 @@ - - - + + - Debug - AnyCPU - {4FE194AF-7FFE-48BA-9DFC-425E9D5B9F46} - Library - Properties - Sharp7 - Sharp7 - v4.5 - 512 + netstandard2.0 + $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb + Federico Barresi + true + https://github.com/fbarresi/Sharp7 + https://raw.githubusercontent.com/fbarresi/Sharp7/master/LICENSE + snap7 s7 simantic + - - true - full - false - ..\out\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - ..\out\Release\ - TRACE - prompt - 4 - - - true - ..\out\x64\Debug\ - DEBUG;TRACE - full - x64 - prompt - MinimumRecommendedRules.ruleset - - - ..\out\x64\Release\ - TRACE - true - pdbonly - x64 - prompt - MinimumRecommendedRules.ruleset - - - true - ..\out\x86\Debug\ - DEBUG;TRACE - full - x86 - prompt - MinimumRecommendedRules.ruleset - - - ..\out\x86\Release\ - TRACE - true - pdbonly - x86 - prompt - MinimumRecommendedRules.ruleset - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/_nuspec/nuget.exe b/_nuspec/nuget.exe deleted file mode 100644 index a34c367..0000000 Binary files a/_nuspec/nuget.exe and /dev/null differ diff --git a/_nuspec/pack.ps1 b/_nuspec/pack.ps1 deleted file mode 100644 index 07bc96a..0000000 --- a/_nuspec/pack.ps1 +++ /dev/null @@ -1,11 +0,0 @@ -$version = [System.Reflection.Assembly]::LoadFile("C:\projects\sharp7\out\Release\Sharp7.dll").GetName().Version -$versionStr = "{0}.{1}.{2}" -f ($version.Major, $version.Minor, $version.Build) - -Write-Host "Setting .nuspec version tag to $versionStr" - -$content = (Get-Content _nuspec\Sharp7.nuspec) -$content = $content -replace '\$version\$',$versionStr - -$content | Out-File _nuspec\Sharp7.compiled.nuspec - -& _nuspec\NuGet.exe pack _nuspec\Sharp7.compiled.nuspec \ No newline at end of file diff --git a/_nuspec/sharp7.nuspec b/_nuspec/sharp7.nuspec deleted file mode 100644 index d8476b2..0000000 --- a/_nuspec/sharp7.nuspec +++ /dev/null @@ -1,19 +0,0 @@ - - - - Sharp7 - $version$ - Sharp7 - Federico Barresi - false - Multi-platform Ethernet S7 PLC communication suite (C# port of Snap7 Client by davenardella) - https://github.com/fbarresi/Sharp7 - https://raw.githubusercontent.com/fbarresi/Sharp7/master/LICENSE - Copyright 2018 - - - - - - - \ No newline at end of file