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.
56 lines
2.2 KiB
56 lines
2.2 KiB
<Project Sdk="Microsoft.NET.Sdk"> |
|
|
|
<PropertyGroup> |
|
<TargetFramework>netstandard2.0</TargetFramework> |
|
<AssemblyName>ICSharpCode.Decompiler</AssemblyName> |
|
<RootNamespace>ICSharpCode.Decompiler</RootNamespace> |
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
|
<SignAssembly>true</SignAssembly> |
|
<AssemblyOriginatorKeyFile>ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile> |
|
</PropertyGroup> |
|
|
|
<ItemGroup> |
|
<Compile Remove="Ast\**" /> |
|
<EmbeddedResource Remove="Ast\**" /> |
|
<None Remove="Ast\**" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<Compile Remove="CodeMappings.cs" /> |
|
<Compile Remove="CSharp\Transforms\CombineQueryExpressions.cs" /> |
|
<Compile Remove="CSharp\Transforms\ExpressionTreeConverter.cs" /> |
|
<Compile Remove="CSharp\Transforms\FlattenSwitchBlocks.cs" /> |
|
<Compile Remove="CSharp\Transforms\IntroduceQueryExpressions.cs" /> |
|
<Compile Remove="DecompilerException.cs" /> |
|
<Compile Remove="Properties\AssemblyInfo.template.cs" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<PackageReference Include="System.Collections.Immutable" Version="1.4.0" /> |
|
<PackageReference Include="System.ValueTuple" Version="4.4.0" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<ProjectReference Include="..\cecil\Mono.Cecil.csproj" /> |
|
</ItemGroup> |
|
|
|
<ItemGroup> |
|
<Folder Include="Properties\" /> |
|
</ItemGroup> |
|
|
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent"> |
|
<PropertyGroup> |
|
<UpdateAssemblyInfo>UpdateAssemblyInfo.exe</UpdateAssemblyInfo> |
|
<UpdateAssemblyInfo Condition="$(OS)=='Unix'">mono $(UpdateAssemblyInfo)</UpdateAssemblyInfo> |
|
</PropertyGroup> |
|
<MSBuild Projects="$(MSBuildProjectDirectory)\..\BuildTools\UpdateAssemblyInfo\UpdateAssemblyInfo.csproj" Targets="Build" Properties="Configuration=Debug" /> |
|
<Exec WorkingDirectory="$(MSBuildProjectDirectory)\..\BuildTools\UpdateAssemblyInfo\bin\Debug" Command="$(UpdateAssemblyInfo) --branchname $(BranchName)" Timeout="60000" Condition=" '$(BranchName)' != '' " /> |
|
<Exec WorkingDirectory="$(MSBuildProjectDirectory)\..\BuildTools\UpdateAssemblyInfo\bin\Debug" Command="$(UpdateAssemblyInfo)" Timeout="60000" Condition=" '$(BranchName)' == '' " /> |
|
</Target> |
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
|
<Exec Command="del /F /S /Q $(ProjectDir)\obj" /> |
|
</Target> |
|
|
|
</Project> |