-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHasteEffects.csproj
More file actions
55 lines (38 loc) · 2.6 KB
/
HasteEffects.csproj
File metadata and controls
55 lines (38 loc) · 2.6 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Specifies that your project targets .NET Standard 2.1,
which is a specification for cross-platform compatibility across .NET runtimes (like .NET Core, Mono, Xamarin).-->
<TargetFramework>netstandard2.1</TargetFramework>
<!-- Automatically includes common using directives so you don’t have to manually write them at the top of each file. -->
<ImplicitUsings>enable</ImplicitUsings>
<!-- Turns on nullable reference types, a C# feature that helps prevent NullReferenceException at compile time. -->
<Nullable>enable</Nullable>
<!-- Tells the compiler to use the latest available C# language version supported by your compiler/SDK. -->
<LangVersion>latest</LangVersion>
<!-- My dir for Haste -->
<HasteDir Condition=" '$(HasteDir)' == '' ">C:\Program Files (x86)\Steam\steamapps\common\Haste</HasteDir>
<!-- This disables the automatic inclusion of framework reference assemblies
(like those from .NET Framework or Microsoft.NETCore.App) that the SDK would normally include for you. -->
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
<!-- Prevents the SDK from generating the [assembly: ...]
attributes automatically (like version, company, product info). -->
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<!-- Disables generation of a .deps.json file, which normally contains info about dependencies
(used for runtime binding and resolving). -->
<GenerateDependencyFile>false</GenerateDependencyFile>
<!-- Tells the compiler not to generate any debugging information (i.e., no .pdb files). -->
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Informer\*.cs"><Link>Informer\%(Filename)%(Extension)</Link></Compile>
<Compile Include="..\SettingsLib\*.cs"><Link>SettingsLib\%(Filename)%(Extension)</Link></Compile>
<Reference Include="$(HasteDir)\..\..\workshop\content\1796470\3408901301\0Harmony.dll" Private="false" />
<Reference Include="$(HasteDir)\Haste_Data\Managed\*.dll" Private="false" Publicize="true" />
</ItemGroup>
<!-- Just builds directly into the 0Harmony path for quicker testing -->
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<!-- idk why vs wants to fuck the text but it looks like this normally;
xcopy "$(TargetDir)$(TargetFileName)" "C:\Program Files (x86)\Steam\steamapps\workshop\content\1796470\3408901301" /Y -->
<Exec Command="xcopy "$(TargetDir)$(TargetFileName)" "C:\Program Files (x86)\Steam\steamapps\workshop\content\1796470\3408901301" /Y
" />
</Target>
</Project>