I am getting a message that the name of the Infragistics Lightswitch Extension Light file or path is too long. I have used all the defaults for the Infragistics exentions and the Visual Studio 2011 for Lightswitch so I am not sure how to shorten up the naming for the Infragistics extensions since there was no chance given for that. Esp since it is not installed in the path that is displayed during the installation (in program files). Instead it seems to be installed deep in the VS directory structure.
How do I resolve this issue?
This is a Windows* OS/file system issue.The cause is the directory paths in the system is longer than 255 characters (including spaces).You may see the error "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters," under the following circumstances:Opening an assembly with .NET Reflector Exporting source code for an assembly using an add-in such as FileDisassembler, or FileGeneratorThere's a lot of additional softwares which can fix this problem like Long Path Tool.http://PathTooDeep.com
Long Path Tool can simplify and probably end your problems in unlocking, managing and renaming files hat appear to have a long filename.
I just put together a simple quick app (named App1) in folder c:\Test. And it all worked! The error went away.
So I will have to move my app but I guess that is not too much to ask for if I find any of the free stuff useful!
Thanks, guys...
I have been away from an internet connection most of the day. Sorry for the delay in responding to your suggestions (which were actually very timely!). I will give those suggestions a try and let you know how it comes out.
edwardlmiller said: I am getting a message that the name of the Infragistics Lightswitch Extension Light file or path is too long. I have used all the defaults for the Infragistics exentions and the Visual Studio 2011 for Lightswitch so I am not sure how to shorten up the naming for the Infragistics extensions since there was no chance given for that. Esp since it is not installed in the path that is displayed during the installation (in program files). Instead it seems to be installed deep in the VS directory structure. How do I resolve this issue?
LightSwitch solutions in general generate several megabytes of files and with a decent amount of nesting. This easily works out errors relating to the path being too long. Like Anatoli suggested, try creating a Projects folder in the root of your C drive. We had to do this while creating the documentation and samples to avoid the same issue.