|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 3 | + |
| 4 | + <PropertyGroup> |
| 5 | + <OutputType>Exe</OutputType> |
| 6 | + <TargetFrameworks>net7.0</TargetFrameworks> |
| 7 | + <!-- Workaround to get rid of: |
| 8 | + error NU1505: Duplicate 'PackageDownload' items found. |
| 9 | + Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. |
| 10 | + The duplicate 'PackageDownload' items are: |
| 11 | + Microsoft.NETCore.App.Host.win-x64 [6.0.2], Microsoft.NETCore.App.Host.win-x64 [6.0.2], Microsoft.NETCore.App.Host.win-x64 [6.0.2], Microsoft.NETCore.App.Host.win-x64 [6.0.2]. |
| 12 | + --> |
| 13 | + <NoWarn>$(NoWarn);NU1505</NoWarn> |
| 14 | + <NoWarn>$(NoWarn);44;75;</NoWarn> |
| 15 | + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| 16 | + <GenerateProgramFile>false</GenerateProgramFile> |
| 17 | + <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference> |
| 18 | + <UnitTestType>nunit</UnitTestType> |
| 19 | + <RootNamespace>FSharp.Compiler.Service.Tests</RootNamespace> |
| 20 | + </PropertyGroup> |
| 21 | + |
| 22 | + <ItemGroup> |
| 23 | + <Compile Include="..\service\FsUnit.fs"> |
| 24 | + <Link>FsUnit.fs</Link> |
| 25 | + </Compile> |
| 26 | + <Compile Include="..\service\Common.fs"> |
| 27 | + <Link>Common.fs</Link> |
| 28 | + </Compile> |
| 29 | + <Compile Include="TypeTests.fs" /> |
| 30 | + <Compile Include="..\service\Program.fs"> |
| 31 | + <Link>Program.fs</Link> |
| 32 | + </Compile> |
| 33 | + </ItemGroup> |
| 34 | + |
| 35 | + <ItemGroup> |
| 36 | + <PackageReference Include="Dotnet.ProjInfo" Version="0.37.0" /> |
| 37 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" /> |
| 38 | + <!-- Force a newer Newtonsoft.Json version to avoid conflicts. --> |
| 39 | + <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" /> |
| 40 | + <ProjectReference Include="..\..\src\Compiler\FSharp.Compiler.Service.fsproj" /> |
| 41 | + <ProjectReference Include="..\..\tests\FSharp.Test.Utilities\FSharp.Test.Utilities.fsproj" /> |
| 42 | + </ItemGroup> |
| 43 | + |
| 44 | +</Project> |
0 commit comments