davidortinau / WeatherTwentyOne

MIT License
926 stars 219 forks source link

Is Visual Studio necesseary? (how to avoid vendor lock-in) #46

Open developer239 opened 2 years ago

developer239 commented 2 years ago

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:

Thank you. Any additional learning resources would be highly appreciated. Especially anything that isn't locked in the Windows ecosystem. 🙌

m1nhtu99-hoan9 commented 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.

developer239 commented 2 years ago

@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:

  1. npx react-native init AwesomeProject to generate a new project (is basically git clone WeatherTwentyOne)
  2. npx react-native start to run webserver (is probably not necessary in this case)
  3. npx react-native run-ios to run the application in iOS emulator
  4. npx react-native run-android to run the application in android emulator
hxhieu commented 2 years ago

@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