Error while running project in Visual Studio 2015

Asked

Viewed 2,019 times

4

When compiling gives sucessfull, but when I try to run my project I get this error below.

Can someone help me or give me a hint?

Use the visual studio 2015.

Severity Code Description Project File Line Error Could not write Lines to file "obj x86 Debug Featurename.View.csproj.FileListAbsolute.txt". 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. Nomedoprojecto.View

  • What is the name of your project? See what VS says The specified path, file name, or both are too long.

  • What part of the message didn’t you understand?

2 answers

3


The path to the archive FileListAbsolute.txt has more than 260 characters.

c:\pasta\pasta\pasta\obj\x86\Debug\NomeDoProjecto.View.csproj.FileListAbsolute.txt

Try to make him use that file somewhere else I reduce that path.

It has 260 characters, it has to have a maximum of 248. It takes 12 characters from the path that works

  • Resolved thank you

  • Do not fail to mark the answer, please.

1

The mistake is why the file path is too long.

Move the project to a less rooted folder in your directory structure. For example, C:/Projetos/SeuProjeto. This way you greatly reduce the probability of giving this long path error from the project files directory.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.