Working with files and diagrams of a .NET project?

I am working on a project that will require me to take various .vbproj and .csproj files and determine which version of Visual Studio they built, and then get information such as the name of the output dll, etc.

Does anyone know if there is a schema for these files? Google searches and MSDN are a bit empty.

Visual Studio Versions

I should also note that I need this for future versions of Visual Studio

  • Visual Studio 2003 (VB language only)
  • Visual Studio 2005 (VB and C #)
  • Visual Studio 2008 (VB and C #)
  • Visual Studio 2010 (VB and C #)
+4
source share
2 answers

Most of the schemes used by VS live in your equivalent,

C: \ Program Files \ Microsoft Visual Studio 9.0 \ Xml \ Schemas

the ones around the project files are in the MSBuild subdirectory, which you can use from

C: \ Program Files \ Microsoft Visual Studio 9.0 \ Xml \ Schemas \ 1033 \ MSBuild \ Microsoft.Build.Core.xsd

Good luck

+3
source

If you edit the project file (upload, then open the file as XML), you will see in the Schemas property in the Property Grid which schemes are used.

0
source

Source: https://habr.com/ru/post/1305598/


All Articles