Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1102507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:11:49+00:00 2026-05-17T01:11:49+00:00

Based on a previous question I posed (see here ) and the following msdn

  • 0

Based on a previous question I posed (see here) and the following msdn threads, why does debugging fail when the full path of the vshost.exe is >= 127 characters?

To reproduce the issue create a project with a full path (directory + assembly name + vshost.exe) that is >= 127 characters. Then press F5 to start debugging and the program will exit immediately.

  • http://social.msdn.microsoft.com/forums/en-US/vsdebug/thread/e3619f20-f97d-4128-b274-94b1e3cdd211/
  • http://social.msdn.microsoft.com/forums/en-US/csharpide/thread/c9ead6da-5e30-4c1d-9187-74361ae5b37a/

Note, my environment is Visual Studio 2008, C#, Windows XP, .NET 3.5 SP1.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:11:49+00:00Added an answer on May 17, 2026 at 1:11 am

    This is well known issue. The recommendation from MS for awhile has been to not use the default directories for project locations on XP / Vista. Specifically to create a “Projects” directory off of the root.

    Incidentally, this is one of the primary reasons MS did away with the “Documents and Settings” folder in favor of “Users”. They haven’t been able to fix this for various reasons.

    UPDATE

    BTW, here is a little reading from our favorite host. Also, you might want to check out this MS article.

    And, for kicks: https://connect.microsoft.com/VisualStudio/feedback/details/338223/envdte80-solution2-addfromtemplate-reports-path-too-long-incorrectly

    The real point is that if your project folder + project name + 80 characters exceeds MAX_PATH then it won’t work. They started really enforcing this to prevent buffer overflows in API parts that are not unicode compliant and therefore can’t take advantage of 32,000 character paths.

    Also, the enterprise library team ran into the same issues.

    In the case of your vshost, consider the full pathing includes the 80 + 126 (which is 206) that leaves you with less than 54 characters for the other stuff that vshost requires on the line. Of course, you have to take the slashes and other things into account.

    The simple answer is to just move your project or otherwise figure out how to reduce the paths.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Based on my previous question here my new concern is how do I unit
This is based on my previous question . I have the following table Table1
Following up on a previous question, here is my general class structure.. Combine Elements
Based on the response to this question: Why does C++ have header files and
Based on my previous question I am running a query like so: SELECT DISTINCT
I posted a previous question about generating a bezier curve based on only the
Based on this previous question How to get ID of calling component in the
Based on this previous question How to get ID of calling component in the
My previous question belied my inexperience and was based on an assumption. Now I
Based on answer to my previous question, I would like to ask one more

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.