Oct 1, 2009 at 9:03 PM
Edited Oct 1, 2009 at 10:01 PM
I have a problem when I use Link to sql model code generation template.
If the log file is output and exists in directory. All my winforms will NOT display in the designer. I get this error: An error occurred while parsing EntityName. Line 2, position 66.
I have tested this pretty extensively and I think it comes down to a directory path issue. My project is on a path that contains an "&" symbol. No, I cannot change the path...too many other projects are under this path. I moved
my project to another path and everything works as it should...So I am nearly postive that this is a problem.
As a work around, what I do is delete the .log file and everything seems to work fine again in my forms, but this is quite a pain since I am back and forth right now working on my model and form. By the way, most of the common windows controls work
me if I use them. It is third party components that cause a problem. For me it is specifically Infragistics, but I have tested with others and it produces this error.
So my question is can I stop this file from ouputing? I have tried many things already and it does not work. Strange error this is and took me a little bit to track down.
I am using visual studio 2008 sp1 and I think the latest t4 toolbox either the latest alpha or beta, not 100% sure here.
Thanks in advance for you help
btw, this same problem occurs with the LINQ to SQL templates for T4 also, so I don't know exactly were the problem is? Deleting the log file in this template doesn't work though!