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

4 Replies
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 accidentallySo I re created it
And now I have thoses errors, and they only appear on the console

Also when I try to run it, I get "dotnet-tModLoader.dll doesn't exist"
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.