Browse Source

Fix up ILSpy.Tests + <Project> tag for all projects

pull/2642/head
Christoph Wille 3 years ago
parent
commit
a794a56a10
  1. 2
      ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj
  2. 9
      ILSpy.Tests/ILSpy.Tests.csproj
  3. 4
      ILSpy.Tests/Stub.cs
  4. 2
      ILSpy/ILSpy.csproj
  5. 4
      SharpTreeView/ICSharpCode.TreeView.csproj
  6. 2
      TestPlugin/TestPlugin.csproj

2
ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>ILSpy.ReadyToRun.Plugin</AssemblyName>

9
ILSpy.Tests/ILSpy.Tests.csproj

@ -3,6 +3,8 @@ @@ -3,6 +3,8 @@
<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<IsPackable>false</IsPackable>
<StartupObject>AutoGeneratedProgram</StartupObject>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
@ -12,9 +14,7 @@ @@ -12,9 +14,7 @@
<EnableDefaultItems>false</EnableDefaultItems>
<OutputType>Exe</OutputType>
<RootNamespace>ICSharpCode.ILSpy.Tests</RootNamespace>
<StartupObject>ICSharpCode.ILSpy.Tests.Stub</StartupObject>
<AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>
<SignAssembly>True</SignAssembly>
@ -53,6 +53,7 @@ @@ -53,6 +53,7 @@
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" Version="$(RoslynVersion)" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(MicrosoftNETTestSdkVersion)" />
<PackageReference Include="NUnit3TestAdapter" Version="$(NUnitAdapterVersion)" />
<PackageReference Include="coverlet.collector" Version="$(CoverletCollectorVersion)" />
<PackageReference Include="NUnit" Version="$(NUnitVersion)" />
<PackageReference Include="Moq" Version="$(MoqVersion)" />
</ItemGroup>
@ -62,8 +63,4 @@ @@ -62,8 +63,4 @@
<ProjectReference Include="..\ILSpy\ILSpy.csproj" />
</ItemGroup>
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
</Project>

4
ILSpy.Tests/Stub.cs

@ -22,10 +22,6 @@ namespace ICSharpCode.ILSpy.Tests @@ -22,10 +22,6 @@ namespace ICSharpCode.ILSpy.Tests
{
public static class Stub
{
static void Main(string[] args)
{
}
static readonly object sync = new object();
internal static void SetupApplication()

2
ILSpy/ILSpy.csproj

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>

4
SharpTreeView/ICSharpCode.TreeView.csproj

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<UseWpf>true</UseWpf>
@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
<TargetFramework>net6.0-windows</TargetFramework>
<AssemblyOriginatorKeyFile>..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>

2
TestPlugin/TestPlugin.csproj

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<AssemblyName>Test.Plugin</AssemblyName>

Loading…
Cancel
Save