diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-08-01 13:10:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 13:10:36 -0400 |
commit | edfb3c9929e685f8b80a6b10895763e81bf41207 (patch) | |
tree | 9e8a63f21fa0810937b4a6fa4bd00a4014b458a7 /src | |
parent | c15d43049a08e73090d77cc150ac48476011a68c (diff) | |
parent | db06291fdbc9a3e9f1afa65f6649e4671fff4756 (diff) | |
download | SMAPI-edfb3c9929e685f8b80a6b10895763e81bf41207.tar.gz SMAPI-edfb3c9929e685f8b80a6b10895763e81bf41207.tar.bz2 SMAPI-edfb3c9929e685f8b80a6b10895763e81bf41207.zip |
Merge pull request #794 from bladeoflight16/monoandprojectfixes
Fix Mono build error and duplicate targets import
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI.Internal.Patching/PatchHelper.cs | 2 | ||||
-rw-r--r-- | src/SMAPI.Toolkit/SMAPI.Toolkit.csproj | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/SMAPI.Internal.Patching/PatchHelper.cs b/src/SMAPI.Internal.Patching/PatchHelper.cs index c9758616..fc79ddf2 100644 --- a/src/SMAPI.Internal.Patching/PatchHelper.cs +++ b/src/SMAPI.Internal.Patching/PatchHelper.cs @@ -43,7 +43,7 @@ namespace StardewModdingAPI.Internal.Patching /// <param name="generics">The method generic types, or <c>null</c> if it's not generic.</param> public static string GetMethodString(Type type, string name, Type[] parameters = null, Type[] generics = null) { - StringBuilder str = new(); + StringBuilder str = new StringBuilder(); // type str.Append(type.FullName); diff --git a/src/SMAPI.Toolkit/SMAPI.Toolkit.csproj b/src/SMAPI.Toolkit/SMAPI.Toolkit.csproj index 8dc4d559..0e051c84 100644 --- a/src/SMAPI.Toolkit/SMAPI.Toolkit.csproj +++ b/src/SMAPI.Toolkit/SMAPI.Toolkit.csproj @@ -19,6 +19,4 @@ <ItemGroup> <ProjectReference Include="..\SMAPI.Toolkit.CoreInterfaces\SMAPI.Toolkit.CoreInterfaces.csproj" /> </ItemGroup> - - <Import Project="..\..\build\common.targets" /> </Project> |