Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cae428c

Browse files
Use .NET core for tests (Instead of Mono/monolithic)
1 parent 72f1a11 commit cae428c

File tree

1 file changed

+7
-70
lines changed

1 file changed

+7
-70
lines changed

test/Test1/Test1.fsproj

Lines changed: 7 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,13 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
33
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
6-
<ProductVersion>8.0.30703</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{116cc2f9-f987-4b3d-915a-34cac04a73da}</ProjectGuid>
94
<OutputType>Exe</OutputType>
10-
<RootNamespace>Test1</RootNamespace>
11-
<AssemblyName>Test1</AssemblyName>
12-
<Name>Test1</Name>
13-
<UsePartialTypes>False</UsePartialTypes>
14-
<BuildOrder>
15-
<BuildOrder>
16-
<String>Program.fs</String>
17-
</BuildOrder>
18-
</BuildOrder>
19-
<TargetFSharpCoreVersion>4.3.0.0</TargetFSharpCoreVersion>
20-
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
5+
<TargetFramework>netcoreapp2.2</TargetFramework>
216
</PropertyGroup>
22-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
23-
<DebugSymbols>True</DebugSymbols>
24-
<DebugType>full</DebugType>
25-
<Optimize>False</Optimize>
26-
<Tailcalls>False</Tailcalls>
27-
<OutputPath>bin\Debug\</OutputPath>
28-
<DefineConstants>DEBUG;TRACE</DefineConstants>
29-
<WarningLevel>3</WarningLevel>
30-
<PlatformTarget>x86</PlatformTarget>
31-
<DocumentationFile>bin\Debug\Test1.XML</DocumentationFile>
32-
</PropertyGroup>
33-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
34-
<DebugType>pdbonly</DebugType>
35-
<Optimize>True</Optimize>
36-
<Tailcalls>True</Tailcalls>
37-
<OutputPath>bin\Release\</OutputPath>
38-
<DefineConstants>TRACE</DefineConstants>
39-
<WarningLevel>3</WarningLevel>
40-
<PlatformTarget>x86</PlatformTarget>
41-
<DocumentationFile>bin\Release\Test1.XML</DocumentationFile>
42-
<DebugSymbols>False</DebugSymbols>
43-
</PropertyGroup>
44-
<ItemGroup>
45-
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
46-
<Private>True</Private>
47-
</Reference>
48-
<Reference Include="mscorlib" />
49-
<Reference Include="System" />
50-
<Reference Include="System.Core" />
51-
</ItemGroup>
7+
528
<ItemGroup>
53-
<Compile Include="FileTwo.fs" />
549
<Compile Include="Program.fs" />
10+
<Compile Include="FileTwo.fs" />
5511
</ItemGroup>
56-
<Choose>
57-
<When Condition="'$(VisualStudioVersion)' == '11.0'">
58-
<PropertyGroup>
59-
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets</FSharpTargetsPath>
60-
</PropertyGroup>
61-
</When>
62-
<Otherwise>
63-
<PropertyGroup>
64-
<FSharpTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets</FSharpTargetsPath>
65-
</PropertyGroup>
66-
</Otherwise>
67-
</Choose>
68-
<Import Project="$(FSharpTargetsPath)" Condition="Exists('$(FSharpTargetsPath)')" />
69-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
70-
Other similar extension points exist, see Microsoft.Common.targets.
71-
<Target Name="BeforeBuild">
72-
</Target>
73-
<Target Name="AfterBuild">
74-
</Target>
75-
-->
76-
</Project>
12+
13+
</Project>

0 commit comments

Comments
 (0)