Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > where is Microsoft.VisualStudio.Package.Web.CodeBehindCodeGenerator going to?
 

where is Microsoft.VisualStudio.Package.Web.CodeBehindCodeGenerator going to?

In visual studio 2008 sdk document(http://msdn.microsoft.com/en-us/library/bb166416.aspx), I saw that I should implement a CodeBehindCodeGenerator like this:

internal class PythonCodeBehindCodeGenerator 
: Microsoft.VisualStudio.Package.Web.CodeBehindCodeGenerator { public PythonCodeBehindCodeGenerator() { this.IsPartialClassDisabled = true; } protected override bool ShouldDeclareField(string name, string typeName) { return false; } }


and it says the IronPython code-behind code generator is in [Visual Studio SDK installation path]\VisualStudioIntegration\Samples\IronPythonIntegration\Project\PythonCodeBehindCodeGenerator.cs.

 but i can't find both the  PythonCodeBehindCodeGenerator and the Microsoft.VisualStudio.Package.Web.CodeBehindCodeGenerator, it seems that the document and the example code are not int the same verson.

so, if i want to implement a code behind code generator, what shall i do?
  • Edited bymingnianwo18 Wednesday, October 14, 2009 3:11 PMformat the question
  • Edited bymingnianwo18 Wednesday, October 14, 2009 3:14 PMformat
  •  
mingnianwo18  Wednesday, October 14, 2009 1:38 AM
Hello, 18
This artical talks about visual studio 2005 SDK, andin thisMicrosoft Visual Studio 2005 - Update to Support Web Application Projects.Maybe the version is too old, the newIthonpyth'scode generator(Microsoft.Samples.VisualStudio.IronPythonProject.ProjectBase.Web.CodeBehindCodeGenerator) will generator automatically from projectBase of Ithonpython.
Thanks
Chao
Chao Kuo  51 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• ToolboxItem.ComponentsCreated doesn't fire
• Add-in: add an application setting to the currently loaded project
• Problem implementing a new language service
• DSL - Expose position/size properties of embedded ports
• Programatically Visual Studio extensibility
• Working with VB.NET source code stored in a database (instead of the file system as .vb files)
• How to get the instance of custom editor
• Vista + EditPoint.ReplaceText problem with .css files.
• I lose focus
• Troubleshooting: replicating toolbox items