'How can I import an existing React project in Visual Studio?
How do I properly import an existing React project being developed in Visual Studio Code into Visual Studio 2022?
Solution 1:[1]
Here is how you open a React application in Visual Studio without all of the overhead of other project types.
When you open Visual Studio (I'm using 2019) there is an option that says "Open a Local Folder". Choose that and select the folder that contains the React application. Once it opens, if you right-click on the package.json files there is an NPM menu that contains your NPM tasks. Visual Studio creates a csproj file and if source control is configured in Visual Studio it will hook you up to your repository.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |