Red Gate forums :: View topic - mstest with config files requires vs2008 prompt first
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

mstest with config files requires vs2008 prompt first

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
amccool



Joined: 21 Jan 2011
Posts: 1

PostPosted: Fri Jan 21, 2011 10:46 pm    Post subject: mstest with config files requires vs2008 prompt first Reply with quote

I'm unable to run mstest directly on my tests without first starting the Visual Studio 2008 Command Prompt. (DeploymentItem configuration file are not successfully located at runtime)

This is preventing me from setting up the profiler to profile my unit tests.

mstest /testcontainer:XXXX.dll /test:myWCFclientTest

Is there some way I can call vsvars.bat before I start executing my unit tests via mstest.exe ?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6674

PostPosted: Mon Jan 24, 2011 11:01 am    Post subject: Reply with quote

Thanks for your question. ANTS Profiler doesn't have any pre/post profiling action capability, but if it were me, I would make sure "profile child processes" is switched on, create a single batch file that runs everything you need and tell profiler to profile a desktop application and point it at cmd.exe.

c:\windows\system32\cmd.exe /c "mytest.bat"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group