0

I have Vs 2010 and I am trying to follow this tutorial to correct a warning I am getting.

However once I changed it to "%VS100COMNTOOLS%" per this post I get this error

The definition for the <system.webServer> element is not found in the file C:\Pr ogram Files (x86)\Microsoft Visual Studio 10.0\Xml\Schemas\DotNetConfig.xsd.

So I went to this foldre and I see

DotNetConfig.xsd
DotNetConfig20.xsd
DotNetConfig30.xsd
DotNetConfig35.xsd

I am guessing each one is for the .net version(not sure where 4.0 is). I looked into DotNetConfig.xsd and found I don't have that element. I then looked into all the other ones and they do. So should the first not have this or what?

Community
  • 1
  • 1
chobo2
  • 83,322
  • 195
  • 530
  • 832

1 Answers1

0

Yes, it should. From a standard install, the following can be found at line 22804 in DotNetConfig.xsd:

<xs:element name="system.webServer" vs:help="configuration/system.webServer">
Petru Gardea
  • 21,373
  • 2
  • 50
  • 62
  • Hmm my home computer has it but my work computer does not. Also another co-workers computer does not. The only difference I can think off is that those computers are 64bit windows and mine is 32bit. Why would I be missing it and how can I restore the file so it would have it in there? – chobo2 Feb 22 '12 at 04:05
  • @chobo2, the one I used as a reference in my answer comes from a x64 install. As to restoring the file, I would simply copy a good copy over and then take it from there. – Petru Gardea Feb 22 '12 at 13:43