• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • 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!

Reply to: t4 templates

Collapse

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "t4 templates"

Collapse

  • scotspine
    replied
    fixed. reflection eh?

    Leave a comment:


  • scotspine
    started a topic t4 templates

    t4 templates

    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.C heckDisconnectedOrCreateWellKnownObject(IMessage msg)
    at System.Runtime.Remoting.Channels.ChannelServices.S yncDispatchMessage(IMessage msg)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type)
    at EnvDTE._DTE.get_Solution()
    at T4Toolbox.TransformationContext.FindProjectItem(St ring fileName)
    at Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E 759E6C0557E72661EDC.GeneratedTextTransformation.Sc affoldingGenerator.DeleteT4OutputLog() in j:\VisualStudio2008Projects\SharpTest\tools\CrudSc affolding\Templates\ScaffoldingGenerator.tt:line 45
    at Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E 759E6C0557E72661EDC.GeneratedTextTransformation.Sc affoldingGenerator..ctor(String solutionRootPath, String solutionName, EntityScaffoldingDetails entityScaffoldingDetails, ArtifactToGenerate[] artifactsToGenerate) in j:\VisualStudio2008Projects\SharpTest\tools\CrudSc affolding\Templates\ScaffoldingGenerator.tt:line 23
    at Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E 759E6C0557E72661EDC.GeneratedTextTransformation.Sc affoldingGenerator..ctor(String solutionRootPath, String solutionName, EntityScaffoldingDetails entityScaffoldingDetails) in j:\VisualStudio2008Projects\SharpTest\tools\CrudSc affolding\Templates\ScaffoldingGenerator.tt:line 17
    at Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E 759E6C0557E72661EDC.GeneratedTextTransformation.Tr ansformText() in j:\VisualStudio2008Projects\SharpTest\tools\CrudSc affolding\ScaffoldingGeneratorCommand.tt:line 41 J:\VisualStudio2008Projects\SharpTest\tools\CrudSc affolding\ScaffoldingGeneratorCommand.tt 1

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



    i was wondering if anyone has come across this before???
Working...
X