diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-26 21:08:54 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-26 21:08:54 -0400 |
commit | 3c42119c8c0541a4f233e79fe591aa09c79c58cf (patch) | |
tree | b29b7e47fcdb5b864d62d0ffaa101d9fe41d23da /src/StardewModdingAPI.AssemblyRewriters/Properties | |
parent | 83bc6264e44d9b385db819c15892da316955471f (diff) | |
download | SMAPI-3c42119c8c0541a4f233e79fe591aa09c79c58cf.tar.gz SMAPI-3c42119c8c0541a4f233e79fe591aa09c79c58cf.tar.bz2 SMAPI-3c42119c8c0541a4f233e79fe591aa09c79c58cf.zip |
restore AssemblyRewriters assembly for method injection
This fixes a SMAPI 2.0 issue where mods would fail with MethodAccessException if they used SpriteBatch methods that got rewritten for MonoGame/XNA compatibility, because the methods SMAPI injected were internal. Moving it back into a separate assembly lets us make it public without making it visible to modders.
Diffstat (limited to 'src/StardewModdingAPI.AssemblyRewriters/Properties')
-rw-r--r-- | src/StardewModdingAPI.AssemblyRewriters/Properties/AssemblyInfo.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/StardewModdingAPI.AssemblyRewriters/Properties/AssemblyInfo.cs b/src/StardewModdingAPI.AssemblyRewriters/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..7cc6804a --- /dev/null +++ b/src/StardewModdingAPI.AssemblyRewriters/Properties/AssemblyInfo.cs @@ -0,0 +1,7 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("StardewModdingAPI.AssemblyRewriters")] +[assembly: AssemblyDescription("Contains internal SMAPI classes used during assembly rewriting that need to be public for technical reasons, but shouldn't be visible to modders.")] +[assembly: AssemblyProduct("StardewModdingAPI.AssemblyRewriters")] +[assembly: Guid("10db0676-9fc1-4771-a2c8-e2519f091e49")] |