Skip to content

Commit

Permalink
Added build targets for 3.5-client and 4.0-client. Added .nuspec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Knagis committed Sep 11, 2014
1 parent ed54a57 commit 2aa6a9b
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ x64/
build/
[Bb]in/
[Oo]bj/
*.nupkg

# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/
Expand Down
25 changes: 25 additions & 0 deletions CommonMark.NET.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>CommonMark.NET</id>
<version>0.1.0-beta</version>
<title>CommonMark.NET</title>
<authors>Knagis</authors>
<licenseUrl>https://raw.githubusercontent.com/Knagis/CommonMark.NET/master/LICENSE.md</licenseUrl>
<projectUrl>https://github.com/Knagis/CommonMark.NET/</projectUrl>
<iconUrl>https://raw.githubusercontent.com/dcurtis/markdown-mark/master/png/32x20.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Library for converting Markdown documents to HTML according to the CommonMark specification.</description>
<releaseNotes>Initial public release.
Fully compatible to the current CommonMark specification.
API subject to change.</releaseNotes>
<copyright>Copyright © Kārlis Gaņģis 2014</copyright>
<tags>CommonMark Markdown</tags>
</metadata>
<files>
<file src="CommonMark\bin\v2.0\Release\CommonMark.*" target="lib\net20\" />
<file src="CommonMark\bin\v3.5\Release\CommonMark.*" target="lib\net35-client\" />
<file src="CommonMark\bin\v4.0\Release\CommonMark.*" target="lib\net40-client\" />
<file src="CommonMark\bin\portable\Release\CommonMark.*" target="lib\portable-net40+sl50+wp80+win+wpa81+MonoAndroid10+MonoTouch10\" />
</files>
</package>
12 changes: 12 additions & 0 deletions CommonMark.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Other", "Other", "{EC5FFA77
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonMark.NET20", "CommonMark\CommonMark.NET20.csproj", "{075E7F00-F1C0-49AA-808D-8B15F1A82DDE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonMark.NET35", "CommonMark\CommonMark.NET35.csproj", "{61829669-5091-4F2A-A0B1-7348D7CED840}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonMark.NET40", "CommonMark\CommonMark.NET40.csproj", "{0176CB03-177C-464A-A155-089595E77520}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -35,6 +39,14 @@ Global
{075E7F00-F1C0-49AA-808D-8B15F1A82DDE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{075E7F00-F1C0-49AA-808D-8B15F1A82DDE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{075E7F00-F1C0-49AA-808D-8B15F1A82DDE}.Release|Any CPU.Build.0 = Release|Any CPU
{61829669-5091-4F2A-A0B1-7348D7CED840}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{61829669-5091-4F2A-A0B1-7348D7CED840}.Debug|Any CPU.Build.0 = Debug|Any CPU
{61829669-5091-4F2A-A0B1-7348D7CED840}.Release|Any CPU.ActiveCfg = Release|Any CPU
{61829669-5091-4F2A-A0B1-7348D7CED840}.Release|Any CPU.Build.0 = Release|Any CPU
{0176CB03-177C-464A-A155-089595E77520}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0176CB03-177C-464A-A155-089595E77520}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0176CB03-177C-464A-A155-089595E77520}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0176CB03-177C-464A-A155-089595E77520}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
13 changes: 13 additions & 0 deletions CommonMark/CommonMark.NET35.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BuildMode>v3.5</BuildMode>
<ProjectGuid>{61829669-5091-4F2A-A0B1-7348D7CED840}</ProjectGuid>
<TargetFrameworkVersionEx>v3.5</TargetFrameworkVersionEx>
<TargetFrameworkProfileEx>Client</TargetFrameworkProfileEx>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
<Import Project="CommonMark.Base.csproj" />
</Project>
13 changes: 13 additions & 0 deletions CommonMark/CommonMark.NET40.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BuildMode>v4.0</BuildMode>
<TargetFrameworkVersionEx>v4.0</TargetFrameworkVersionEx>
<TargetFrameworkProfileEx>Client</TargetFrameworkProfileEx>
<ProjectGuid>{0176CB03-177C-464A-A155-089595E77520}</ProjectGuid>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
<Import Project="CommonMark.Base.csproj" />
</Project>
3 changes: 2 additions & 1 deletion CommonMark/CommonMark.Targets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
<BaseIntermediateOutputPath>obj\$(BuildMode)\</BaseIntermediateOutputPath>
<TargetFrameworkVersion Condition=" '$(TargetFrameworkVersionEx)' != '' ">$(TargetFrameworkVersionEx)</TargetFrameworkVersion>
<TargetFrameworkProfile Condition=" '$(BuildMode)' != 'portable' "></TargetFrameworkProfile>
<TargetFrameworkProfile Condition=" '$(TargetFrameworkProfileEx)' != '' ">$(TargetFrameworkProfileEx)</TargetFrameworkProfile>
<DocumentationFile Condition=" '$(DocumentationFile)' != ''">$(OutputPath)\CommonMark.xml</DocumentationFile>
</PropertyGroup>

<Import Condition=" '$(BuildMode)' == 'portable' " Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<Import Condition=" '$(BuildMode)' == 'v2.0' " Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Condition=" '$(BuildMode)' != 'portable' " Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

0 comments on commit 2aa6a9b

Please sign in to comment.