Visual Studio 2017 Publish - Error on "Start Preview"

I'm having an issue previewing my changes before publishing my code.   When I click "Start Preview" I'm getting the following 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.

Pretty vague.  What File name?  I did a Google search on the error and the results returned are from users having issues Publishing their solution.  I can publish the solution without error.  It's the "Start Preview" that fails.  

It's also a random error.  Sometimes it happens and sometimes the Preview works.

Any suggestions?
Lynn CurtDeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MlandaTCommented:
Change the folder location of your project. I have found folder locations under "My Documents" to often cause issue. I now put my VS projects into a simple "C:\Projects" folder or something similar. The issue is normally that the length of the path to reach project files under the "My Docuements\Visual Studio 2017\Projects\..." path is  often longer than 256 characters.
Lynn CurtDeveloperAuthor Commented:
Thanks, MlandaT.  I'll try this on Monday (working on a deadline now) and let you know if this resolves the problem.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.