Environment Setup - ChrispyPeaches/FocusFriends GitHub Wiki
Setup IDE
- Install the latest version of Visual Studio 2022
- After opening Visual Studio, in the top menu select Tools > Get Tools and Features
![image](https://github.com/ChrispyPeaches/FocusFriends/assets/26045099/b0b36a77-4019-4ae0-8856-da0b3398fa31)
- For the target installed Visual Studio instance select "Modify"
![image](https://github.com/ChrispyPeaches/FocusFriends/assets/26045099/dda84d57-13e7-41e0-afe4-70f6a15e0cb1)
- Install both the
ASP.NET and Web Development
and .NET Multi-platform App UI Development
packages if they aren't already installed
![image](https://github.com/ChrispyPeaches/FocusFriends/assets/26045099/0fbfc01e-19cc-4c11-bbfd-a70c330c450c)
- Follow the Build Your First .NET MAUI App Guide starting with the first step dealing with the Android Emulator
- Follow the guide in the Entity Framework Core documentation page to create a FocusAPI database
- If you have Container Tools for Visual Studio installed go to the Tools tab > Settings > Container Tools > Single Project > Debugging
- Set the "Run a service in container to enable Hot Reload" to False
- This fixes an issue with running the FocusApp.Client and looks to be a bug in Visual Studio