Skip to content

Add .Net Core support #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
src/CommandLine/bin/*
src/CommandLine/obj
src/CommandLine.dotnet/bin/*
src/CommandLine.dotnet/obj
demo/ReadText.Demo/bin/*
demo/ReadText.Demo/obj
tests/CommandLine.Tests/bin/*
tests/CommandLine.Tests/obj
tests/CommandLine.DotNet.Tests/bin/*
tests/CommandLine.DotNet.Tests/obj
tests/CommandLine.Tests.Properties/bin/*
tests/CommandLine.Tests.Properties/obj
src/templates/CSharpTemplate/bin/*
Expand Down Expand Up @@ -31,3 +35,8 @@ StyleCop.Cache
.fake
*.cache
docs/output/*
artifacts/*
.vs/*
*.xproj.user
*.nuget.targets
*.lock.json
20 changes: 19 additions & 1 deletion CommandLine.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine", "src\CommandLine\CommandLine.csproj", "{E1BD3C65-49C3-49E7-BABA-C60980CB3F20}"
EndProject
Expand All @@ -23,6 +23,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine.Tests", "tests\CommandLine.Tests\CommandLine.Tests.csproj", "{0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine.dotnet", "src\CommandLine.dotnet\CommandLine.dotnet.csproj", "{1E72E75F-888A-400E-865C-44251B8013E1}"
ProjectSection(ProjectDependencies) = postProject
{E1BD3C65-49C3-49E7-BABA-C60980CB3F20} = {E1BD3C65-49C3-49E7-BABA-C60980CB3F20}
EndProjectSection
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "CommandLine.DotNet.Tests", "tests\CommandLine.DotNet.Tests\CommandLine.DotNet.Tests.xproj", "{C271A22B-B09A-44DA-A82D-8DF49135FA4C}"
ProjectSection(ProjectDependencies) = postProject
{1E72E75F-888A-400E-865C-44251B8013E1} = {1E72E75F-888A-400E-865C-44251B8013E1}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -37,6 +47,14 @@ Global
{0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}.Release|Any CPU.Build.0 = Release|Any CPU
{1E72E75F-888A-400E-865C-44251B8013E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1E72E75F-888A-400E-865C-44251B8013E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E72E75F-888A-400E-865C-44251B8013E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E72E75F-888A-400E-865C-44251B8013E1}.Release|Any CPU.Build.0 = Release|Any CPU
{C271A22B-B09A-44DA-A82D-8DF49135FA4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C271A22B-B09A-44DA-A82D-8DF49135FA4C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C271A22B-B09A-44DA-A82D-8DF49135FA4C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C271A22B-B09A-44DA-A82D-8DF49135FA4C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": [
"wrap"
]
}
69 changes: 44 additions & 25 deletions nuget/CommandLine.nuspec
Original file line number Diff line number Diff line change
@@ -1,25 +1,44 @@
<?xml version='1.0'?>
<package xmlns='http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd'>
<metadata>
<id>CommandLineParser</id>
<version>2.0.275-beta</version>
<title>Command Line Parser Library</title>
<authors>Giacomo Stelluti Scala</authors>
<description>Terse syntax C# command line parser for .NET with F# support. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.</description>
<releaseNotes/>
<copyright>Copyright (c) 2005 - 2015 Giacomo Stelluti Scala</copyright>
<licenseUrl>https://raw.githubusercontent.com/gsscoder/commandline/master/doc/LICENSE</licenseUrl>
<projectUrl>https://github.com/gsscoder/commandline</projectUrl>
<owners>Giacomo Stelluti Scala</owners>
<iconUrl>https://raw.githubusercontent.com/gsscoder/commandline/master/art/CommandLine20.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<tags>command line argument option parser parsing library syntax shell</tags>
</metadata>
<files>
<file src='..\build\CommandLine.dll' target='lib\net40\CommandLine.dll'/>
<file src='..\build\CommandLine.XML' target='lib\net40\CommandLine.XML'/>
<file src='..\build\CommandLine.dll' target='lib\net45\CommandLine.dll'/>
<file src='..\build\CommandLine.XML' target='lib\net45\CommandLine.XML'/>
<file src='.\readme.txt' target='readme.txt'/>
</files>
</package>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>CommandLineParser</id>
<version>2.1.0-beta</version>
<title>Command Line Parser Library</title>
<authors>Giacomo Stelluti Scala</authors>
<description>Terse syntax C# command line parser for .NET with F# support. The Command Line Parser Library offers to CLR applications a clean and concise API for manipulating command line arguments and related tasks.</description>
<releaseNotes />
<copyright>Copyright (c) 2005 - 2015 Giacomo Stelluti Scala</copyright>
<licenseUrl>https://raw.githubusercontent.com/gsscoder/commandline/master/doc/LICENSE</licenseUrl>
<projectUrl>https://github.com/gsscoder/commandline</projectUrl>
<owners>Giacomo Stelluti Scala</owners>
<iconUrl>https://raw.githubusercontent.com/gsscoder/commandline/master/art/CommandLine20.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<tags>command line argument option parser parsing library syntax shell</tags>
<dependencies>
<group targetFramework=".NETStandard1.3">
<dependency id="System.Collections" version="4.0.11-rc2-24027" />
<dependency id="System.Console" version="4.0.0-rc2-24027" />
<dependency id="System.Diagnostics.Debug" version="4.0.11-rc2-24027" />
<dependency id="System.Globalization" version="4.0.11-rc2-24027" />
<dependency id="System.IO" version="4.1.0-rc2-24027" />
<dependency id="System.Linq" version="4.1.0-rc2-24027" />
<dependency id="System.Linq.Expressions" version="4.0.11-rc2-24027" />
<dependency id="System.Reflection" version="4.1.0-rc2-24027" />
<dependency id="System.Reflection.Extensions" version="4.0.1-rc2-24027" />
<dependency id="System.Reflection.TypeExtensions" version="4.1.0-rc2-24027" />
<dependency id="System.Resources.ResourceManager" version="4.0.1-rc2-24027" />
<dependency id="System.Runtime" version="4.1.0-rc2-24027" />
<dependency id="System.Runtime.Extensions" version="4.1.0-rc2-24027" />
</group>
</dependencies>
</metadata>
<files>
<file src="..\build\CommandLine.dll" target="lib\net40\CommandLine.dll" />
<file src="..\build\CommandLine.XML" target="lib\net40\CommandLine.XML" />
<file src="..\build\CommandLine.dll" target="lib\net45\CommandLine.dll" />
<file src="..\build\CommandLine.XML" target="lib\net45\CommandLine.XML" />
<file src="src\CommandLine.dotnet\bin\portable-dotnet\Release\CommandLine.dll" target="lib\netstandard1.3\CommandLine.dll" />
<file src="src\CommandLine.dotnet\bin\portable-dotnet\Release\CommandLine.xml" target="lib\netstandard1.3\CommandLine.xml" />
<file src=".\readme.txt" target="readme.txt" />
</files>
</package>
Loading