summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs
AgeCommit message (Collapse)Author
2016-12-18migrate manifest & version to interfaces with backwards compatibility (#197)Jesse Plamondon-Willard
2016-12-05reimplement assembly caching (#187)Jesse Plamondon-Willard
This commit ensures DLLs are copied to the cache directory only if they changed, to avoid breaking debugging support unless necessary. To support this change, the assembly hash file has been replaced with a more detailed JSON structure, which is used to determine whether the cache is up-to-date and whether to use the cached or original assembly. Some mods contain multiple DLLs, which must be kept together to prevent assembly resolution issues; to simplify that (and avoid orphaned cache entries), each mod now has its own separate cache.
2016-12-02reduce logging levels (#166)Jesse Plamondon-Willard
2016-12-02fix assembly resolution when mods try to load types from other mods (#166)Jesse Plamondon-Willard
2016-11-30invalidate assembly rewrite cache on new SMAPI version (#166)Jesse Plamondon-Willard
2016-11-30fix assembly resolution failing for rewritten mods that reference a ↵Jesse Plamondon-Willard
different version of Json.NET (#166)
2016-11-29add separate project to support upcoming IL rewriting (#166)Jesse Plamondon-Willard
2016-11-28move assembly map into constants (#166)Jesse Plamondon-Willard
2016-11-27supplement assembly resolution for Mono (#166)Jesse Plamondon-Willard
2016-11-27add trace logs when rewriting an assembly (#166)Jesse Plamondon-Willard
2016-11-27only rewrite assemblies if needed (#166)Jesse Plamondon-Willard
2016-11-26copy pdb/mdb files to assembly cache (#166)Jesse Plamondon-Willard
2016-11-26rewrite type references in mod assemblies to match target platform (#166)Jesse Plamondon-Willard
2016-11-26move cache struct into its own file (#166)Jesse Plamondon-Willard
2016-11-26pass target platform to assembly rewriter for later use (#166)Jesse Plamondon-Willard
2016-11-26add log entry when preprocessing an assembly (#166)Jesse Plamondon-Willard
2016-11-26preprocess all mod assemblies for compatibility with multi-assembly mods (#166)Jesse Plamondon-Willard
2016-11-25preprocess mods through Mono.Cecil to allow rewriting later (#166)Jesse Plamondon-Willard