Building tModLoader fails

I am trying to build tmodloader, but it keeps giving me error that don't exist like in the screenshot Or in other classes too, like it say that a method doesn't exist when it does, it says that the class Item doesn't exist in the class item, etc
No description
4 Replies
jopojelly
jopojelly3mo ago
That's odd, those files aren't even in the project itself, they are specifically removed in the csproj: <Compile Remove="ModLoader/Templates/**" /> I would do a clean solution, then verify that the csproj hasn't changed by diffing the project in setup.bat and seeing if Git says any files are changed maybe it got edited accidentally
Alathreon
AlathreonOP3mo ago
So I re created it And now I have thoses errors, and they only appear on the console
No description
Alathreon
AlathreonOP3mo ago
Also when I try to run it, I get "dotnet-tModLoader.dll doesn't exist"
jopojelly
jopojelly3mo ago
Hm. I'm not sure what is up. There shouldn't be a "-" there in the first place. for your errors, I think you might just need to run n get restore. I'm actually not at home this week, you might want to try what I suggested then ask in #mod-programming-help if it's still not working.

Did you find this page helpful?