Hi
I’m trying to port a pipeline extension I have to MG 3.8. Extension Project compiles fine but when i try to use it loading content it seems like the nuget(s) i added are missing. Do i have to do some magic to make the .net standard 2.0 pipeline extension work in my .net core 3.1 project?
I’m not super confident navigating/changing project files so i might be missing something obvious. It all works fine under MG 3.7 but there all the projects are .net framework 4.x.
Is there a way to make the pipeline extension in .net core 3.1 instead of .net standard 2.0? But then again I’m using the official MG 3.8 templates so i don’t know if this is the wrong solution to my problem.
Any other ideas?
Build logg:
1> System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The file can not be found.
1> File name: 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
1> at PyxelPipeline.PyxelImporter.Import(String filename, ContentImporterContext context)
1> at Microsoft.Xna.Framework.Content.Pipeline.ContentImporter`1.Microsoft.Xna.Framework.Content.Pipeline.IContentImporter.Import(String filename, ContentImporterContext context) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\ContentImporter.cs:line 45
1> at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent(PipelineBuildEvent pipelineEvent) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Builder\PipelineManager.cs:line 669
1>
1>
1> C:\Users\_\.nuget\packages\monogame.content.builder.task\3.8.0.1641\build\MonoGame.Content.Builder.Task.targets(138,5): error MSB3073: The command "dotnet C:\Users\_\.nuget\packages\monogame.content.builder.task\3.8.0.1641\build\\..\tools\netcoreapp3.1\any\mgcb.dll /quiet /@:"C:\Users\_\source\repos\Cockroachie\Cockroachie.Shared\Content\Content.mgcb" /platform:DesktopGL /outputDir:"C:/Users/_/source/repos/Cockroachie/Cockroachie.Shared/Content/bin/DesktopGL/Content" /intermediateDir:"C:/Users/_/source/repos/Cockroachie/Cockroachie.Shared/Content/obj/DesktopGL/Content" /workingDir:"C:/Users/_/source/repos/Cockroachie/Cockroachie.Shared/Content/"" exited with code 1.
1> Done executing task "Exec" -- FAILED.