When I build my project I am 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

How do I know which file or file path is too long. Any help?

asked 16 Oct '19, 14:22

Nitin%20Chhabra's gravatar image

Nitin Chhabra
86222328
accept rate: 40%

edited 16 Oct '19, 14:24


This error is due to fact that the build folder path for your project is more than character limit and the compiler is unable to reach some of the files under the build folder.

SOLUTION: You can change default build folder path for your projects. Follow the below steps:

  1. Open Graphite.exe.config file in Notepad++. (Here is the config file path - C:\Program Files (x86)\Graphite GTC\Graphite Studio )
  2. Add the following config entry under <appsettings> <add key="buildPath" value="$$your_custom_path$$"/></appsettings>
  3. Update $$your_custom_path$$ with local path of your choice and save your changes
  4. Open Graphite Studio and build your project

Please See: All your projects will be built under your custom path.

link

answered 16 Oct '19, 14:29

Nitin%20Chhabra's gravatar image

Nitin Chhabra
86222328
accept rate: 40%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2
×2
×1

Asked: 16 Oct '19, 14:22

Seen: 668 times

Last updated: 16 Oct '19, 14:29

Powered By:   Graphite