I am having trouble adding new files to a .csproj based project using Visual Studio Code. I can manually edit the .csproj file, but this is somewhat cumbersome. Does VSCode support automatic handling of the .csprojects?
To edit any . csproj file, we right-click on the project and click on Edit . csproj. With Visual Studio 2019, you can also edit the project file via a double-click.
CSPROJ files are are meant to be opened and edited in Microsoft Visual Studio (Windows, Mac) as part of Visual Studio projects. However, because CSPROJ files are XML files, you can open and edit them in any text or source code editor.
Its bit old question but if someone looks on this, they should not miss this vscode extension to update the .csproj when they add/delete files in the opened project in VS Code.
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