the_farmer
the_farmer

Reputation: 669

cant publish Web Application to file system with vs 2012 express

I have tried to publish 3 different web applications to my file system and every time I get the same error message :

"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. ASPNETCOMPILER "

I have download the Visual Studio 2012 30 Days trial version and it working great but Unfortunately I cant Afford it.

any idea how to fix this problem?

Thanks.

Upvotes: 1

Views: 671

Answers (1)

KMoraz
KMoraz

Reputation: 14164

The error explains itself: one or more of the paths exceeded 260 characters.

First, shorten your workspace directory (e.g., change from C:\SomeDir\SomeAnotherDir\Sources\YourProject to C:\src\YourProject).

Also make sure to apply the latest TFS Update on the server, which stretches the limit to 400 characters (in the source control tree, not the workspace directory).

Upvotes: 2

Related Questions