1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >netcoreapp1.0</TargetFramework >
4
- <DefineConstants >$(DefineConstants);DOTNETCORE;FX_ATLEAST_45;FX_ATLEAST_PORTABLE;FX_NO_RUNTIMEENVIRONMENT;FX_RESHAPED_REFLECTION;TODO_REWORK_ASSEMBLY_LOAD;</DefineConstants >
3
+ <TargetFramework >netcoreapp2.0</TargetFramework >
4
+ <DefineConstants >$(DefineConstants);DOTNETCORE</DefineConstants >
5
+ <DefineConstants >$(DefineConstants);FX_ATLEAST_45</DefineConstants >
6
+ <DefineConstants >$(DefineConstants);FX_ATLEAST_PORTABLE</DefineConstants >
7
+ <DefineConstants >$(DefineConstants);FX_NO_RUNTIMEENVIRONMENT</DefineConstants >
8
+ <DefineConstants >$(DefineConstants);FX_RESHAPED_REFLECTION</DefineConstants >
9
+ <DefineConstants >$(DefineConstants);NO_EXTENSIONTYPING</DefineConstants >
10
+ <DefineConstants >$(DefineConstants);TODO_REWORK_ASSEMBLY_LOAD</DefineConstants >
5
11
<NoWarn >$(NoWarn);44;</NoWarn >
6
12
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
7
13
<DelaySign >true</DelaySign >
36
42
<!-- <Compile Include="../service/ProjectAnalysisTests.fs">
37
43
<Link>ProjectAnalysisTests.fs</Link>
38
44
</Compile>-->
45
+ <Compile Include =" ../../tests/service/Program.fs" >
46
+ <Link >Program.fs</Link >
47
+ </Compile >
39
48
</ItemGroup >
40
49
<ItemGroup >
41
50
<ProjectReference Include =" ../FSharp.Compiler.Service.netstandard/FSharp.Compiler.Service.netstandard.fsproj" />
42
51
</ItemGroup >
43
52
<ItemGroup >
44
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.0.0" />
45
- <PackageReference Include =" NUnit3TestAdapter" Version =" 3.8.0" />
46
- <PackageReference Include =" NUnitLite" Version =" 3.6.1" />
47
- <PackageReference Include =" NUnit" Version =" 3.6.1" />
48
- <PackageReference Include =" FSharp.Core" Version =" 4.1.*" PrivateAssets =" All" />
49
- <PackageReference Include =" System.Runtime" Version =" 4.3.0" />
50
- <PackageReference Include =" System.Reflection.Emit" Version =" 4.3.0" />
51
- <PackageReference Include =" System.Reflection.Metadata" Version =" 1.4.1" />
52
- <PackageReference Include =" System.Reflection.TypeExtensions" Version =" 4.3.0" />
53
- <PackageReference Include =" System.Runtime.Loader" Version =" 4.3.0" />
54
- <PackageReference Include =" Dotnet.ProjInfo" Version =" 0.5.0" />
53
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.5.0" />
54
+ <PackageReference Include =" NUnit" Version =" 3.9.0" />
55
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 3.9.0" />
56
+ <PackageReference Include =" Dotnet.ProjInfo" Version =" 0.9.0" />
55
57
</ItemGroup >
56
58
<Target Name =" PrecompileScript" BeforeTargets =" BeforeBuild" >
57
- <Exec Command =" dotnet restore " $(MSBuildProjectDirectory)/../../tests/projects/Sample_NETCoreSDK_FSharp_Library_netstandard1.6/Sample_NETCoreSDK_FSharp_Library_netstandard1.6 .fsproj" " />
58
- <Exec Command =" dotnet build " $(MSBuildProjectDirectory)/../../tests/projects/Sample_NETCoreSDK_FSharp_Library_netstandard1.6/Sample_NETCoreSDK_FSharp_Library_netstandard1.6 .fsproj" " />
59
+ <Exec Command =" dotnet restore " $(MSBuildProjectDirectory)/../../tests/projects/Sample_NETCoreSDK_FSharp_Library_netstandard2_0/Sample_NETCoreSDK_FSharp_Library_netstandard2_0 .fsproj" " />
60
+ <Exec Command =" dotnet build " $(MSBuildProjectDirectory)/../../tests/projects/Sample_NETCoreSDK_FSharp_Library_netstandard2_0/Sample_NETCoreSDK_FSharp_Library_netstandard2_0 .fsproj" " />
59
61
</Target >
60
62
</Project >
0 commit comments