Skip to content

Commit 1bd2dd2

Browse files
committed
update csproj to .NET10
1 parent 6859ea1 commit 1bd2dd2

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

Numantics/Numantics.csproj

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<RootNamespace>Numantics</RootNamespace>
4+
<AssemblyName>Numantics</AssemblyName>
5+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
6+
<TargetFramework>net10.0</TargetFramework>
7+
<FileAlignment>512</FileAlignment>
8+
<LangVersion>12.0</LangVersion>
9+
<Nullable>enable</Nullable>
10+
<Deterministic>true</Deterministic>
11+
<!-- Change CopyToMods to true if you'd like builds to be moved into the Mods folder automatically-->
12+
<CopyToMods Condition="'$(CopyToMods)'==''">true</CopyToMods>
13+
<DebugType Condition="'$(Configuration)'=='Debug'">embedded</DebugType>
14+
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
15+
</PropertyGroup>
16+
17+
<PropertyGroup Condition="'$(ResonitePath)'==''">
18+
<!-- If you don't want to provide a ResonitePath in dotnet build, you can specify one here -->
19+
<ResonitePath>$(MSBuildThisFileDirectory)Resonite/</ResonitePath>
20+
<ResonitePath Condition="Exists('E:\SteamLibrary\steamapps\common\Resonite\')">E:\SteamLibrary\steamapps\common\Resonite\</ResonitePath>
21+
<ResonitePath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/Resonite/')">$(HOME)/.steam/steam/steamapps/common/Resonite/</ResonitePath>
22+
</PropertyGroup>
23+
24+
<ItemGroup>
25+
<Compile Remove="EngineRefs\**" />
26+
<EmbeddedResource Remove="EngineRefs\**" />
27+
<None Remove="EngineRefs\**" />
28+
</ItemGroup>
29+
30+
<ItemGroup>
31+
<None Remove=".txt" />
32+
</ItemGroup>
33+
34+
<ItemGroup>
35+
<Reference Include="0Harmony">
36+
<HintPath>E:\SteamLibrary\steamapps\common\Resonite\rml_libs\0Harmony.dll</HintPath>
37+
</Reference>
38+
<Reference Include="Elements.Core">
39+
<HintPath>E:\SteamLibrary\steamapps\common\Resonite\Elements.Core.dll</HintPath>
40+
</Reference>
41+
<Reference Include="FrooxEngine">
42+
<HintPath>E:\SteamLibrary\steamapps\common\Resonite\FrooxEngine.dll</HintPath>
43+
</Reference>
44+
<Reference Include="Renderite.Shared">
45+
<HintPath>E:\SteamLibrary\steamapps\common\Resonite\Renderite.Shared.dll</HintPath>
46+
</Reference>
47+
<Reference Include="ResoniteModLoader">
48+
<HintPath>E:\SteamLibrary\steamapps\common\Resonite\Libraries\ResoniteModLoader.dll</HintPath>
49+
</Reference>
50+
</ItemGroup>
51+
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CopyToMods)'=='true'">
52+
<Message Text="Attempting to copy $(TargetFileName) to $(ResonitePath)rml_mods" Importance="high" />
53+
<Copy SourceFiles="$(TargetDir)$(TargetFileName)" DestinationFolder="$(ResonitePath)rml_mods" ContinueOnError="true" />
54+
</Target>
55+
</Project>

0 commit comments

Comments
 (0)