Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Path Too Long Exception When Building Project in Microsoft Visual Studio

Environment

Service Code (AppBuilder)
Code (AppBuilder) client Extension for Visual Studio

Description

When you attempt to build your AppBuilder project in Microsoft Visual Studio, the following exception occurs: System.IO.PathTooLongException.

Error Message

System.IO.PathTooLongException: 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.

Cause

This exception is caused by a restriction in the Microsoft Windows API. For more information about this issue, see Maximum Path Length Limitation.

Solution

Verify that your project does not contain any fully qualified file names longer than 218* characters. To achieve a path length that does not exceed 218 characters, you can modify the file structure or rename some of the files or folders.

Notes

Only 218 from the total 260 symbols are available to use. The remaining 42 symbols are reserved for your project's fully qualified name that is stored in the cloud.

Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.