Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2008

Tip: Looking for answers? Try searching our database.

Test View window crashing Visual Studio 2008

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
daniel - 12 Mar 2008 07:01 GMT
Hi,

My company has recently upgraded to visual studio 2008 and we are in the
process of migrating our unit tests from NUnit to MSTest.  We have
approximatly 4000 unit tests across 12 test assemblies in our solution.

I have migrated all the test assemblies across to mstest and the solution
compiles with no difficulties.  However when i open the TestView window the
devenv.exe procees immediatly starts using 50% of CPU usage, 500Mb of
physical memory and 600Mb of virtual memory and the IDE seems to hang, after
about 5 mins the IDE crashes, or, I receive a Message Dialog over the IDE
containing "Target Invocation Exception" with an OK button.

The steps that i have taken to try and overcome this have included:

- Manually transforming the assemblies from C# class library projects to C#
Test Projects
- Completely recreating the Test projects
- Created a completely new solution and rebuilding new Test Projects

All with the same results.

Also, if I run MSTest from the command line over the solution, all test pass
with no problems.

Can you please provide some guidence as to what may be causing this problem
and how i can overcome it?

Thanks
Signature

Daniel

Wen Yuan Wang [MSFT] - 13 Mar 2008 05:39 GMT
Hello Danielm,

According to your description, you faced an issue that VS 2008 IDE crashed
in MSTest, but in command line MSTest works fine. If I misunderstood
anything here, please don't hesitate to correct me.

IDE crash/hang issues are difficult to track on newsgroup. I suggest you
may consider creating new library project and unit test on this assemble.
Thereby, we can confirm if this is a project specific issue or VS IDE
issue. Moreover, I'm afraid to say the error "Target Invocation Exception"
doesn't help. Actually, we need more detailed information to start
investigating. Have you checked Application Event log? Is there any error
log in it?

Please feel free to let us know if you have any more concern. We are glad
to assist you.
Have a great day,
Best regards,

Wen Yuan
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
daniel - 13 Mar 2008 06:04 GMT
Hi Wen,

I have found that if i create a small solution with a project then
everything works fine, or if i create a solution and only add a subset of my
test projects it is fine. My problem seems occur as i add more test projects
to the solution. When i seems to reach about 3000 tests then the IDE will
hang.

Each time that the IDE crashes i have been sending the Error Report to
microsoft... When i look at the report myself each time there seems to be a
reference to the System.Drawing Assembly ( none of my projects reference the
System.Drawing Assembly ).

Signature

Daniel

> Hello Danielm,
>
[quoted text clipped - 40 lines]
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
Wen Yuan Wang [MSFT] - 14 Mar 2008 10:59 GMT
Hello Daneil,
Thanks for your reply.

I believe VS IDE calls System.Drawing dll to draw test tasks on UI.
However, in command line, MSTest doesn't need to draw anything in UI. This
is why it works fine. This sounds like a VS IDE issue. Is it possible for
you to send me the Error Report when VS IDE crashes?  My email address is
v-wywang@microsoft.com. I'm willing to investigate on it.

Please feel free to let me know if you have any more concern. We are glad
to assist you.
Have a great day,
Best regards,
Wen Yuan

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
daniel - 18 Mar 2008 00:14 GMT
Hi Wen,

As Requested I will reproduce the issue and send you the error report.
Signature

Daniel

> Hello Daneil,
> Thanks for your reply.
[quoted text clipped - 18 lines]
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.