Search code examples
serializationvisual-studio-2005subsonic3t4

Subsonic T4 TextTemplatingService Exception on VS 2005


I have a VS2005 web application I am using the MySQL active record templates and is perfectly working in VS2008 however I get this error:

Custom tool error: An Exception was thrown while running the transformation code. The process cannot continue.  The following Exception was thrown:
System.Runtime.Serialization.SerializationException: Type 'Microsoft.VisualStudio.TextTemplating.VSHost.TextTemplatingService' in Assembly 'Microsoft.VisualStudio.TextTemplating.VSHost, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.

View Full Exception Details: http://pastebin.com/rF8iQJW2

I have the following packages installed to make it work for vs2005:

http://goo.gl/uINkV Guidance Automation Toolkit for Visual Studio 2005 - February 2008 Release

http://goo.gl/OEUNP Guidance Automation Extensions - February 2008 Release


Solution

  • Subsonic 3.0 doesn't work for VS2005 as it requires .NET framework 3.5