2

I'm working with custom sections in app.config, and would find very useful the same intellisense facilities as exist for the standard settings. I assume I'd have to supply a schema somewhere, but can't work out if/where. Is this possible?

dcw
  • 3,481
  • 2
  • 22
  • 30

1 Answers1

4

Click on web.config, and then in the properties window you'll see schemas... add yours there.

check this : How do I get intellisense in app.config for a custom section?

You can generate a schema too from your c# class using Xsd.exe

example: xsd.exe -t:PurchaseOrder PurchaseOrder.dll

try pass in the cs file as file... sure it will work too

Community
  • 1
  • 1
JL.
  • 78,954
  • 126
  • 311
  • 459