mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
2.5 KiB
52 lines
2.5 KiB
<Project Sdk="Microsoft.NET.Sdk"> |
|
|
|
<PropertyGroup> |
|
<TargetFramework>net11.0</TargetFramework> |
|
<OutputType>Exe</OutputType> |
|
<Nullable>enable</Nullable> |
|
<IsPackable>false</IsPackable> |
|
<RootNamespace>ICSharpCode.ILSpy.Tests</RootNamespace> |
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault> |
|
|
|
<!-- Strong-named with the shared snk so ICSharpCode.ILSpyX can grant |
|
InternalsVisibleTo for the analyzer-library tests (mirrors ILSpy.Tests). --> |
|
<SignAssembly>True</SignAssembly> |
|
<AssemblyOriginatorKeyFile>..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile> |
|
</PropertyGroup> |
|
|
|
<ItemGroup> |
|
<PackageReference Include="Avalonia" /> |
|
<PackageReference Include="Avalonia.Headless.NUnit" /> |
|
<PackageReference Include="Avalonia.Themes.Simple" /> |
|
<PackageReference Include="NUnit" /> |
|
<PackageReference Include="NUnit3TestAdapter" /> |
|
<PackageReference Include="coverlet.MTP" /> |
|
<PackageReference Include="Microsoft.Testing.Extensions.TrxReport" /> |
|
<PackageReference Include="Microsoft.Testing.Extensions.VSTestBridge" /> |
|
<PackageReference Include="AwesomeAssertions" /> |
|
<PackageReference Include="NSubstitute" /> |
|
</ItemGroup> |
|
|
|
<!-- A real reference assembly to test navigation against: the compiler writes one for this |
|
project, carrying the ReferenceAssembly attribute and the same members as the output |
|
assembly, which is exactly the pair a targeting pack and its runtime form. Copying it |
|
next to the tests keeps the fixture off machine-specific NuGet paths. --> |
|
<PropertyGroup> |
|
<ProduceReferenceAssembly>true</ProduceReferenceAssembly> |
|
</PropertyGroup> |
|
|
|
<Target Name="CopyReferenceAssemblyFixture" AfterTargets="Build" Inputs="@(IntermediateRefAssembly)" |
|
Outputs="$(OutDir)ReferenceAssemblyFixture\$(TargetFileName)"> |
|
<MakeDir Directories="$(OutDir)ReferenceAssemblyFixture" /> |
|
<Copy SourceFiles="@(IntermediateRefAssembly)" DestinationFolder="$(OutDir)ReferenceAssemblyFixture" /> |
|
</Target> |
|
|
|
<ItemGroup> |
|
<ProjectReference Include="..\ILSpy\ILSpy.csproj" /> |
|
<!-- Build the sample plugin so the composition test has something to load, but DON'T copy |
|
Test.Plugin.dll into the test output: AppComposition scans *.Plugin.dll next to the test |
|
assembly, and an auto-loaded plugin would add a language / menu items to every headless test. --> |
|
<ProjectReference Include="..\TestPlugin\TestPlugin.csproj" ReferenceOutputAssembly="false" Private="false" /> |
|
</ItemGroup> |
|
|
|
</Project>
|
|
|