-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathRenderideMod.csproj
More file actions
38 lines (35 loc) · 1.81 KB
/
Copy pathRenderideMod.csproj
File metadata and controls
38 lines (35 loc) · 1.81 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>14.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>RenderideMod</RootNamespace>
<AssemblyName>RenderideMod</AssemblyName>
<!-- Change CopyToMods to true if you'd like builds to be moved into the Mods folder automatically-->
<CopyToMods Condition="'$(CopyToMods)'==''">true</CopyToMods>
</PropertyGroup>
<PropertyGroup Condition="'$(ResonitePath)'==''">
<!-- If you don't want to provide a ResonitePath in dotnet build, you can specify one here -->
<ResonitePath>$(MSBuildThisFileDirectory)Resonite/</ResonitePath>
<ResonitePath Condition="Exists('C:\Program Files (x86)\Steam\steamapps\common\Resonite\')">C:\Program Files (x86)\Steam\steamapps\common\Resonite\</ResonitePath>
<ResonitePath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/Resonite/')">$(HOME)/.steam/steam/steamapps/common/Resonite/</ResonitePath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ResoniteModLoader" Version="5.0.1" />
<PackageReference Include="Lib.Harmony" Version="2.4.2" />
<Reference Include="FrooxEngine">
<HintPath>$(ResonitePath)FrooxEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Renderite.Shared">
<HintPath>$(ResonitePath)Renderite.Shared.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CopyToMods)'=='true'">
<Message Text="Attempting to copy $(TargetFileName) to $(ResonitePath)rml_mods" Importance="high" />
<Copy SourceFiles="$(TargetDir)$(TargetFileName)" DestinationFolder="$(ResonitePath)rml_mods" ContinueOnError="true" />
</Target>
</Project>