-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup Riok.Mapperly.TestDependency.csproj
- Loading branch information
Showing
1 changed file
with
0 additions
and
28 deletions.
There are no files selected for viewing
28 changes: 0 additions & 28 deletions
28
test/Riok.Mapperly.TestDependency/Riok.Mapperly.TestDependency.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,3 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<!-- setting the TargetFramework directly from the cli via -p:TargetFramework=netA.B does not work using a custom msbuild property seems to work --> | ||
<MapperlyIntegrationTestsTargetFramework Condition="'$(MapperlyIntegrationTestsTargetFramework)' == ''">net8.0</MapperlyIntegrationTestsTargetFramework> | ||
<TargetFramework>$(MapperlyIntegrationTestsTargetFramework)</TargetFramework> | ||
|
||
<!-- Not supported in .NET Framework --> | ||
<ImplicitUsings>disable</ImplicitUsings> | ||
|
||
<!-- .NET Framework 4.8 defaults to lang version 7.3, but we want to test nullable features. These are available in 8.0. | ||
To also use init-only properties, we upgrade to lang version 9.0, which is works, but is not officially supported. --> | ||
<LangVersion Condition="'$(TargetFramework)' == 'net48'">9.0</LangVersion> | ||
<IsTestProject>false</IsTestProject> | ||
</PropertyGroup> | ||
|
||
<!-- diffplex is only compatible with net7.0 up to 2.x--> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0' OR '$(TargetFramework)' == 'net6.0'"> | ||
<PackageReference Update="Verify.DiffPlex" Version="2.2.1" /> | ||
</ItemGroup> | ||
|
||
<!-- cannot use source generated polyfills since they require language version 11 --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'net48'"> | ||
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" /> | ||
<PackageReference Include="Portable.System.DateTimeOnly" Version="8.0.0" /> | ||
<PackageReference Include="IsExternalInit" Version="1.0.3"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
</Project> |