CustomTool seems to lose track of my namespace?

Jan 21, 2010 at 11:36 PM

I've not completely worked out a repro scenario, but it seems that the custom tool's setting for the namespace to use occasionally is getting lost... I set the namespace in the tool window, generate the code, and then when I reopen the tool window it has returned to the default setting.  But the other settings, e.g. TargetFramework, seem to be preserved okay.


Where do these settings get stored away?  In the .csproj file?

(filed against 3.0.0)



Jan 21, 2010 at 11:46 PM

After a little experimentation, here's a guess:

I think the settings are read in from the generated .Designer.cs file.  In the case where my .xsd is incorrect when I run the tool, no Designer.cs file is created and the next time the tool is opened there is nowhere to retrieve the settings from..?