-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDragonLens.csproj
More file actions
40 lines (38 loc) · 1.69 KB
/
DragonLens.csproj
File metadata and controls
40 lines (38 loc) · 1.69 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
40
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\tModLoader.targets" />
<PropertyGroup>
<AssemblyName>DragonLens</AssemblyName>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Set the correct dotnet path to use based on platform. On Windows, it's
dotnet.exe, on Linux it's dotnet. Unsure of the path on Mac. If there
is ever a need to differentiate, switch to using
$([MSBuild]::IsOSPlatform('PLATFORM_HERE')) instead.
This is needed because, despite Visual Studio handling extensions,
editors such as Rider do not. A more fully-qualified name has to be
given instead. -->
<DotNetPath Condition=" '$(OS)' == 'Windows_NT' ">dotnet.exe</DotNetPath>
<DotNetPath Condition=" '$(OS)' == 'Unix' ">dotnet</DotNetPath>
<!-- Fallback. -->
<DotNetPath Condition=" '$(DotNetPath)' == '' ">dotnet</DotNetPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.2" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<Reference Update="$(tMLSteamPath)$(tMLPath)" Publicize="true" />
<Reference Update="$(tMLSteamPath)\Libraries\ReLogic\1.0.0\ReLogic.dll" Publicize="true" />
<Reference Update="$(tMLSteamPath)\Libraries\FNA\1.0.0\FNA.dll" Publicize="true" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AssGen" Version="3.0.1" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
<ItemGroup>
<Reference Include="StructureHelper">
<HintPath>lib\StructureHelper.dll</HintPath>
</Reference>
</ItemGroup>
</Project>