• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

t4 templates

scotspine

Contractor Among Contractors
Joined
Jul 6, 2005
Messages
1,053
Likes received
3
Thanks received
3
i've updated the boilerplate code with the new

return this.GenerationEnvironment.ToString();

and

public override string TransformText()

however, the generator is now returning

================================================================
Error 1 Running transformation: System.Runtime.Remoting.RemotingException: Object '/04015e97_72ed_4336_8edd_d585edce188c/4rj2jzhrxbcngwf2f9th5vws_21.rem' has been disconnected or does not exist at the server.

Server stack trace:
at System.Runtime.Remoting.Channels.ChannelServices.CheckDisconnectedOrCreateWellKnownObject(IMessage msg)
at System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage(IMessage msg)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at EnvDTE._DTE.get_Solution()
at T4Toolbox.TransformationContext.FindProjectItem(String fileName)
at Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E759E6C0557E72661EDC.GeneratedTextTransformation.ScaffoldingGenerator.DeleteT4OutputLog() in j:\VisualStudio2008Projects\SharpTest\tools\CrudScaffolding\Templates\ScaffoldingGenerator.tt:line 45
at Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E759E6C0557E72661EDC.GeneratedTextTransformation.ScaffoldingGenerator..ctor(String solutionRootPath, String solutionName, EntityScaffoldingDetails entityScaffoldingDetails, ArtifactToGenerate[] artifactsToGenerate) in j:\VisualStudio2008Projects\SharpTest\tools\CrudScaffolding\Templates\ScaffoldingGenerator.tt:line 23
at Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E759E6C0557E72661EDC.GeneratedTextTransformation.ScaffoldingGenerator..ctor(String solutionRootPath, String solutionName, EntityScaffoldingDetails entityScaffoldingDetails) in j:\VisualStudio2008Projects\SharpTest\tools\CrudScaffolding\Templates\ScaffoldingGenerator.tt:line 17
at Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E759E6C0557E72661EDC.GeneratedTextTransformation.TransformText() in j:\VisualStudio2008Projects\SharpTest\tools\CrudScaffolding\ScaffoldingGeneratorCommand.tt:line 41 J:\VisualStudio2008Projects\SharpTest\tools\CrudScaffolding\ScaffoldingGeneratorCommand.tt 1

============================================================

:(

i was wondering if anyone has come across this before???
 

Advertisers

Back
Top