-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNMLServer.csproj
More file actions
60 lines (54 loc) · 2.54 KB
/
NMLServer.csproj
File metadata and controls
60 lines (54 loc) · 2.54 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>13</LangVersion>
<RootNamespace>NMLServer</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<OutputPath>built\Release</OutputPath>
<DebugType>none</DebugType>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<PublishAOT>true</PublishAOT>
<PublishTrimmed>true</PublishTrimmed>
<!-- <TrimmerSingleWarn>false</TrimmerSingleWarn> -->
<DebuggerSupport>false</DebuggerSupport>
<UseSystemResourceKeys>true</UseSystemResourceKeys>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<OutputPath>built\Debug</OutputPath>
<DefineConstants>TREE_VISUALIZER_ENABLED</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<PackageReference Include="ErrorProne.NET.CoreAnalyzers">
<Version>0.8.0-beta.1</Version>
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ErrorProne.NET.Structs">
<Version>0.6.1-beta.1</Version>
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="DotNetGraph">
<Version>3.3.0</Version>
</PackageReference>
<PackageReference Include="EmmyLua.LanguageServer.Framework">
<Version>0.8.1</Version>
</PackageReference>
</ItemGroup>
<Target Name="CopyGrammarSources" AfterTargets="AfterBuild">
<ItemGroup>
<GrammarSourceFiles Include="./grammar/*.txt" />
</ItemGroup>
<Copy SourceFiles="@(GrammarSourceFiles)" DestinationFolder="$(OutDir)/grammar" SkipUnchangedFiles="true" Condition="'$(Configuration)' == 'Debug'" />
<Copy SourceFiles="@(GrammarSourceFiles)" DestinationFolder="$(PublishDir)/grammar" SkipUnchangedFiles="true" Condition="'$(Configuration)' == 'Release'" />
</Target>
</Project>