-
-
Notifications
You must be signed in to change notification settings - Fork 97
Expand file tree
/
Copy pathCalamityMod.csproj
More file actions
33 lines (26 loc) · 1.22 KB
/
CalamityMod.csproj
File metadata and controls
33 lines (26 loc) · 1.22 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
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\tModLoader.targets" />
<PropertyGroup>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Krafs.Publicizer" Version="2.3.0" PrivateAssets="all" ExcludeAssets="runtime" />
</ItemGroup>
<!-- Taken from: <https://github.com/krafs/Publicizer/pull/128>. This is
used to fix an annoying warning because the publicizer we're using
emits a type also included by MonoMod.Utils. -->
<Target Name="RemoveIgnoresAccessChecksToAttributeCs" AfterTargets="PublicizeAssemblies">
<ItemGroup>
<FilesToRemove Include="@(Compile)" Condition="'%(Filename)' == 'IgnoresAccessChecksToAttribute'" />
</ItemGroup>
<ItemGroup>
<Compile Remove="@(FilesToRemove)" />
</ItemGroup>
</Target>
<ItemGroup>
<Publicize Include="tModLoader" IncludeCompilerGeneratedMembers="false" IncludeVirtualMembers="false" />
<DoNotPublicize Include="tModLoader:Terraria.Tile" />
<Publicize Include="FNA" IncludeCompilerGeneratedMembers="false" IncludeVirtualMembers="false" />
<Publicize Include="ReLogic" IncludeCompilerGeneratedMembers="false" IncludeVirtualMembers="false" />
</ItemGroup>
</Project>