开发者

Working with .NET Project Files and Schemas?

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

Does anyone know if there is a schema available for these files? Go开发者_运维知识库ogle and MSDN searches are coming up a bit blank.

Visual Studio Versions

I should also note that I need this for the following 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#)


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

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

the ones around the project files are in the MSBuild subdirectory you may get some use out of

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

Good luck!


If you edit a project file (unload, then open the file as XML), you'll see in the Schemas property in the Property Grid which schemas are being used.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜