Sorry for the lame question but this is driving me crazy.
How do you display the "Test Results" windows in Visual Studio 2010 while the unit tests are running ? Currently the window is displayed with the correct results after execution, but I would like to see it during execution so I can see the progression.
I used to have this working, but have reinstalled since, and it's not showing anymore.
Related
When trying to open an older C++ project in Visual Studio 2019 Professional, I keep getting this "Review Solution Actions" dialog that hangs Visual Studio.
I've tried starting in safe mode and resetting my user settings but neither of those have done anything.
Once this dialog shows up it just hangs here and I cannot focus on this dialog or Visual Studio. It's as functional as the image of it posted in this question.
I can successfully "End Task" in Task Manager (as opposed to killing the process) so it's still doing something in the Windows message loop (and redrawing)-- but strangely won't obtain focus or allow drags. Haven't seen that before.
Is there a way to retarget this project via the command line? Is there something else I can do?
Version: VisualStudio.16.Release/16.4.5+29806.167
Updating to 16.5.2 resolved this, thankfully.
I am going crazy now with a tabular project in Visual Studio.
When I try to update a table through the Source Data property:
and then clicking on Design and then refresh the query and afterwards clicking on Home -> Close and Update the window turns grey and it hangs forever. I have to end the VS process from Task Manager in order to continue working.
There is no extra steps applied or some other logic going on in the M query (autogenerated) but still freezes and will not update the data/columns.
I have also tried doing that from the Partitions window as proposed
here on MSDN
but it still freezes.
Visual Studio Enterprise 2015 version, Update 3
Please save me :)
#Pepys My apologies for not posting this as a comment but cant at the moment :(.
I have a few things that you can try:
Adjust your query is SSMS to only send in a sample size of your total records. If you have 10 years then only populate 1 just to test this out.
Connect to your data in Visual Studio via the SQL Server Object Explorer to verify you can connect to it.
The solution could be to use the Partitions window instead of the Source Data
It won't freeze that often when clicking "Close & Update"
Edit:
Visual Studion 2017 works much better and since I started using it, I haven't got this bug so thumbs up for fixing it :)
Sometimes in VS2017 Visual Studio takes forever to run a new project and all the while it is showing an icon in the bottom of the status bar that looks like this:
I would guess that this means that it's downloading something, but what? It's frustrating that Visual Studio doesn't provide better messaging about what's going on given that sometime the process may take five minutes or more and I'm not sure what it is doing.
What does this icon mean? And is there any way to see what Visual Studio is doing in such a situation?
I found a related question Visual Studio stuck initializing with strange icon in status bar but it does not answer my question.
It isn't about downloading. Visual Studio 2017 (and earlier versions as well) shows this icon in the status bar during the building process.
You can see more information in the Output window, click View → Output
You may notice that suddenly a project that normally builds quickly is taking a long time to build.
I've now personally been caught by this about 3 times myself.
This can occur in VS 2017 because VS 2017 has code analysis available. If you compile your project using "Debug with code analysis instead of "Debug" selected this will run full code analysis on your code during the build process.
I just opened a project that i havent opened for awhile and "debug with code analysis" was the default option when i opened it. So this caught me just a few minutes ago.
What makes this confusing is that the drop down box in visual studio is not very wide. So it is often difficult to see that you are compiling with code analysis because the text is cut off as can be seen in this image below and a developer only sees "Debug w" and they don't realize they are compiling with code analysis.
Hope that helps.
thanks
Matt
I have an issue with Visual Studio 2010 and an ASP.NET 2.0 project.
I have searched StackOverflow for a possible solution to my problem, but even though there are alot of articles related to the Visual Studio debugger, none specifically solve my issue.
Every time I start debugging, Visual Studio tells me that "The breakpoint will currently not be hit. The source code is different from the original version.". In the past when I got this problem, I could solve it by doing a Clean Solution. Or if that didn't work, I could always restart Visual Studio or my machine and the problem would be gone. This, however, doesn't work anymore. The solution cleans and I can rebuild, but the debugger still complains about the source.
I found that if I delete the folder "root" in "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files", the problem is temporarily gone but only the next time I start the debugger, and only for the breakpoints that are currently set in the project. All breakpoints I add when the debugger is running are also not being hit due to the source/original difference.
I don't know how to solve this issue permanently because I don't want to delete that folder every time I have to start a debug session.
I also have a few ASP.NET 4.0 projects that debug just fine.
I use Windows 7 Enterprise (x64).
If someone has a suggestion I would very much appreciate it :)
Try this
Right click solution.
Click "Property"
Go to: "Common Properties" -> "Project Dependency"
Select your "project" from drop down list
Check every item in list of "Depends on"
Click "OK"
Now Open "Task Manager"
And kill all worker process i.e. "w3wp" in case of iis7
Or Kill all "WebDev.WebServer40.exe" process
Now run your application.
I've recorded a "web performance test" but when i try to run it, it constantly shows status "pending" and when i try to stop, it just shows message "Test run stopping" and nothing happens. the only way i can stop it is by closing the Visual Studio and reopen it.
the test that i am trying to run is a very simple test of click of a button and capture the response.
i have VS 2010 Ultimate running on Win7 Enterprise.
Very similar issue for me. Fixed it by applying Visual Studio SP1.
Same worked for me.
In my case the installation of VS2012 was the reason for the problem:
VS2010 was working correctly for months.
I installed VS2012 Shell
Above error showed up.
Solved by installing VS2010 ServicePack 1.
Thanks.