Reputation: 5450
DNX error: 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.
Upvotes: 0
Views: 101
Reputation: 222
Microsoft has released fix for this long path issue. Please find the post here in Developer community.
According to this, need to download latest Visual studio.
Upvotes: 0
Reputation: 5450
In my case, it was a problem with a "node_modules" folder, which includes a hell lot of files with a long paths.
Adding "exclude" setting to the root of project.json file solved the problem:
"exclude": [
"node_modules"
]
So you can actually exclude any files causing this issue.
Upvotes: 0