forked from cusher/CelesteAnalogViewer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAnalogViewer.csproj
63 lines (55 loc) · 2.65 KB
/
AnalogViewer.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net452</TargetFramework>
<AssemblyName>AnalogViewer</AssemblyName>
<RootNamespace>Celeste.Mod.AnalogViewer</RootNamespace>
<LangVersion>latest</LangVersion>
<CelestePrefix Condition="'$(CelestePrefix)' == '' And Exists('..\..\Celeste.exe')">..\..</CelestePrefix>
<CelestePrefix Condition="'$(CelestePrefix)' == '' And Exists('..\..\..\Celeste.exe')">..\..\..</CelestePrefix>
<CelestePrefix Condition="'$(CelestePrefix)' == ''">lib-stripped</CelestePrefix>
<CelesteType Condition="'$(CelesteType)' == '' And Exists('$(CelestePrefix)\BuildIsXNA.txt')">XNA</CelesteType>
<CelesteType Condition="'$(CelesteType)' == ''">FNA</CelesteType>
<XNAPath Condition="'$(XNAPath)' == ''">$(WINDIR)\Microsoft.NET\assembly\GAC_32\{0}\v4.0_4.0.0.0__842cf8be1de50553\{0}.dll</XNAPath>
</PropertyGroup>
<!--Disable "Copy Local" for all references-->
<ItemDefinitionGroup>
<PackageReference PrivateAssets="all" ExcludeAssets="runtime" />
<Reference Private="false" />
</ItemDefinitionGroup>
<ItemGroup>
<PackageReference Include="MonoMod.RuntimeDetour" Version="21.01.11.01" PrivateAssets="all" ExcludeAssets="runtime" />
</ItemGroup>
<ItemGroup>
<Reference Include="$(CelestePrefix)\Celeste.exe">
<Private>false</Private>
</Reference>
<Reference Include="$(CelestePrefix)\MMHOOK_Celeste.dll">
<Private>false</Private>
</Reference>
</ItemGroup>
<Choose>
<When Condition="'$(CelesteType)' == 'FNA'">
<ItemGroup>
<Reference Include="$(CelestePrefix)\FNA.dll">
<Private>false</Private>
</Reference>
</ItemGroup>
</When>
<When Condition="'$(CelesteType)' == 'XNA'">
<ItemGroup>
<Reference Include="$([System.String]::Format('$(XNAPath)', 'Microsoft.Xna.Framework'))">
<Private>false</Private>
</Reference>
<Reference Include="$([System.String]::Format('$(XNAPath)', 'Microsoft.Xna.Framework.Game'))">
<Private>false</Private>
</Reference>
<Reference Include="$([System.String]::Format('$(XNAPath)', 'Microsoft.Xna.Framework.Graphics'))">
<Private>false</Private>
</Reference>
</ItemGroup>
</When>
</Choose>
<Target Name="CopyFiles" AfterTargets="Build">
<Copy SourceFiles="$(OutputPath)\$(AssemblyName).dll" DestinationFolder="." />
</Target>
</Project>