Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / October 2006

Tip: Looking for answers? Try searching our database.

Length of the full path exceeds the maximum path length allowed.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
redStorm - 11 Oct 2006 23:09 GMT
Hey Guys,

In VS 2005, I try to create a solution in a nested directory structure.  I
get prompted with the following error message :

"The length of the full path for the solution, project or item you are
creating exceeds the maximum path length allowed by the system.  You must
reduce the length of the the name or the location".

The path length (excluding solution name) is 82 caracters and the solution
name is 32.

Is there anything I can do about this.

BTW, this works fine in VS 2003.

Thanks
Gary Chang[MSFT] - 12 Oct 2006 08:40 GMT
Hi,

The Windows system's limitation is 260 characters (MAX_PATH). However, the
solution/project hierarchy in Visual Studio 2005 is different from VS2003,
the computation in VS2005 is as the following:

  Path length + 1 (separator) +
  Solution name length + 1 (separator) +
  Project name length + 1 (separator) +
  Project name length +
  80 (Reserved space)

In your example, the computation is:
  82 + 1 +
  32 + 1 +
  32 + 1 +
  32 +
  80
  =   261

The project name length would be added twice: Once for the folder name and
once for the file that holds your project itself (.vbproj, .csproj etc.).
The 80 additional reserved characters are for the files that you place in
the project. Most new project templates create several sub-folders for
intermediate files that help with like intellisense and debugging.  

I hope the above information helps, if you have any questions or concerns,
please do not hesitate to let me know. I am standing by to help you.

Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.