✅ Need assistance compiling an older dotnet app
I'm attempting to compile the latest version of the "Loki" character editor Valheim for my kids and am stuck.
SOURCE:
https://github.com/Wufflez/Loki
Any help would be greatly appreciated.
GitHub
GitHub - Wufflez/Loki: A character editor for Valheim
A character editor for Valheim. Contribute to Wufflez/Loki development by creating an account on GitHub.
31 Replies
Do you have the .NET 3.1 SDK installed?
Yes
Microsoft
Download .NET Core 3.1 Runtime
The .NET Core 3.1 Runtime includes everything you need to run existing .NET Core and ASP.NET Core applications.
That's the runtime
Not the SDK
Then maybe not.
Let me look
Have that installed, no love still
fwiw, testing in a sandbox with just the 3.1 sdk and git installed (this repo needs to be cloned to be git, because it uses gitversion) it builds for me
Have you restarted your terminal?
Yes, I closed the command prompt and re-opened it after the install
Are you still getting the same errors?
What I'm seeing in my sandbox
That's what I was hoping for
How are you building this?
It should look like that
Is it in some folder with a NuGet.config?
from the directory at the command prompt
I don't see that file?
https://learn.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior#nugetdefaultsconfig-location
What about this file?
Common NuGet configurations
NuGet.Config files control NuGet's behavior both globally and on a per-project basis, and are modified with nuget config command.
I did:
then went into that directory and did
.
Not familiar with that file. Should it be in the repo, or do I have to make one?
No, go to the path that I linked you to and tell me what's there
Neither folder comes up
On Win10x64
What about
%appdata%\NuGet\
, is there a NuGet.config
file there?Man, I feel so derpy. I once was a solid developer in the Microsoft eco system. It's been years and I don't know much about dotnet.
Yes that exists and this is the contents.
Yeah, ok, so you're hitting the bug I suspected. One I have no idea why happens occasionally, but it does
Replace the contents with that
Done. Should I try to build again?
Yes
It has a lot of other messages, but got there.
Yeah, there were a number of warnings
8 warnings but no errors.
You're awesome, thank you so much
No problem 🙂