@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Project>
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
<Import Condition=" '$(OS)' == 'Windows_NT' " Sdk="Microsoft.NET.Sdk" Project="Sdk.props" />
<PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<TargetFramework Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0</TargetFramework>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">netstandard2.0;net461</TargetFrameworks>
<Description>IL decompiler engine</Description>
<Description>IL decompiler engine</Description>
<Company>ic#code</Company>
<Company>ic#code</Company>
@ -19,8 +20,9 @@
<SignAssembly>True</SignAssembly>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
</PropertyGroup>
<PropertyGroup>
<!-- HACK: Disable package generation on Unix due to tooling issues. -->
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSymbols>true</IncludeSymbols>
<NuspecFile>ICSharpCode.Decompiler.nuspec</NuspecFile>
<NuspecFile>ICSharpCode.Decompiler.nuspec</NuspecFile>
@ -560,12 +562,12 @@
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
</ItemGroup>
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Import Condition=" '$(OS)' == 'Windows_NT' " Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" />
<Target Name="BeforeBuild">
<Target Name="BeforeBuild">
<PropertyGroup>
<PropertyGroup>
<UpdateAssemblyInfo>powershell.exe -NoProfile -ExecutionPolicy Bypass -File $(SolutionDir)\BuildTools\update-assemblyinfo.ps1</UpdateAssemblyInfo>
<UpdateAssemblyInfo>powershell.exe -NoProfile -ExecutionPolicy Bypass -File $(SolutionDir)\BuildTools\update-assemblyinfo.ps1</UpdateAssemblyInfo>
<UpdateAssemblyInfo Condition="$(OS)=='Unix'">mono $(UpdateAssemblyInfo) </UpdateAssemblyInfo>
<UpdateAssemblyInfo Condition="$(OS)=='Unix'">powershell -NoProfile -ExecutionPolicy Bypass -File $(SolutionDir)\BuildTools\update-assemblyinfo.ps1 </UpdateAssemblyInfo>
</PropertyGroup>
</PropertyGroup>
<Exec WorkingDirectory="$(SolutionDir)" Command="$(UpdateAssemblyInfo)" Timeout="60000" />
<Exec WorkingDirectory="$(SolutionDir)" Command="$(UpdateAssemblyInfo)" Timeout="60000" />
</Target>
</Target>