Skip to content

Commit c60a24f

Browse files
committed
add PCL Support
add PCL Support
1 parent 2ff7b54 commit c60a24f

File tree

16 files changed

+2122
-18
lines changed

16 files changed

+2122
-18
lines changed

Backup/MsgPack.Test/Extensions.fs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace MsgPack.Test
2+
3+
open NUnit.Framework
4+
5+
module Extensions =
6+
7+
let assertEqualTo<'a> (expected: 'a) (actual: 'a) = Assert.That(actual, Is.EqualTo(expected))
8+
let assertEquivalentTo<'a> expected (actual: 'a) = Assert.That(actual, Is.EquivalentTo(expected))
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>857abed7-f0cb-4579-986f-2978261cfd0f</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<RootNamespace>MsgPack.Test</RootNamespace>
11+
<AssemblyName>MsgPack.Test</AssemblyName>
12+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
13+
<Name>MsgPack.Test</Name>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<Tailcalls>false</Tailcalls>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<WarningLevel>3</WarningLevel>
23+
<DocumentationFile>bin\Debug\MsgPack.Test.XML</DocumentationFile>
24+
<StartAction>Project</StartAction>
25+
<StartProgram>
26+
</StartProgram>
27+
<StartArguments>
28+
</StartArguments>
29+
</PropertyGroup>
30+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
31+
<DebugType>pdbonly</DebugType>
32+
<Optimize>true</Optimize>
33+
<Tailcalls>true</Tailcalls>
34+
<OutputPath>bin\Release\</OutputPath>
35+
<DefineConstants>TRACE</DefineConstants>
36+
<WarningLevel>3</WarningLevel>
37+
<DocumentationFile>bin\Release\MsgPack.Test.XML</DocumentationFile>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<Reference Include="mscorlib" />
41+
<Reference Include="FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
42+
<Private>True</Private>
43+
</Reference>
44+
<Reference Include="nunit.framework">
45+
<HintPath>lib\nunit.framework.dll</HintPath>
46+
</Reference>
47+
<Reference Include="System" />
48+
<Reference Include="System.Core" />
49+
<Reference Include="System.Numerics" />
50+
</ItemGroup>
51+
<ItemGroup>
52+
<Compile Include="Extensions.fs" />
53+
<Compile Include="PackerTest.fs" />
54+
<Compile Include="UnpackerTest.fs" />
55+
</ItemGroup>
56+
<ItemGroup>
57+
<ProjectReference Include="..\MsgPack\MsgPack.fsproj">
58+
<Name>MsgPack</Name>
59+
<Project>{6a301137-4611-40fc-a07c-d78179ab446c}</Project>
60+
<Private>True</Private>
61+
</ProjectReference>
62+
</ItemGroup>
63+
<PropertyGroup>
64+
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
65+
</PropertyGroup>
66+
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition=" Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" />
67+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
68+
Other similar extension points exist, see Microsoft.Common.targets.
69+
<Target Name="BeforeBuild">
70+
</Target>
71+
<Target Name="AfterBuild">
72+
</Target>
73+
-->
74+
</Project>

0 commit comments

Comments
 (0)