|
10 | 10 | <RootNamespace>FSharp.Dynamic</RootNamespace> |
11 | 11 | <AssemblyName>FSharp.Dynamic</AssemblyName> |
12 | 12 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
| 13 | + <UseNet40 Condition=" '$(UseNet40)' == '' ">false</UseNet40> |
| 14 | + <UseNet40 Condition=" $(OS) != 'Windows_NT' ">true</UseNet40> |
| 15 | + <TargetFrameworkProfile Condition=" $(UseNet40) == false ">Profile47</TargetFrameworkProfile> |
13 | 16 | <Name>FSharp.Dynamic</Name> |
14 | 17 | <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir> |
15 | 18 | <RestorePackages>true</RestorePackages> |
16 | 19 | </PropertyGroup> |
17 | | - <PropertyGroup Condition="$(OS) == 'Windows_NT'"> |
18 | | - <TargetFrameworkProfile>Profile47</TargetFrameworkProfile> |
19 | | - </PropertyGroup> |
20 | | - |
21 | 20 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
22 | 21 | <DebugSymbols>true</DebugSymbols> |
23 | 22 | <DebugType>full</DebugType> |
|
37 | 36 | <WarningLevel>3</WarningLevel> |
38 | 37 | <DocumentationFile>bin\Release\FSharp.Dynamic.XML</DocumentationFile> |
39 | 38 | </PropertyGroup> |
| 39 | + <PropertyGroup Condition=" $(UseNet40) == true "> |
| 40 | + <DocumentationFile>bin\Release.net40\FSharp.Dynamic.XML</DocumentationFile> |
| 41 | + </PropertyGroup> |
40 | 42 | <PropertyGroup> |
41 | 43 | <MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion> |
42 | 44 | </PropertyGroup> |
43 | | - <Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.Portable.FSharp.Targets" Condition="$(OS) == 'Windows_NT'" /> |
44 | | - <Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition="$(OS) != 'Windows_NT' And Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" /> |
45 | | - |
| 45 | + <Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.Portable.FSharp.Targets" Condition=" $(UseNet40) == false " /> |
| 46 | + <Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets" Condition="$(UseNet40) == true And Exists('$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets')" /> |
46 | 47 | <Import Project="$(SolutionDir)\.nuget\NuGet.targets" /> |
47 | 48 | <ItemGroup> |
48 | 49 | <Compile Include="AssemblyInfo.fs" /> |
49 | 50 | <Compile Include="Util.fs" /> |
50 | 51 | <Compile Include="Dynamic.fs" /> |
51 | 52 | <None Include="packages.config" /> |
52 | 53 | </ItemGroup> |
53 | | - <ItemGroup> |
| 54 | + |
| 55 | + <ItemGroup Condition=" $(UseNet40) == true " > |
54 | 56 | <Reference Include="Dynamitey"> |
55 | | - <HintPath>..\packages\Dynamitey.0.8.0.6\lib\portable-win+net45+sl40\Dynamitey.dll</HintPath> |
| 57 | + <HintPath>..\packages\Dynamitey.1.0.2.0\lib\net40\Dynamitey.dll</HintPath> |
56 | 58 | <Private>True</Private> |
57 | 59 | </Reference> |
| 60 | + <Reference Include="FSharp.Core"> |
| 61 | + <Name>FSharp.Core</Name> |
| 62 | + <AssemblyName>FSharp.Core.dll</AssemblyName> |
| 63 | + <HintPath>$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\FSharp\3.0\Runtime\v4.0\FSharp.Core.dll</HintPath> |
| 64 | + </Reference> |
| 65 | + </ItemGroup> |
| 66 | + <ItemGroup Condition=" $(UseNet40) == false "> |
58 | 67 | <Reference Include="FSharp.Core"> |
59 | 68 | <Name>FSharp.Core</Name> |
60 | 69 | <AssemblyName>FSharp.Core.dll</AssemblyName> |
61 | 70 | <HintPath>$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\FSharp\3.0\Runtime\.NETPortable\FSharp.Core.dll</HintPath> |
62 | 71 | </Reference> |
| 72 | + <Reference Include="Dynamitey"> |
| 73 | + <HintPath>..\packages\Dynamitey.1.0.2.0\lib\portable-win+net45+sl40+wp80\Dynamitey.dll</HintPath> |
| 74 | + <Private>True</Private> |
| 75 | + </Reference> |
63 | 76 | </ItemGroup> |
64 | | -<ItemGroup Condition="$(OS) != 'Windows_NT'"> |
| 77 | + <ItemGroup> |
65 | 78 | <Reference Include="Microsoft.CSharp" /> |
66 | 79 | <Reference Include="System" /> |
67 | 80 | <Reference Include="System.Core" /> |
|
0 commit comments