Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio: The Operation could not be completed. The parameter is incorrect

I have been working on a new solution all evening. Building without an issue, however all of a sudden I have started to get the following error when building:

The Operation could not be completed. The parameter is incorrect.

Now, I have searched many threads, but I am yet to find a decent solution. I should also mention. I have restarted, tried to repair my VS 2015 Express install with no luck.

This is happening on EVERY solution, not just my new one, even if I close everything, start a brand new project and try and build.

Any suggestions would be welcome!

like image 817
Harambe Avatar asked Feb 09 '16 01:02

Harambe


2 Answers

Dan (the original poster) mentioned in a comment above that running Visual Stuio as admin solved this for him.

like image 171
Jon Schneider Avatar answered Sep 23 '22 14:09

Jon Schneider


This answer helped me: https://stackoverflow.com/a/9130257/6524796 It says to try deleting the .suo file. To find this file open the directory for your solution in File Explorer, make sure you can see "Hidden Items", and search for ".suo". Select and delete the one for the solution giving you issues building. Close Visual Studio and reopen solution.

like image 23
Patience Avatar answered Sep 20 '22 14:09

Patience