I started VS 2012. I created a new solution / project and made the project a console application. In the proposed class "Program" in the "Basic" method, I added one line, namely:
Console.WriteLine("Hello World");
This is ONLY what I did.
I right-click on the solution name and select "Build".
A dialog box / warning immediately appears with the heading "Microsoft Visual Studio" containing a silver "X" in a red circle, followed by an extremely useful error text that reads:
The operation could not be completed. Invalid parameter.
I conducted an extensive search for this very informative error and came to the conclusion that it appears in many different circumstances. In my case, I started testing this a few days ago (in a much more complex MVC application), and it seems choppy. Sometimes I get an error, sometimes not. Sometimes I can completely close the sun and open again, and he will still be there, sometimes he will leave within a few hours. Rebooting the system (ick) usually forces it to leave.
Any help there? Now it drives me crazy. Thank you very much in advance.
FURTHER INFORMATION: If I kill all Visual Studio applications in the task manager (and not just closing Visual Studio in a more usual way), the problem when restarting Visual Studio seems to always be fixed. Still puzzled.
visual-studio-2013 build visual-studio-2015 visual-studio-2012
Stephan G Dec 05 '13 at 17:59 2013-12-05 17:59
source share