Giter VIP home page Giter VIP logo

Comments (6)

jonathanpeppers avatar jonathanpeppers commented on July 30, 2024 1

You could try deleting <TargetFrameworks> plural and putting a single <TargetFramework>net6.0-android</TargetFramework> and restart VS to Debug the HelloMaui app.

I was able to use the Remote iOS Simulator this way using net6.0-ios, too. You would need to install the iOS workload on Windows, then install all the things on the Mac build host.

I think this would help anyone that comes across this, thanks.

from maui-samples.

jonathanpeppers avatar jonathanpeppers commented on July 30, 2024

You need at least 16.9, but we have a manual step to create a EnableWorkloadResolver.sentinel file:

https://github.com/dotnet/net6-mobile-samples#using-ides

I don't think the HelloMaui app will work yet, multi-targeting is still in progress.

from maui-samples.

jamesmontemagno avatar jamesmontemagno commented on July 30, 2024

Ahhh gotcha! normal .NET for Android worked, but couldnt' get the .NET MAUI project as the startup. Makes sense.

from maui-samples.

keithnicholson avatar keithnicholson commented on July 30, 2024

I'm using VS 2019 16.11 preview and I am unable to build. I have dotnet 6.0.100-preview.4.21255.9 installed. Yet I get the error:

The framework 'Microsoft.NETCore.App', version '6.0.0-preview.4.21253.7' was not found.

I also noticed the ReadMe still reflects to 16.10.

from maui-samples.

jonathanpeppers avatar jonathanpeppers commented on July 30, 2024

Does your global.json match what is installed? Preview 4 final is a different number than what your error message says:

"version": "6.0.100-preview.4.21255.9",

from maui-samples.

keithnicholson avatar keithnicholson commented on July 30, 2024

Good point. I just cloned the repo night before last and it shows the version I posted. Let me re-clone and see what happens.

from maui-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.