bluebonnet/Main/Main.csproj
2020-08-26 11:23:24 +03:00

67 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{D7598537-16B1-4DB7-903A-4D553414F390}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>SpaceFlint.Main</RootNamespace>
<AssemblyName>Main</AssemblyName>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<StartupObject />
</PropertyGroup>
<Import Project="..\Solution.project" />
<ItemGroup>
<Reference Include="Mono.Cecil, Version=0.11.2.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.11.2\lib\net40\Mono.Cecil.dll</HintPath>
</Reference>
<Reference Include="Mono.Cecil.Mdb, Version=0.11.2.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.11.2\lib\net40\Mono.Cecil.Mdb.dll</HintPath>
</Reference>
<Reference Include="Mono.Cecil.Pdb, Version=0.11.2.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.11.2\lib\net40\Mono.Cecil.Pdb.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.IO.Compression" />
<ProjectReference Include="..\CilToJava\CilToJava.csproj">
<Project>{c2990a34-7671-42d0-a989-138ad9d08b2c}</Project>
<Name>CilToJava</Name>
</ProjectReference>
<ProjectReference Include="..\JavaBinary\JavaBinary.csproj">
<Project>{e9ad82d2-f50f-47d0-af81-98fae604d910}</Project>
<Name>JavaBinary</Name>
</ProjectReference>
<None Include="App.config" />
<None Include="packages.config" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="src\**\*.cs" />
</ItemGroup>
<!-- since ILMerge always runs unconditionally, we wrap it in a secondary project file,
and invoke it only if the output assembly was actually modified -->
<PropertyGroup Condition=" '$(InvokedForMerge)' == ''">
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
<Target Name="RunMergeBuild" AfterTargets="AfterBuild"
Condition=" '$(InvokedForMerge)' == '' and '$(_AssemblyTimestampBeforeCompile)' != '$(_AssemblyTimestampAfterCompile)'">
<Message Text="Running ILMerge" />
<MSBuild Projects="Merge.project" Properties="InvokedForMerge=true" />
</Target>
<!-- copy the executable to the top-level output directory -->
<Target Name="CopyMergedExecutableToSolutionOutputDirectory" AfterTargets="RunMergeBuild">
<Copy SkipUnchangedFiles="true" SourceFiles="$(TargetPath)" DestinationFiles="$(ObjDir)Bluebonnet.exe"/>
</Target>
<Target Name="CleanExecutableInSolutionOutputDirectory" AfterTargets="Clean">
<Delete Files="$(ObjDir)Bluebonnet.exe" />
<Delete Files="$(ObjDir)Bluebonnet" />
</Target>
</Project>