Skip to content

Commit

Permalink
Added portable class library to NuGet
Browse files Browse the repository at this point in the history
  • Loading branch information
praeclarum committed Feb 6, 2013
1 parent dd44f09 commit 7e3bbb3
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 14 deletions.
21 changes: 11 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
*.suo
*.user
*.userprefs
*.pidb
.DS_Store
Thumbs.db
bin
Bin
obj
Obj
*.suo
*.user
*.userprefs
*.pidb
*.nupkg
.DS_Store
Thumbs.db
bin
Bin
obj
Obj
Binary file removed nuget/CrossGraphics.1.0.3.nupkg
Binary file not shown.
5 changes: 4 additions & 1 deletion nuget/CrossGraphics.nuspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<version>1.0.3</version>
<version>1.0.4</version>
<authors>Frank A. Krueger</authors>
<owners>Frank A. Krueger</owners>
<projectUrl>https://github.com/praeclarum/CrossGraphics</projectUrl>
Expand All @@ -14,6 +14,7 @@
<summary>Cross-platform library for rendering vector graphics.</summary>
<releaseNotes>
<![CDATA[
v1.0.4: Added framework: portable-sl4+wp71+windows8
v1.0.3: Added framework: windowsphone8
v1.0.2: Cleaned up the namespace
v1.0.1: Initial Release
Expand All @@ -27,5 +28,7 @@
<file src="net40client\bin\Release\*.pdb" target="lib\net40-client" />
<file src="windowsphone8\bin\Release\*.dll" target="lib\windowsphone8" />
<file src="windowsphone8\bin\Release\*.pdb" target="lib\windowsphone8" />
<file src="portable\bin\Release\*.dll" target="lib\portable-sl4+wp71+windows8" />
<file src="portable\bin\Release\*.pdb" target="lib\portable-sl4+wp71+windows8" />
</files>
</package>
12 changes: 12 additions & 0 deletions nuget/CrossGraphics.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "net40client", "net40client\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "windowsphone8", "windowsphone8\windowsphone8.csproj", "{58E1541B-307D-4E9F-AB56-CB2A226DA34D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "portable", "portable\portable.csproj", "{F037C323-242D-40B1-A6BB-3FB4DD270C3F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -59,6 +61,16 @@ Global
{58E1541B-307D-4E9F-AB56-CB2A226DA34D}.Release|x64.ActiveCfg = Release|Any CPU
{58E1541B-307D-4E9F-AB56-CB2A226DA34D}.Release|x86.ActiveCfg = Release|x86
{58E1541B-307D-4E9F-AB56-CB2A226DA34D}.Release|x86.Build.0 = Release|x86
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Debug|ARM.ActiveCfg = Debug|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Debug|x64.ActiveCfg = Debug|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Debug|x86.ActiveCfg = Debug|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Release|Any CPU.Build.0 = Release|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Release|ARM.ActiveCfg = Release|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Release|x64.ActiveCfg = Release|Any CPU
{F037C323-242D-40B1-A6BB-3FB4DD270C3F}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
70 changes: 70 additions & 0 deletions nuget/portable/portable.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F037C323-242D-40B1-A6BB-3FB4DD270C3F}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CrossGraphics</RootNamespace>
<AssemblyName>CrossGraphics</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Profile1</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\src\AssemblyInfo.cs">
<Link>AssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\..\src\Canvas.cs">
<Link>Canvas.cs</Link>
</Compile>
<Compile Include="..\..\src\Graphics.cs">
<Link>Graphics.cs</Link>
</Compile>
<Compile Include="..\..\src\NullGraphics.cs">
<Link>NullGraphics.cs</Link>
</Compile>
<Compile Include="..\..\src\SvgGraphics.cs">
<Link>SvgGraphics.cs</Link>
</Compile>
<Compile Include="..\..\src\System.Drawing.cs">
<Link>System.Drawing.cs</Link>
</Compile>
<Compile Include="..\..\src\WmfGraphics.cs">
<Link>WmfGraphics.cs</Link>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
6 changes: 3 additions & 3 deletions src/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
//
// 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.2.*")]
[assembly: AssemblyFileVersion("1.0.2")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.4.*")]
[assembly: AssemblyFileVersion("1.0.4")]
//[assembly: ComVisible(false)]

0 comments on commit 7e3bbb3

Please sign in to comment.