1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 14.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
4
2
<PropertyGroup >
5
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7
- <ProjectGuid >{4ABF8C07-C533-407E-9EC9-534C2916C907}</ProjectGuid >
8
- <OutputType >Library</OutputType >
9
- <AppDesignerFolder >Properties</AppDesignerFolder >
10
3
<RootNamespace >Celeste.Mod.Ghost</RootNamespace >
11
- <AssemblyName >GhostMod</AssemblyName >
12
- <TargetFrameworkVersion >v4.5.2</TargetFrameworkVersion >
13
- <FileAlignment >512</FileAlignment >
14
- <OutputPath Condition =" '$(TravisCore)' == 'true' " >Artifact\</OutputPath >
15
- <NuGetPackageImportStamp >
16
- </NuGetPackageImportStamp >
4
+ <TargetFramework >net452</TargetFramework >
17
5
<LangVersion >11</LangVersion >
6
+ <AssemblyTitle >GhostMode</AssemblyTitle >
7
+ <MSBuildWarningsAsMessages >$(MSBuildWarningsAsMessages);MSB3270</MSBuildWarningsAsMessages >
8
+ <RestorePackagesWithLockFile >true</RestorePackagesWithLockFile >
9
+ <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
10
+ </PropertyGroup >
11
+ <ItemDefinitionGroup >
12
+ <PackageReference IncludeAssets =" compile" />
13
+ <Reference >
14
+ <Private >False</Private >
15
+ </Reference >
16
+ </ItemDefinitionGroup >
17
+ <PropertyGroup >
18
+ <PathMap >$(MSBuildProjectDirectory)=GhostMod/</PathMap >
18
19
</PropertyGroup >
19
20
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
20
- <DebugSymbols >true</DebugSymbols >
21
- <OutputPath Condition =" '$(TravisCore)' == '' " >bin\Debug\</OutputPath >
22
- <DefineConstants >DEBUG;TRACE</DefineConstants >
23
- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
24
- <DebugType >full</DebugType >
25
- <PlatformTarget >AnyCPU</PlatformTarget >
26
- <ErrorReport >prompt</ErrorReport >
27
- <WarningLevel >4</WarningLevel >
21
+ <DebugType >portable</DebugType >
22
+ <DefineConstants >TRACE</DefineConstants >
23
+ <WarningLevel >0</WarningLevel >
24
+ <UseVSHostingProcess >true</UseVSHostingProcess >
28
25
</PropertyGroup >
29
26
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
30
- <OutputPath Condition = " '$(TravisCore)' == '' " >bin\Release\</ OutputPath >
27
+ <DebugType >portable</ DebugType >
31
28
<DefineConstants >TRACE</DefineConstants >
32
- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
33
- <Optimize >true</Optimize >
34
- <DebugType Condition =" '$(TravisCore)' == '' " >pdbonly</DebugType >
29
+ <DocumentationFile />
30
+ <NoWarn >CS1591</NoWarn >
35
31
<PlatformTarget >AnyCPU</PlatformTarget >
36
- <ErrorReport >prompt</ErrorReport >
37
- <WarningLevel >4</WarningLevel >
38
- <DebugType >portable</DebugType >
39
32
</PropertyGroup >
33
+ <ItemGroup >
34
+ <PackageReference Include =" MonoMod.RuntimeDetour" Version =" 21.4.29.1" />
35
+ <PackageReference Include =" YamlDotNet" Version =" 8.1.2" />
36
+ </ItemGroup >
40
37
<ItemGroup >
41
38
<Reference Include =" Celeste" >
42
39
<HintPath >lib-stripped\Celeste-nstrip.exe</HintPath >
43
- <Private >False</Private >
44
40
</Reference >
45
41
<Reference Include =" FNA" >
46
42
<HintPath >lib-stripped\FNA.dll</HintPath >
47
- <Private >False</Private >
48
43
</Reference >
49
44
<Reference Include =" MMHOOK_Celeste" >
50
45
<HintPath >lib-stripped\MMHOOK_Celeste.dll</HintPath >
51
- <Private >False</Private >
52
- </Reference >
53
- <Reference Include =" Mono.Cecil, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL" >
54
- <HintPath >..\packages\Mono.Cecil.0.11.3\lib\net40\Mono.Cecil.dll</HintPath >
55
- </Reference >
56
- <Reference Include =" Mono.Cecil.Mdb, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL" >
57
- <HintPath >..\packages\Mono.Cecil.0.11.3\lib\net40\Mono.Cecil.Mdb.dll</HintPath >
58
- </Reference >
59
- <Reference Include =" Mono.Cecil.Pdb, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL" >
60
- <HintPath >..\packages\Mono.Cecil.0.11.3\lib\net40\Mono.Cecil.Pdb.dll</HintPath >
61
- </Reference >
62
- <Reference Include =" Mono.Cecil.Rocks, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL" >
63
- <HintPath >..\packages\Mono.Cecil.0.11.3\lib\net40\Mono.Cecil.Rocks.dll</HintPath >
64
- </Reference >
65
- <Reference Include =" MonoMod.RuntimeDetour, Version=21.4.29.1, Culture=neutral, processorArchitecture=MSIL" >
66
- <HintPath >..\packages\MonoMod.RuntimeDetour.21.4.29.1\lib\net40\MonoMod.RuntimeDetour.dll</HintPath >
67
- </Reference >
68
- <Reference Include =" MonoMod.Utils, Version=21.4.29.1, Culture=neutral, processorArchitecture=MSIL" >
69
- <HintPath >..\packages\MonoMod.Utils.21.4.29.1\lib\net40\MonoMod.Utils.dll</HintPath >
70
- </Reference >
71
- <Reference Include =" System" />
72
- <Reference Include =" System.Xml" />
73
- <Reference Include =" YamlDotNet, Version=8.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e" >
74
- <HintPath >..\packages\YamlDotNet.8.1.2\lib\net45\YamlDotNet.dll</HintPath >
75
- <Private >False</Private >
76
46
</Reference >
77
47
</ItemGroup >
78
48
<ItemGroup >
79
- <Compile Include =" GhostChunkInput.cs" />
80
- <Compile Include =" GhostChunkData.cs" />
81
- <Compile Include =" GhostManager.cs" />
82
- <Compile Include =" GhostName.cs" />
83
- <Compile Include =" GhostInputReplayer.cs" />
84
- <Compile Include =" GhostRecorder.cs" />
85
- <Compile Include =" GhostData.cs" />
86
- <Compile Include =" Ghost.cs" />
87
- <Compile Include =" GhostFrame.cs" />
88
- <Compile Include =" GhostModuleSettings.cs" />
89
- <Compile Include =" GhostModule.cs" />
90
- <Compile Include =" Properties\AssemblyInfo.cs" />
91
- <Compile Include =" GhostInputNodes.cs" />
92
- </ItemGroup >
93
- <ItemGroup >
94
- <EmbeddedResource Include =" Content\Dialog\English.txt" >
95
- <LogicalName >Content\Dialog\English.txt</LogicalName >
96
- </EmbeddedResource >
49
+ <Compile Remove =" lib-stripped\**" />
50
+ <EmbeddedResource Remove =" lib-stripped\**" />
97
51
</ItemGroup >
98
52
<ItemGroup >
53
+ <Content Include =" Dialog\**" >
54
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
55
+ </Content >
99
56
<Content Include =" ..\everest.yaml" >
100
- <Link >everest.yaml</Link >
101
57
<CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
102
58
</Content >
103
59
</ItemGroup >
104
60
<ItemGroup >
105
- <None Include = " packages.config " />
61
+ <None Remove = " lib-stripped\** " />
106
62
</ItemGroup >
107
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
108
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
109
- Other similar extension points exist, see Microsoft.Common.targets.
110
- <Target Name="BeforeBuild">
111
- </Target>
112
- <Target Name="AfterBuild">
113
- </Target>
114
- -->
115
63
</Project >
0 commit comments