mirror of https://github.com/icsharpcode/ILSpy.git
3 changed files with 58 additions and 40 deletions
@ -1,42 +1,56 @@ |
|||||||
<Project Sdk="Microsoft.NET.Sdk"> |
<Project Sdk="Microsoft.NET.Sdk"> |
||||||
|
|
||||||
<PropertyGroup> |
<PropertyGroup> |
||||||
<TargetFramework>netstandard2.0</TargetFramework> |
<TargetFramework>netstandard2.0</TargetFramework> |
||||||
<AssemblyName>ICSharpCode.Decompiler</AssemblyName> |
<AssemblyName>ICSharpCode.Decompiler</AssemblyName> |
||||||
<RootNamespace>ICSharpCode.Decompiler</RootNamespace> |
<RootNamespace>ICSharpCode.Decompiler</RootNamespace> |
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
||||||
<SignAssembly>true</SignAssembly> |
<SignAssembly>true</SignAssembly> |
||||||
<AssemblyOriginatorKeyFile>ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile> |
<AssemblyOriginatorKeyFile>ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile> |
||||||
</PropertyGroup> |
</PropertyGroup> |
||||||
|
|
||||||
<ItemGroup> |
<ItemGroup> |
||||||
<Compile Remove="Ast\**" /> |
<Compile Remove="Ast\**" /> |
||||||
<EmbeddedResource Remove="Ast\**" /> |
<EmbeddedResource Remove="Ast\**" /> |
||||||
<None Remove="Ast\**" /> |
<None Remove="Ast\**" /> |
||||||
</ItemGroup> |
</ItemGroup> |
||||||
|
|
||||||
<ItemGroup> |
<ItemGroup> |
||||||
<Compile Remove="CodeMappings.cs" /> |
<Compile Remove="CodeMappings.cs" /> |
||||||
<Compile Remove="CSharp\Transforms\CombineQueryExpressions.cs" /> |
<Compile Remove="CSharp\Transforms\CombineQueryExpressions.cs" /> |
||||||
<Compile Remove="CSharp\Transforms\ExpressionTreeConverter.cs" /> |
<Compile Remove="CSharp\Transforms\ExpressionTreeConverter.cs" /> |
||||||
<Compile Remove="CSharp\Transforms\FlattenSwitchBlocks.cs" /> |
<Compile Remove="CSharp\Transforms\FlattenSwitchBlocks.cs" /> |
||||||
<Compile Remove="CSharp\Transforms\IntroduceQueryExpressions.cs" /> |
<Compile Remove="CSharp\Transforms\IntroduceQueryExpressions.cs" /> |
||||||
<Compile Remove="DecompilerException.cs" /> |
<Compile Remove="DecompilerException.cs" /> |
||||||
<Compile Remove="Properties\AssemblyInfo.template.cs" /> |
<Compile Remove="Properties\AssemblyInfo.template.cs" /> |
||||||
</ItemGroup> |
</ItemGroup> |
||||||
|
|
||||||
<ItemGroup> |
<ItemGroup> |
||||||
<PackageReference Include="System.Collections.Immutable" Version="1.4.0" /> |
<PackageReference Include="System.Collections.Immutable" Version="1.4.0" /> |
||||||
<PackageReference Include="System.ValueTuple" Version="4.4.0" /> |
<PackageReference Include="System.ValueTuple" Version="4.4.0" /> |
||||||
</ItemGroup> |
</ItemGroup> |
||||||
|
|
||||||
<ItemGroup> |
<ItemGroup> |
||||||
<ProjectReference Include="..\cecil\Mono.Cecil.csproj" /> |
<ProjectReference Include="..\cecil\Mono.Cecil.csproj" /> |
||||||
</ItemGroup> |
</ItemGroup> |
||||||
|
|
||||||
<ItemGroup> |
<ItemGroup> |
||||||
<Folder Include="Properties\" /> |
<Folder Include="Properties\" /> |
||||||
</ItemGroup> |
</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> |
</Project> |
Loading…
Reference in new issue