History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-34444
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Ilya Ryzhenkov
Reporter: Evgeny Potashnik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

"Cannot build project: Operation aborted" when running unit test while debugging

Created: 16 Jan 07 08:41   Updated: 15 Jun 07 18:45
Component/s: Unit Testing
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 326


 Description  « Hide
I want to run a unit test for an ASP.NET application while debugging the application (not the test runner process). I attach the VS 2005 debugger to the aspnet_wp process and select "Run Unit Test" for a particular test method. I get a prompt: "Do you want to stop debugging?" When I click "No" the following error pops up

---------------------------
Build error
---------------------------
Cannot build project: Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))
---------------------------
OK
---------------------------

This should not be an error and ideally I would not want to receive the prompt at all unless the project is out of date and needs to be built. In this case it was up to date.



 All   Comments   Work Log   Change History      Sort Order:
Ilya Ryzhenkov - 30 May 07 17:52
It works in 3.0 when required projects are built (unless you set build policy to Build Always). As for the case when sources should be built before running tests, we will investigate it and probably it can be fixed for 3.0