Open developer239 opened 2 years ago
Based on how you framed your question, I assume that you don't have much experiences with DotNet ecosystem. The counterpart of npx
or npm
or yarn
CLI for project management in CSharp is dotnet
(official docs here).
And yes, you can use Rider as alternative to Visual Studio. JetBrains' progress on Rider support for DotNet MAUI are updated through their official blogs.
@m1nhtu99-hoan9 Obviously, I am new to .NET ecosystem. Thank you for taking the time to answer. I appreciate the links that you shared but that didn't quite tell me what I wanted to know.
My question: Suppose that I installed all necessary services and dependencies. How do I run this repository (WeatherTwentyOne) in CLI?
More Importantly: Where do I find the information myself? Every tutorial that showed me how to use Maui used Visual Studio.
Example:
npx react-native init AwesomeProject
to generate a new project (is basically git clone WeatherTwentyOne)npx react-native start
to run webserver (is probably not necessary in this case)npx react-native run-ios
to run the application in iOS emulatornpx react-native run-android
to run the application in android emulator@developer239 at this stage you need at least VS2022 Preview (yes its not out yet) in order to run a MAUI project. It is the prerequisite stated in the docs https://docs.microsoft.com/en-us/dotnet/maui/get-started/installation
So yes, VS is mandatory for first class support
I have production experience with React Native. Mobile development is fun but React Native has some issues. .NET MAUI seems like a good alternative although I am a bit confused by the lack of documentation and tutorials.
My main problem right now is that every learning resource that I found forces me to use Visual Studio. I know that for Android / iOS development I usually need to use official IDEs. However, when it comes to cross-platform development I would expect more freedom. For example what if I want to use Rider for the development? What if I want to use VSCode? (I noticed that the author of this repository used VSCode)
Is there any CLI tool available? Could you please point me in the right direction?
Example:
npx react-native run-ios
I can also specify the device.npx react-native run-ios
. Honestly, I am not sure if I even need Android Studio. I think I do for the build but when it comes to emulator I can use Genymotion instead of Android Studio. How do I run .NET MAUI application with Genymotion?Thank you. Any additional learning resources would be highly appreciated. Especially anything that isn't locked in the Windows ecosystem. 🙌