When working with this tool, i'm hang on writing configuration for storage into app.config(web.config).
Missing intellisense for this storage configuration elements.
I do some research myself how can i add intellisense support for custom config section and found this great designer for Visual Studio - Configuration Section Designer. I use this designer to visually design whole ConfigurationSection(namespace: Xtensive.Storage.Configuration.Elements) class from DO4 library.
Here is what i prepare for you:
- Console installation program which installs xsd schema into Visual Studio 2008
- close all running instances of Visual Studio
- run DO4ConfigSchemaInstall.exe - this will automatically installs file DataObjectsNet4.xsd into Visual Studio schemas folder (C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas) and add association element into catalog.xml - File DataObjectsNet4.xsd has complete schema definition for storage configuration, if you want to modify something on your side
Important note:
Name of config section must be named Xtensive.Storage to intellisense work.
Download:
DO4ConfigIntellisense.zip
No comments:
Post a Comment