-
Notifications
You must be signed in to change notification settings - Fork 255
/
Copy pathUndertaleModLib.csproj
100 lines (99 loc) · 4.86 KB
/
UndertaleModLib.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
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>11</LangVersion>
<OutputType>Library</OutputType>
<!-- AssemblyInfo -->
<AssemblyTitle>UndertaleModLib</AssemblyTitle>
<ProductName>UndertaleModLib</ProductName>
<Copyright>Copyright © 2018-2025, licensed under GPLv3</Copyright>
<AssemblyVersion>0.7.0.0</AssemblyVersion>
<FileVersion>0.7.0.0</FileVersion>
<DebugType>embedded</DebugType>
<Platforms>AnyCPU;x64</Platforms>
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers>
<NeutralLanguage>en</NeutralLanguage>
<ResourceLanguages>en</ResourceLanguages>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<!-- Suppress all missing XML comment warnings -->
<NoWarn>1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Fody" Version="6.9.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="14.6.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" />
<PackageReference Include="SharpZipLib" Version="1.4.2" />
</ItemGroup>
<ItemGroup>
<None Remove="GameSpecificData\Definitions\deltarune.json" />
<None Remove="GameSpecificData\Definitions\gamemaker.json" />
<None Remove="GameSpecificData\Definitions\undertale.json" />
<None Remove="GameSpecificData\deltarune.json" />
<None Remove="GameSpecificData\empty.json" />
<None Remove="GameSpecificData\gamemaker.json" />
<None Remove="GameSpecificData\README.txt" />
<None Remove="GameSpecificData\undertale.json" />
<None Remove="version.txt" />
</ItemGroup>
<ItemGroup>
<None Remove="gitversion.txt" />
<Content Include="GameSpecificData\README.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="GameSpecificData\Underanalyzer\deltarune.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="GameSpecificData\Underanalyzer\template.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="GameSpecificData\Underanalyzer\gamemaker.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="GameSpecificData\Underanalyzer\undertale.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="GameSpecificData\Definitions\deltarune.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="GameSpecificData\Definitions\gamemaker.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="GameSpecificData\Definitions\undertale.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<EmbeddedResource Include="gitversion.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Underanalyzer\Underanalyzer\Underanalyzer.csproj" />
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>UndertaleModLibTests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<!--A prebuild responsible for creating a git commit name and branch name -->
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<!--Create the gitversion.txt file first, in case any of the later commands fail -->
<Exec Command="echo "" > "$(ProjectDir)/gitversion.txt"" IgnoreExitCode="true" />
<!--If on Windows check if git is in PATH-->
<Exec Condition="$([MSBuild]::IsOsPlatform('Windows'))" Command="where /q git" IgnoreExitCode="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec>
<PropertyGroup>
<!--Assign the location of git to GitPath. By default it's "git", if the above PATH checked failed, it'll get set to the git path in VS -->
<GitPath>git</GitPath>
<GitPath Condition="'$(ErrorCode)'=='1'">$(DevEnvDir)\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd\git</GitPath>
</PropertyGroup>
<!-- Use GitPath and put the git commit name and branch name into gitversion.txt which is an embedded resource-->
<Exec Command="( "$(GitPath)" describe --always --dirty && "$(GitPath)" rev-parse --abbrev-ref HEAD ) > "$(ProjectDir)/gitversion.txt"" IgnoreExitCode="true" />
</Target>
</Project>