-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdvNoCableMU.csproj
More file actions
39 lines (32 loc) · 1.42 KB
/
Copy pathdvNoCableMU.csproj
File metadata and controls
39 lines (32 loc) · 1.42 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<AssemblyName>dvNoCableMU</AssemblyName>
<Description>Synchronize locomotives without connecting them!</Description>
<Version>1.1.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<RootNamespace>dvNoCableMU</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp"/>
<Reference Include="DV.Simulation"/>
<Reference Include="DV.ThingTypes"/>
<Reference Include="DV.Utils"/>
<Reference Include="UnityEngine.UI"/>
<Reference Include="UnityEngine.IMGUIModule"/>
<Reference Include="UnityEngine"/>
<Reference Include="UnityEngine.CoreModule"/>
<PackageReference Include="UnityModManager" Version="0.27.2"/>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<!-- Copy to build folder -->
<Copy SourceFiles="$(TargetPath)" DestinationFolder="build/"/>
<!-- Package after Release build -->
<Exec Condition="'$(ConfigurationName)' == 'Release' And '$(OS)' == 'Windows_NT'" Command="powershell -executionpolicy bypass -Command "(./package.ps1)""/>
<Exec Condition="'$(ConfigurationName)' == 'Release' And '$(OS)' != 'Windows_NT'" Command="pwsh -Command "(./package.ps1)""/>
</Target>
</Project>