Closed 4maself closed 6 years ago
Are you using the sources from this repository ? I tested on a fresh install and the code from this repo is working :/
I am, yes. Even tried the 1.9 version from Kwoth. It compiled, but was useless on the Pi. I will try it on my laptop. Maybe it makes any difference, since my pc is running an AMD processor.
Getting the same error on my laptop, unfortunately :|
Try to clean the package downloaded by dotnet to do a clean install again.
I tried dotnet clean
if that's what you meant, but I got the same errors after dotnet restore
and dotnet publish -r ubuntu.16.04-arm -c Release
Did you tried first with the repository of kwoth ? Or mine ?
When you run dotnet restore
packages are downloaded locally. If you tried Kwoth repo 1st, there may be conflic version for my repo. The code on this repo is quite old (but working). The new code of Kwoth ask a lot of cpu, which rasp hasn't. I have to work on it, but I haven't time for it recently.
Search a hidden folder .dotnet or so which should has this packages. Or try a fresh install on a VM.
I tried your repo first. I found the .dotnet folder in my user folder, but after deleting the content the problem still persists. I'm going to try a fresh Win10 in VMWare. Hope that helps. I'm already glad that you're putting time into helping me.
I just tried it on a freshly downloaded VM and It still errors :/
I also asked some friends to try compile it, but they had the same issues.
I will take a closer look tomorrow :/
Oh before i forget. Your screenshot just shows the restore process but not the cross-compiling part. It's there where it starts to error.
I compiled a version, but I have lost my SD card adapter... If you want you can try my compiled version : https://www12.zippyshare.com/v/HVAjgnoT/file.html ⚠️ You still need to install dependencies on rasp and create the credentials file !
You can try to solve the warnings, maybe it will fix the error messages. I suggest you to edit NadekoBot\src\NadekoBot\NadekoBot.csproj
and replace <PackageReference Include="Discord.Net" Version="2.0.0-alpha-build-00824" />
by <PackageReference Include="Discord.Net" Version="1.0.2" />
Your compiled version worked like a charm, thanks!
I also changed the Discord.Net version to 1.0.2 and that worked aswell. Thanks for your time man!
Hey, I'm having trouble with compiling the current code. Any idea what could be the problem?
Expected Behavior
Succesfull compilation
Actual Behavior
Steps to Reproduce the Problem
Specifications