Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

Commented Unassigned: Problem generating TT file [111]

$
0
0
Hi,

I am getting this VS error when generating the tt file. Please help

Thanks


Error 1 Running transformation: System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetDirectoryName(String path)
at Microsoft.VisualStudio.TextTemplating3A2EBC5DE9150D6E1D5F7D9A0E7080395B39B7DA627A5A1DB97EA78032215253EBAEF8212B4F02F84B1D921B104797195E3C13EEC9C3A0BDC1064D942860F3EF.GeneratedTextTransformation.GetDbProviderFactory()
at Microsoft.VisualStudio.TextTemplating3A2EBC5DE9150D6E1D5F7D9A0E7080395B39B7DA627A5A1DB97EA78032215253EBAEF8212B4F02F84B1D921B104797195E3C13EEC9C3A0BDC1064D942860F3EF.GeneratedTextTransformation.TransformText() c:\temp\WebApplication1\WebApplication1\TT\Database1.tt 1 1 WebApplication1



Comments: It is this line of code that fails: string solutionPath = Path.GetDirectoryName(GetSolution().FileName) + "\\"; I encountered same issue in my Toolbox add-in - never found a solid solution, other than error catching

Viewing all articles
Browse latest Browse all 1642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>