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.
93 lines
3.8 KiB
93 lines
3.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<IsWindowsX64 Condition="$([MSBuild]::IsOsPlatform('Windows')) And $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == X64">true</IsWindowsX64>
|
|
<IsWindowsARM64 Condition="$([MSBuild]::IsOsPlatform('Windows')) And $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == ARM64">true</IsWindowsARM64>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0-windows</TargetFramework>
|
|
<IsPackable>false</IsPackable>
|
|
<RuntimeIdentifier Condition="$(IsWindowsX64) == true">win-x64</RuntimeIdentifier>
|
|
<RuntimeIdentifier Condition="$(IsWindowsARM64) == true">win-arm64</RuntimeIdentifier>
|
|
<OutputType>Exe</OutputType>
|
|
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
|
|
<NoWarn>1701;1702;1705,67,169,1058,728,1720,649,168,251</NoWarn>
|
|
|
|
<EnableDefaultItems>false</EnableDefaultItems>
|
|
|
|
<RootNamespace>ICSharpCode.ILSpy.Tests</RootNamespace>
|
|
<AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>
|
|
|
|
<SignAssembly>True</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
<DebugType>full</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<DebugType>pdbonly</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DefineConstants>TRACE;DEBUG;NET46;ROSLYN;CS60;CS70</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="Analyzers\ExportAnalyzerAttributeTests.cs" />
|
|
<Compile Include="Analyzers\AnalyzerScopeTests.cs" />
|
|
<Compile Include="Analyzers\MemberImplementsInterfaceAnalyzerTests.cs" />
|
|
<Compile Include="Analyzers\MethodUsesAnalyzerTests.cs" />
|
|
<Compile Include="Analyzers\TestCases\MainAssembly.cs" />
|
|
<Compile Include="Analyzers\TypeUsedByAnalyzerTests.cs" />
|
|
<Compile Include="CommandLineArgumentsTests.cs" />
|
|
<Compile Include="ResourceReaderWriterTests.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Icon.ico" />
|
|
<EmbeddedResource Include="Test.resources" />
|
|
<EmbeddedResource Include="IconContainer.resx">
|
|
<Generator>ResXCodeGenerator</Generator>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="BitmapContainer.resources" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="DiffLib" />
|
|
<PackageReference Include="NSubstitute" />
|
|
<PackageReference Include="NSubstitute.Analyzers.CSharp">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="System.Collections.Immutable" />
|
|
<PackageReference Include="System.Reflection.Metadata" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
|
<PackageReference Include="NUnit3TestAdapter" />
|
|
<PackageReference Include="coverlet.collector">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="NUnit" />
|
|
<PackageReference Include="Shouldly" />
|
|
<PackageReference Include="Microsoft.Testing.Extensions.TrxReport" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj" />
|
|
<ProjectReference Include="..\ILSpy\ILSpy.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|