Support for MAUI runtimes in ASP.NET Core?
Hey, I apologize in advance if this is not the correct place to ask this, but I didn't find any better one. Feel free to move this issue if appropriate. For testing purposes, in MAUI `net6.0-android` project I've tried to reference other project of mine targetting `net6.0` which is a library. I didn't have any issues doing so, but during compilation I've stumbled upon following error: > Error NETSDK1082 There is no Microsoft.AspNetCore.App runtime package available for the specified RuntimeIdentifier "android-x86" If I understand this right, I *can* reference standard `net6.0` projects because `Microsoft.NETCore.App.Runtime.Mono.android-x86` exists and is usable, at least I successfully did that with example `net6.0` library. However, I'd like to reference a library that has actual ASP.NET Core elements (Kestrel web server, API with MVC etc), which according to the error is impossible because it can't find a required `android-x86` runtime, which **[seems to be correct as of today](https://www.nuget.org/packages?q=Microsoft.AspNetCore.App.Runtime)**. Now I apologize if I'm trying to do some extreme stupidity, or I don't understand something, but I wanted to verify whether it'd be possible to "convert" existing CLI project of mine which uses Kestrel and API controllers into an Android MAUI app that could start the "backend" part on the target machine, with some nice frontend utilizing those API endpoints over HTTP. I'm testing this in .NET 6.0 preview 6 if it matters. Is
Posted by JustArchi on Aug 3, 2021, 10:20 PM
Tags
Related issues
- I hate that this whole cluster of beliefs exists, but software on my own computer enforcing what I can and can't do for ideological reaso...
- As I replied in another comment[1], it's their software, their choice.
- [Feature] Support external model integration via personal API keys and local LLMs (BYOK)
- > So when head of companies don’t care about quality, they’ll push hard no matter what to have speed.
- Feature request: support multiple named accounts per app/connector
- Support standalone Windows installer (`codex-setup.exe`)
Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments
support (SaaS)
I hate that this whole cluster of beliefs exists, but software on my own computer enforcing what I can and can't do for ideological reaso...
NewAs I replied in another comment[1], it's their software, their choice.
[Feature] Support external model integration via personal API keys and local LLMs (BYOK)
> So when head of companies don’t care about quality, they’ll push hard no matter what to have speed.
Feature request: support multiple named accounts per app/connector
Support standalone Windows installer (`codex-setup.exe`)
[feature]: Move OIDC back to self-hosted OSS(Plane Free)
I was running about 1000 machines on VMware in my previous career.
Support for MAUI runtimes in ASP.NET Core?
Hey, I apologize in advance if this is not the correct place to ask this, but I didn't find any better one. Feel free to move this issue if appropriate. For testing purposes, in MAUI `net6.0-android` project I've tried to reference other project of mine targetting `net6.0` which is a library. I didn't have any issues doing so, but during compilation I've stumbled upon following error: > Error NETSDK1082 There is no Microsoft.AspNetCore.App runtime package available for the specified RuntimeIdentifier "android-x86" If I understand this right, I *can* reference standard `net6.0` projects because `Microsoft.NETCore.App.Runtime.Mono.android-x86` exists and is usable, at least I successfully did that with example `net6.0` library. However, I'd like to reference a library that has actual ASP.NET Core elements (Kestrel web server, API with MVC etc), which according to the error is impossible because it can't find a required `android-x86` runtime, which **[seems to be correct as of today](https://www.nuget.org/packages?q=Microsoft.AspNetCore.App.Runtime)**. Now I apologize if I'm trying to do some extreme stupidity, or I don't understand something, but I wanted to verify whether it'd be possible to "convert" existing CLI project of mine which uses Kestrel and API controllers into an Android MAUI app that could start the "backend" part on the target machine, with some nice frontend utilizing those API endpoints over HTTP. I'm testing this in .NET 6.0 preview 6 if it matters. Is
Comments (0)
No comments yet. Start the discussion.