MSbuild and dotnet core on Slack RPi
Has anyone had any luck getting MSbuild and the dotnet core to work on the Raspberry Pi3 with Slackware? I've looked around for information on getting it to work but can't find anything.
|
I am getting errors when trying to compile MSBuild source. I'm running the HF version of Slackware 14.2 I have a copy of the output of the build attempt.
|
It would be really helpful if you could provide some more details about the MSbuild & dotnet sources you'd used and the build process itself together with the build logs.
Use https://pastebin.com/ for the logs. |
Quote:
|
MSbuild and dotnet core on Slack RPi
Slackware current HF port. Should I post the whole compilation output or just a few last lines?
|
Slackware ARM -current is the only HF version of Slackware ARM, Slackware ARM 14.2 is only SF.
You can try posting only the last lines containing the errors if you don't want to explain in a few lines where you took the sources, how you're building it and using https://pastebin.com/ for the logs. I don't have experience with neither MSbuild nor dotnet builds under Linux and it doesn't look anyone here has, that's according to the replies on your help request. That's why I asked if you can provide a little more background / details. |
Quote:
|
https://pastebin.com/H5HHc0j8
First time using this site. I hope this is the correct way to use it and to post for you to see. |
Quote:
Code:
Nerdbank.GitVersioning.Tasks.GetBuildVersion.ExecuteInner() [/home/**********/msbuild/src/Samples/Dependency/Dependency.csproj] |
There are some other exceptions too and I'm wondering if dotnet is installed properly and working (or if it's even possible to install it under Slackware). Just grabbed some links with the procedure:
https://github.com/Microsoft/msbuild "Building MSBuild in Unix (Mac & Linux) MSBuild can be run on Unix systems that support .NET Core. Set-up instructions can be viewed on the wiki: Building Testing and Debugging on .Net Core MSBuild" then -> https://github.com/Microsoft/msbuild...ore-MSBuild.md "Unix The easy way Install the latest .NET Core SDK from http://dot.net/core. That will ensure all prerequisites for our build are met." then -> https://dotnet.microsoft.com/download/dotnet-core/2.2 then -> https://dotnet.microsoft.com/downloa...arm32-binaries (doesn't say SF or HF) Step 1: Install SDK When your download completes, open a terminal and run the following commands to extract the SDK and make the commands available at the terminal. Code:
mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-2.2.102-linux-arm.tar.gz -C $HOME/dotnet Run the dotnet command in your terminal. This will verify .NET is correctly installed and ready to use. Edit: then, back to -> https://github.com/Microsoft/msbuild Source code Clone the sources: git clone https://github.com/Microsoft/msbuild.git and finally, back to -> https://github.com/Microsoft/msbuild...ore-MSBuild.md Build Code:
./build.sh -skipTests https://docs.microsoft.com/en-us/dot...tabs=netcore2x |
|
One of the first errors:
Code:
/root/.nuget/packages/nerdbank.gitversioning/2.2.13/build/Nerdbank.GitVersioning.targets(63,5): error MSB4018: System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/root/.nuget/packages/nerdbank.gitversioning/2.2.13/build/lib/linux/x86'. [/home/**********/msbuild/src/Framework/Microsoft.Build.Framework.csproj] It looks like there's an internal product error and not something related to Slackware. Maybe it's better to register on github and ask the Microsoft experts for some help with your issue: https://github.com/Microsoft/msbuild/issues (there are almost 1000 registered issues already) |
Ok. I e-mailed opencode@microsoft.com to see if they can help me figure out getting it to compile. If I get an answer I'll post back with the reply. Thanks.
|
MSbuild and dotnet core on Slack RPi
Nice. Never a response back.
|
All times are GMT -5. The time now is 08:07 PM. |