Share via


Add new Angular project to existing VS solution

Question

Friday, February 8, 2019 8:56 PM

I'd like to add a new Angular 7 project to the existing VS solution. The solution is a web application with a number of c# projects. 

Thanks

All replies (1)

Monday, February 11, 2019 8:28 AM ✅Answered | 1 vote

HI markgoldin,

Welcome to the MSDN forum.

As your requested, you can right-click solution in solution explore >> click add >> new project >> choose new asp.net core web application in web >> choose angular >> click “OK”  in vs 2017.

The angular is component in vs 2017 ,but it is independent of vs 2015. So if you use vs 2015, you can copy the files you have created by angular Cli into the folder containing the .csproj file >> select the app project and click the “Show all files” button in solution explore to show the files you copy >> right-click on each folder/file except “node_modules folder” then click “Include in Project” >> Right-click on the package.json file in Solution Explorer and select “Restore Packages” .

Check the below link for more details:

Add new Angular project for VS2015

Add new Angular project for VS2017

Note: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

Best Regards,

Sara

MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]