I’ve spent my weekends trying to get my Tiled map to build with MGCB after stupidly upgrading my project without backing up. I’m now running into the Failed to create importer ‘TiledMapImporter’ error, even though I’ve confirmed MonoGame.Extended.Content.Pipeline.dll exists where it should be and contains the TiledMapImporter class.
I’ve read EVERYTHING I’ve been able to find on this problem but ended up just confusing myself. Anyone have any idea how to resolve the following errors (the second a result of the first)? Getting desperate here.
Failed to load assembly ‘***/packages/MonoGame.Extended.Content.Pipeline.3.7.0/lib/netstandard2.0/MonoGame.Extended.Content.Pipeline.dll’: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
… error: Failed to create importer ‘TiledMapImporter’
What I ended up doing to fix this was I added all the DLLs referenced by MonoGame.Extended.Content.Pipeline.dll to its folder, as defined in the Content.mgcb config file at the line below:
As a permanent fix to get going with my project and not deal with these needless issues
I’ll remove ALL nuget references in my project
I’ll add the actual referenced DLLs to a library folder in my project and will move references in my VS solution and Content.mgcb config file to these DLLs