no suitable method to override rendercore - has this been fixed?

21 views
Skip to first unread message

daniel

unread,
Nov 11, 2009, 1:05:40 PM11/11/09
to S#arp Architecture
Hi,
There was an earlier message about the above subject in the T4
templates. Has it been fixed?

Billy

unread,
Nov 11, 2009, 1:24:35 PM11/11/09
to S#arp Architecture
The T4 Toolbox has not been upgraded for the code that's on the trunk
or the code for the pending Q3 2009 release. The version of the tools
(NUnit and T4 Toolbox) found at http://github.com/codai/Sharp-Architecture/tree/master/tools/
are the versions supported for Q3 2009.

I inferred that T4 Toolbox was still in flux getting prepared for VS
2010. I'd like to wait a bit longer before making a concerted effort
to upgrade support for a later release of T4 Toolbox.

Billy McCafferty

daniel

unread,
Nov 11, 2009, 6:22:59 PM11/11/09
to S#arp Architecture
Hi,
I couldn't get the MSI from the URL you gave but I got it from
http://t4toolbox.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=25771
nd it sems to have worked.
Thanks

On Nov 11, 6:24 pm, Billy <wmccaffe...@gmail.com> wrote:
> The T4 Toolbox has not been upgraded for the code that's on the trunk
> or the code for the pending Q3 2009 release.  The version of the tools
> (NUnit and T4 Toolbox) found athttp://github.com/codai/Sharp-Architecture/tree/master/tools/

Oleg Sych

unread,
Nov 11, 2009, 7:09:16 PM11/11/09
to S#arp Architecture
At this point, I don't expect to have additional architectural changes
in T4 Toolbox to support VS2010. There may be some changes down the
line to support the command line host/build time code generation.

Oleg

On Nov 11, 1:24 pm, Billy <wmccaffe...@gmail.com> wrote:
> The T4 Toolbox has not been upgraded for the code that's on the trunk
> or the code for the pending Q3 2009 release.  The version of the tools
> (NUnit and T4 Toolbox) found athttp://github.com/codai/Sharp-Architecture/tree/master/tools/
> are the versions supported for Q3 2009.
>
> I inferred that T4 Toolbox was still in flux getting prepared for VS
> 2010.  I'd like to wait a bit longer before making a concerted effort
> to upgrade support for a later release of T4 Toolbox.
>
> Billy McCafferty
>
> On Nov 11, 11:05 am, daniel <40theridge...@googlemail.com> wrote:
>
>
>
> > Hi,
> > There was an earlier message about the above subject in the T4
> > templates. Has it been fixed?- Hide quoted text -
>
> - Show quoted text -

Billy

unread,
Nov 11, 2009, 7:19:30 PM11/11/09
to S#arp Architecture
Thanks for letting us know Oleg. I gave the upgrade a go by following
the advice at http://www.olegsych.com/2009/10/t4-toolbox-support-for-visual-studio-2010/
but still ran into a couple of blocking issues. I'll bring them up as
issues on the T4 Toolbox site.

Thanks for the input Oleg...T4 Toolbox has been great to work with.

Billy McCafferty

FlyAtDusk

unread,
Nov 24, 2009, 9:23:56 AM11/24/09
to S#arp Architecture
hi - further to this, i changed the templates with

"public override string TransformText()" and

"return this.GenerationEnvironment.ToString();"

however, i'm now getting the error

Error 1 An Exception was thrown while running the transformation code.
The process cannot continue. The following Exception was thrown:
System.NullReferenceException: Object reference not set to an instance
of an object.
at T4Toolbox.DteProcessor.CreateLogIfNecessary(ICollection`1
outputFiles, ProjectItem template)
at T4Toolbox.DteProcessor.UpdateFiles(ICollection`1 outputFiles)
at T4Toolbox.OutputManager.UpdateFiles()
at System.AppDomain.DoCallBack(CrossAppDomainDelegate
callBackDelegate)
at System.AppDomain.DoCallBack(CrossAppDomainDelegate
callBackDelegate)
at T4Toolbox.TransformationContext.OnTransformationEnded
(TextTransformation transformation)
at
Microsoft.VisualStudio.TextTemplatingF29FEFB933A0E759E6C0557E72661EDC.GeneratedTextTransformation.Dispose
(Boolean disposing) in j:\VisualStudio2008Projects\SharpTest\tools
\CrudScaffolding\ScaffoldingGeneratorCommand.tt:line 18
at Microsoft.VisualStudio.TextTemplating.TextTransformation.Dispose
()
at
Microsoft.VisualStudio.TextTemplating.TransformationRunner.RunTransformation
(String fullClassName, String baseClassName, String[]
importedNamespaces, String[] references, String source, String
inputFile, Boolean debug, SupportedLanguages language, IDictionary`2
languageOptions, IFormatProvider format, ITextTemplatingEngineHost
host, Boolean cacheAssemblies, String& result) 1 1


could anyone possibly help with this?
many thanks

Billy

unread,
Nov 24, 2009, 12:36:29 PM11/24/09
to S#arp Architecture
That's as far as I got with upgrading to the latest version of T4
Toolbox as well. I don't have a solution for that yet; obviously,
please let me know if you find it first!

(Note that everything still works fine with the version of T4 Toolbox
that comes with the S#arp Architecture 2009 Q3 release.)

Billy McCafferty

Oleg Sych

unread,
Nov 26, 2009, 8:13:58 AM11/26/09
to S#arp Architecture
Try the new build: http://t4toolbox.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=34574

Let me know if the NullReferenceException problem hasn't been solved.

Thanks,
Oleg
> > many thanks- Hide quoted text -

FlyAtDusk

unread,
Nov 27, 2009, 6:52:53 AM11/27/09
to S#arp Architecture
hi. yes thanks. that seems to have fixed that problem...
Reply all
Reply to author
Forward
0 new messages