basecodegeneratorwithsite

BaseCodeGeneratorWithSite: supported SDK versions?

I checked that BaseCodeGeneratorWithSite is supported in VS 2008 SDK 1.1. Since the MSDN page is from Nov. 2007 presumably in the 1.0 SDK too. There is a CodeProject article claiming that the class was "public in VS.NET 2002 and made internal in the VS.NET 2003". Contrary to other references on the MSDN the BaseCodeGeneratorWithSite d...

Using CodeNamespace from Visual Studio "Custom Tool" - where does GeneratedCodeAttribute come from ?

Hi, I'm writing a version of the XSD command line tool to compile my schemas into C# classes (partly as an exercise and partly to make some changes). When I wrote a simple console application (which utilised the CodeNamespace object), it worked fine, and I saved the cs file it generated. I noted that the file had some attributes added t...

How do I access the CodeDomProvider from a class inheriting from Microsoft.VisualStudio.TextTemplating.VSHost.BaseCodeGeneratorWithSite?

Does anyone know how to get a CodeDomProvider in the new Microsoft.VisualStudio.TextTemplating.VSHost.BaseCodeGeneratorWithSite from the Visual Studio 2010 SDK? I used to get access to it just by in mere inheritance of the class Microsoft.CustomTool.BaseCodeGeneratorWithSite, but now with this new class it is not there. I see a GlobalSer...