I am trying the updated visual studio (VS2017 RC 2) with .net core functionalities. I learned that MS team removed project.json and instead created csproj file. However when I created an empty .net core web project (I also created webapi project) no csproj file is created within the project. Am I missing something, where is the csproj file located?
You should be able to do this by right clicking the project in the Solution window and selecting Tools - Edit File. That will open the project file (. csproj) in the text editor.
Right-click on your project in solution explorer and select Unload Project. Right-click on the project (tagged as unavailable in solution explorer) and click "Edit yourproj. csproj". This will open up your CSPROJ file for editing.
What I often in Visual Studio 2017 RC3 to edit the csproj file, is: Right click on the project title in the Solution Explorer window. Select the option "Edit [project name]. csproj" to open the csproj file in the code editor window. Show activity on this post.
It shouldn't hurt anything to delete it other than you will lose any personal settings in the IDE and have to redo them. Show activity on this post. Delete the . user file.
If anyone needs the same answer for macOS, in Visual Studio for Mac, right-click the project file (child of "master") in the Solution pane. Choose "Tools", then "Edit File".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With