stevedesmond-ca / dotnet-arm Goto Github PK
View Code? Open in Web Editor NEWAutomated builds of .NET Core for Ubuntu on ARM
Automated builds of .NET Core for Ubuntu on ARM
dotnet: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by dotnet)
Hi! We are using your repo as inspiration creating a Yocto build of dotnet-cli !
However when trying out dotnet.exe, the system complained about the project targeting another framework:
The specified framework 'Microsoft.NETCore.App', version '2.0.0-beta-001581-00'
was not found.
- Check application dependencies and target a framework version installed at:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App\- The following versions are installed:
1.0.1
1.1.0- Alternatively, install the framework version '2.0.0-beta-001581-00'.
So, I created a new, minimal project "dotnet new -t web" and tried running it on my pc using daily build on Windows x64. The results were the same.
Changing project json to:
"dependencies": {
"Microsoft.NETCore.App": {
"version": "2.0.0-beta-001581-00",
"type": "platform"
},
...
"frameworks": {
"netcoreapp2.0": {
"imports": [
"dotnet5.6",
"dnxcore50",
"portable-net45+win8"
]
}
and adding a NuGet.config with the following feed:
...resulted in me being able to start the application; however an exception occurs immediately:
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl
y 'System.Threading.Overlapped, Version=4.1.0.0, Culture=neutral, PublicKeyToken
=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match th
e assembly reference. (Exception from HRESULT: 0x80131040)
Using IL-spy I manage to find and introspect this assembly
// C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.0-beta-001581-00\System.Threading.Overlapped.dll
// System.Threading.Overlapped, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a// Global type:
// Architecture: x64
// This assembly contains unmanaged code.
// Runtime: .NET 4.0
Do you have any suggestions that can point me in the right direction I would be grateful!
Complete project,.json:
{
"userSecretsId": "aspnet-WebApplication-0799fe3e-6eaf-4c5f-b40e-7c6bfd5dfa9a","dependencies": {
"Microsoft.NETCore.App": {
"version": "2.0.0-beta-001581-00",
"type": "platform"
},
"Microsoft.AspNetCore.Authentication.Cookies": "1.0.0",
"Microsoft.AspNetCore.Diagnostics": "1.0.0",
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.0.0",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0",
"Microsoft.AspNetCore.Mvc": "1.0.1",
"Microsoft.AspNetCore.Razor.Tools": {
"version": "1.0.0-preview2-final",
"type": "build"
},
"Microsoft.AspNetCore.Routing": "1.0.1",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
"Microsoft.AspNetCore.StaticFiles": "1.0.0",
"Microsoft.EntityFrameworkCore.Sqlite": "1.0.1",
"Microsoft.EntityFrameworkCore.Tools": {
"version": "1.0.0-preview2-final",
"type": "build"
},
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
"Microsoft.Extensions.Configuration.Json": "1.0.0",
"Microsoft.Extensions.Configuration.UserSecrets": "1.0.0",
"Microsoft.Extensions.Logging": "1.0.0",
"Microsoft.Extensions.Logging.Console": "1.0.0",
"Microsoft.Extensions.Logging.Debug": "1.0.0",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0",
"Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
"version": "1.0.0-preview2-update1",
"type": "build"
},
"Microsoft.VisualStudio.Web.CodeGenerators.Mvc": {
"version": "1.0.0-preview2-update1",
"type": "build"
}
},"tools": {
"Microsoft.AspNetCore.Razor.Tools": {
"version": "1.0.0-preview2-final",
"imports": "portable-net45+win8+dnxcore50"
},
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
"version": "1.0.0-preview2-final",
"imports": "portable-net45+win8+dnxcore50"
},
"Microsoft.EntityFrameworkCore.Tools": {
"version": "1.0.0-preview2-final",
"imports": [
"portable-net45+win8+dnxcore50",
"portable-net45+win8"
]
},
"Microsoft.Extensions.SecretManager.Tools": {
"version": "1.0.0-preview2-final",
"imports": "portable-net45+win8+dnxcore50"
},
"Microsoft.VisualStudio.Web.CodeGeneration.Tools": {
"version": "1.0.0-preview2-final",
"imports": [
"portable-net45+win8+dnxcore50",
"portable-net45+win8"
]
}
},"frameworks": {
"netcoreapp2.0": {
"imports": [
"dotnet5.6",
"dnxcore50",
"portable-net45+win8"
]
}
},"buildOptions": {
"debugType": "portable",
"emitEntryPoint": true,
"preserveCompilationContext": true
},"runtimeOptions": {
"configProperties": {
"System.GC.Server": true
}
},"publishOptions": {
"include": [
"wwwroot",
"**/*.cshtml",
"appsettings.json",
"web.config"
]
},"scripts": {
"prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ],
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
},"tooling": {
"defaultNamespace": "WebApplication"
}
}
Is there a way to start a web API using Kestrel with the Ubuntu build of Core?
build-coreclr produces:
grep: ../core-setup/pkg/projects/Microsoft.NETCore.App/project.json.template: No such file or directory
build-roslyn produces:
make: *** No role to make target 'all'. Stop.
build-cli produces:
./run-build.sh: line 109: syntax error near unexpected token `)'
Hi! Nice stuff, helping me a bit on the way on something similar.
However I don't see how your libuv version/checkout/build affects the resulting corehost distribution in anyway... ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.