Skip to content

Commit 39baf4d

Browse files
committed
[UMM] Do not ILRepack the core assembly
Revert of 55252e7 Closes #68
1 parent 183fb68 commit 39baf4d

File tree

2 files changed

+12
-34
lines changed

2 files changed

+12
-34
lines changed

RuntimeUnityEditor.UMM/ILRepack.targets

Lines changed: 0 additions & 28 deletions
This file was deleted.

RuntimeUnityEditor.UMM/RuntimeUnityEditor.UMM.csproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
23
<PropertyGroup>
34
<TargetFramework>net35</TargetFramework>
45
<OutputType>Library</OutputType>
@@ -18,26 +19,31 @@
1819
</None>
1920
</ItemGroup>
2021

22+
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
23+
<Delete Files="$(OutputPath)\mcs.pdb" />
24+
</Target>
25+
2126
<ItemGroup>
2227
<ProjectReference Include="..\RuntimeUnityEditor.Core.Mono\RuntimeUnityEditor.Core.Mono.csproj" />
2328
</ItemGroup>
2429

2530
<ItemGroup>
26-
<PackageReference Include="IllusionLibs.HoneySelect.UnityEngine" Version="5.3.5" />
27-
<PackageReference Include="ILRepack.Lib.MSBuild.Task" Version="2.0.16.1">
28-
<PrivateAssets>all</PrivateAssets>
31+
<PackageReference Include="IllusionLibs.HoneySelect.UnityEngine" Version="5.3.5">
32+
<PrivateAssets>all</PrivateAssets>
33+
<IncludeAssets>compile</IncludeAssets>
2934
</PackageReference>
3035
<PackageReference Include="Mono.Cecil" Version="0.10.4" />
3136
<PackageReference Include="MonoMod.RuntimeDetour" Version="21.11.1.1" />
3237
<PackageReference Include="MonoMod.Utils" Version="21.11.1.1" />
3338
<PackageReference Include="UnityModManager" Version="0.27.2">
34-
<PrivateAssets>all</PrivateAssets>
35-
<IncludeAssets>compile</IncludeAssets>
39+
<PrivateAssets>all</PrivateAssets>
40+
<IncludeAssets>compile</IncludeAssets>
3641
</PackageReference>
3742
</ItemGroup>
3843

3944
<Target Name="_ResolveCopyLocalNuGetPkgXmls" AfterTargets="ResolveReferences">
40-
<ItemGroup><!-- Copy XML files from all PackageReferences to output dir -->
45+
<ItemGroup>
46+
<!-- Copy XML files from all PackageReferences to output dir -->
4147
<ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).xml')"
4248
Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)'!='' and Exists('%(RootDir)%(Directory)%(Filename).xml')" />
4349
</ItemGroup>

0 commit comments

Comments
 (0)