forked from ScalarVector1/DragonLens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDragonLens.csproj
33 lines (31 loc) · 1.3 KB
/
DragonLens.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
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\tModLoader.targets" />
<PropertyGroup>
<AssemblyName>DragonLens</AssemblyName>
<TargetFramework>net6.0</TargetFramework>
<PlatformTarget>AnyCPU</PlatformTarget>
<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="tModLoader.CodeAssist" Version="0.1.*" />
</ItemGroup>
<ItemGroup>
<Reference Include="StructureHelper">
<HintPath>lib\StructureHelper.dll</HintPath>
</Reference>
</ItemGroup>
</Project>