Can anyone point me to a schema or a list of properties valid inside the C# csproj file? I've looked, but don't appear to be able to find any documentation on it.
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.
Add the XML file to Visual Studio Project Open up Visual Studio and create a new project or open an existing one. Add an existing item to the C# project. – Select the XML file we created earlier and press Add. – The file will be added to the project.
What is a CSProj file? Files with CSPROJ extension represent a C# project file that contains the list of files included in a project along with the references to system assemblies.
These project files are XML files and similar in nature to Apache Ant or Nant. The MS Build project file format is used by Visual Studio to store information about projects it manages. Project files can be evaluated (or run) on the command line ( cmd.exe , PowerShell) with MSbuild.exe .
You mean something like this documentation? A reference can be found here
This was already answered here...
Csproj are actually MSBuild files and I think the reference can be found here:
MSBuild Project File Schema Reference
The schema used by VS (VS 2008) is located here:
C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas\1033\MSBuild\Microsoft.Build.Core.xsd
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