-
Notifications
You must be signed in to change notification settings - Fork 7
/
UnityDebug.csproj
46 lines (38 loc) · 1.74 KB
/
UnityDebug.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net4.8</TargetFramework>
<LangVersion>preview</LangVersion>
<RootNamespace>Doorstop</RootNamespace>
<AssemblyName>Doorstop</AssemblyName>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<BaseOutputPath>$(ProjectDir)build\</BaseOutputPath>
<BuildPath>$(BaseOutputPath)$(Configuration)_$(Platform)\</BuildPath>
<OutputPath>$(BuildPath)Doorstop\</OutputPath>
<AssetsPath>$(ProjectDor)Assets\</AssetsPath>
<DoorstopBinaries>$(ProjectDir)Doorstop\</DoorstopBinaries>
<!-- AnyCPU won't copy doorstop binaries! -->
<Platforms>AnyCPU;x64;x86</Platforms>
<Configurations>Debug;Win;Linux;MacOS</Configurations>
</PropertyGroup>
<ItemGroup>
<!-- Check for updated Assets files -->
<UpToDateCheckInput Include="$(AssetsDir)**" />
<!-- Hide output -->
<Compile Remove="$(BaseOutputPath)**" />
<EmbeddedResource Remove="$(BaseOutputPath)**" />
<None Remove="$(BaseOutputPath)**" />
</ItemGroup>
<Import Project="$(SolutionDir)Shared.props.csproj" />
<ItemGroup>
<Reference Include="Mono.Cecil" HintPath="libs\Mono.Cecil.dll" />
<Reference Include="Mono.CompilerServices.SymbolWriter" HintPath="libs\Mono.CompilerServices.SymbolWriter.dll" />
<Reference Include="pdb2mdb" HintPath="libs\pdb2mdb.exe" />
</ItemGroup>
<Target Name="cleanup" AfterTargets="BeforeClean">
<Exec Command="rmdir /S /Q "$(BaseOutputPath)"" />
</Target>
<Target Name="postbuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy /Y /R /S /D /I "$(AssetsPath)" "$(BuildPath)"" />
<Exec Command="xcopy /Y /R /S /D /I "$(DoorstopBinaries)$(Configuration)\$(Platform)" "$(BuildPath)"" />
</Target>
</Project>