While working in Visual Studio Team Suite, I ran into a slight problem while using SubSonic. I was using an Application Diagram to model my application and once I had switched to SubSonic (see yesterday’s post), my diagram locked. Visual Studio was nagging on the requirePermission attribute added within the custom config section for SubSonic. The section in the web.config file looks like:
<configSections> <section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" allowDefinition="MachineToApplication" restartOnExternalChanges="true" requirePermission="false"/> </configSections>
So I navigated to C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas\DotNetConfig.xsd and added the following line at line 44:
<xs:attribute name="requirePermission" type="boolean_Type" use="optional" />
This solved my problem and Visual Studio unlocked my diagram.

Your comment here EXACTLY solved my problem – while I was testing Subsonic 2.01. Thanks very much.
Mike