Hi Dan,
VS will always prompt you to reload since the projects themselves were
modified. Unless I'm mistaken, it is not possible to squelch this
behavior.
Concerning the removal of the moved artifacts from the CrudScaffolding
project, I've been unable to find a resolution for this. With that
said, having them "hang out" on CrudScaffolding doesn't hurt anything
as the project isn't included in the build process. They might be a
little unsightly to look at, dangling there under the
generator.tt
file, but they shouldn't be causing any harm.
Billy
> > > Error 1 Runningtransformation: System.IO.IOException: The process
> > > cannot access the file because it is being used by another process.
> > > at System.IO.__Error.WinIOError(Int32 errorCode, String
> > > maybeFullPath)
> > > at System.IO.__Error.WinIOError()
> > > at System.IO.File.Move(String sourceFileName, String destFileName)
> > > at
> > > Microsoft.VisualStudio.TextTemplating4992C1AD830950F1366E9C893CC252D4.GeneratedTextTransformation.ScaffoldingGenerator.GenerateControllerAndTests
> > > () in c:\dev\test\tools\CrudScaffolding\Templates
> > > \ScaffoldingGenerator.tt:line 150
> > > at
> > > Microsoft.VisualStudio.TextTemplating4992C1AD830950F1366E9C893CC252D4.GeneratedTextTransformation.ScaffoldingGenerator.RunCore
> > > () in c:\dev\test\tools\CrudScaffolding\Templates
> > > \ScaffoldingGenerator.tt:line 39
> > > at
> > > Microsoft.VisualStudio.TextTemplating4992C1AD830950F1366E9C893CC252D4.GeneratedTextTransformation.Generator.Run
> > > () in c:\Program Files\T4 Toolbox\T4Toolbox\Generator.tt:line 68
> > > at
> > > Microsoft.VisualStudio.TextTemplating4992C1AD830950F1366E9C893CC252D4.GeneratedTextTransformation.TransformText
> > > () in c:\dev\test\tools\CrudScaffolding
> > > \ScaffoldingGeneratorCommand.tt:line 45 C:\dev\test\tools
> > > \CrudScaffolding\ScaffoldingGeneratorCommand.tt 1
>
> > > On Feb 21, 8:10 pm, Billy <
wmccaffe...@gmail.com> wrote:
>
> > > > This is strange error and one that I have not seen before. Does it
> > > > work if you revert ScaffoldingGeneratorCommand.tt back to its original
> > > > state, uncomment the "Run" line and give it a try?
>
> > > > Billy
>
> > > > On Feb 21, 1:04 pm, Dan <
dmi...@wi.rr.com> wrote:
>
> > > > > Grabbing the latest from svn this morning, I got a S#arp project
> > > > > created from the template with no errors. I have installed T4 and
> > > > > follow the directions to modify ScaffoldingGeneratorCommand.tt and
> > > > > Save.
>
> > > > > However, I get an error in the Error List window:
> > > > >Runningtransformation: Cannot retrieve ProjectItem for c:\dev\test
> > > > > \tools\CrudScaffolding\ScaffoldingGeneratorCommand.tt
>
> > > > > The log file is uininteresting:
> > > > > Opened solution for addition of generated files
> > > > > Closed solution after addition of generated files
>
> > > > > It also appears that no files actually got generated (searching the
> > > > > file system and also looking at the unincluded files in the VS
> > > > > explorer).
>
> > > > > This is on XP SP3 (32 bit) and VS2008.
>
> > > > > Note: This is on the one computer that generated the project from the
> > > > > template, in case anyone was following my other post.
>
> > > > > Anyone see this before? Any ideas on what I'm doing wrong? I'm
> > > > > assuming this works for others.- Hide quoted text -
>
> - Show quoted text -