Dnspy/dnSpy/dnSpy.Console/dnSpy.Console.csproj
2021-09-20 18:20:01 +02:00

63 lines
2.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<!-- Target dir is the same as dnSpy.exe so we'll overwrite some files when creating
a self-contained .NET app (System.Security.Permissions (wrong lower version), WindowsBase
(wrong file (15KB, should be 1.1MB))).
The workaround is to add WindowsDesktop above.
-->
<Import Project="..\..\DnSpyCommon.props" />
<PropertyGroup>
<Copyright>$(DnSpyAssemblyCopyright)</Copyright>
<Version>$(DnSpyAssemblyVersion)</Version>
<InformationalVersion>$(DnSpyAssemblyInformationalVersion)</InformationalVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\dnSpy.snk</AssemblyOriginatorKeyFile>
<OutputPath>..\dnSpy\bin\$(Configuration)\</OutputPath>
<Nullable>enable</Nullable>
<RuntimeIdentifiers>$(DnSpyRuntimeIdentifiers)</RuntimeIdentifiers>
<OutputType>Exe</OutputType>
<Prefer32Bit>false</Prefer32Bit>
<PlatformTarget>AnyCPU</PlatformTarget>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\dnSpy\MainApp\DotNetAssemblyLoader.cs" Link="DotNetAssemblyLoader.cs" />
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\dnSpy.Console.Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>dnSpy.Console.Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\dnSpy.Console.Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>dnSpy.Console.Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="..\dnSpy\app.config" Condition=" '$(IsDotNetFramework)' == 'true' " >
<Link>app.config</Link>
</None>
<None Include="..\dnSpy\app.manifest">
<Link>app.manifest</Link>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\dnSpy.Contracts.Logic\dnSpy.Contracts.Logic.csproj" />
<ProjectReference Include="..\dnSpy.Decompiler\dnSpy.Decompiler.csproj" />
</ItemGroup>
</Project>