zengcheng / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

PLINQO-NH r2492 template error. #639

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? 6.0.3 with PLINQO-NH Template 
version r2492.

1.  Double click on Quickstart.cst.
2.  Select Source Database.
3.  Click Generate

What is the expected output?  Window stating project generated succesfully.

What do you see instead?  Error window is displayed with the following 
information:

Could not find a part of the path 'D:\Documents and Settings\dblogan\My 
Documents\CodeSmith 
Generator\Samples\v6.0\Templates\Frameworks\PLINQO-NH.r2492\Common\QuickStart\Co
mmon\QuickStart\QuickStartQuery.csp'.
Stack Trace:
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Encoding encoding)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding)
   at System.IO.File.ReadAllText(String path)
   at Generator.QuickStart.ProjectCreator.AddCspFile()
   at Generator.QuickStart.ProjectCreator.CreateProject(String projectName, String connectionStringName, String connectionStringFormat, String connectionStringProvider, SolutionItem[] dependancies)
   at Generator.QuickStart.ProjectCreator.CreateProject(String projectName, SolutionItem[] dependancies)
   at Generator.QuickStart.ProjectCreator.CreateProject(String projectName)
   at _CodeSmith.QuickStart_cst.CreateQuickStart() in d:\documents and settings\dblogan\My Documents\CodeSmith Generator\Samples\v6.0\Templates\Frameworks\PLINQO-NH.r2492\QuickStart.cst:line 62
   at _CodeSmith.QuickStart_cst.__RenderMethod1(TextWriter writer, Control control) in d:\documents and settings\dblogan\My Documents\CodeSmith Generator\Samples\v6.0\Templates\Frameworks\PLINQO-NH.r2492\QuickStart.cst:line 31
   at CodeSmith.Engine.DelegateControl.Render(TextWriter writer)
   at CodeSmith.Engine.Control.RenderChildren(TextWriter writer)
   at CodeSmith.Engine.Control.Render(TextWriter writer)
   at CodeSmith.Engine.CodeTemplate.Render(TextWriter writer)
   at CodeSmith.Engine.CodeTemplate.RenderToString()
   at CodeSmith.Engine.Remoting.TemplateSession.#2Yc()
   at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Original issue reported on code.google.com by ibflyfis...@gmail.com on 30 Mar 2012 at 2:51

GoogleCodeExporter commented 9 years ago
Hello,

The nightly build quickstarts are currently broken. We will update these in the 
near future. Please go back to a previous nightly build or the last release.

Original comment by bniemyjski on 30 Mar 2012 at 7:59