RE: Problems with Code Coverage and Team Build



Hello Steve

1) How do you clear locks on files on the build server. (Killing
TFSBuildService.exe doesn't work!)

You may use the tool: Process Explorer
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
It is capable of finding out the process that locks a certain file.

Step1. Run procexp -> Find menu -> Find Handle or DLL.
Step2. Input the locked file name (e.g. data.coverage in this case) to the
Search box. Procexp will list all the processes that locks the file.
(please let me know the search result)
Step3. Double clicking the process, and you will be switched to the
procexp's main window, with the corresponding process selected.
Step4. In the View menu, select Lower Panel View -> Handles
Step5. In the lower panel view (Handles), find out the file (data.coverage)
locked by the process. Right click on it and choose "Close Handle". This
will release the lock of the file.

Please note that the above step list is not the standard way of using Team
Build with code coverage. The step list is for the testing purpose.

2) How do you configure code coverage to work on the build server without
errors?

The general steps to configure Code Coverage to work on the build server is:
Test Menu -> Edit Test Run Configuration -> Code Coverage -> Select the
artifacts to instrument. -> Check in the change.

Have you ever edited the test run configuration xml file?

In addition, would you please check whether you have a Visual Studio
instance running on the TFS server?

Regards,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

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@xxxxxxxxxxxxxx

==================================================
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.



.



Relevant Pages

  • Re: Can SSAS 2005 work in Novell network?
    ... windows account which was used to log on to the local machine. ... the server to the relevant OLAP roles you should be good to go. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.sqlserver.olap)
  • RE: .net 3.5 Web Service in IIS on XP PRO SP2
    ... running in IIS server, correct? ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: IIS7 with multiple web sites - Windows Auth only working on localhost
    ... The findings of you indicates the problem isn't on the IIS server itself. ... doesn't mean integrated auth is turned off. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.inetserver.iis.security)
  • RE: Missing error in WSAAsyncSelect event completion in x64 enviro
    ... Windows Server 2003 x64 due to not catching FD_CONNECT event since the ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.networks)
  • NFS locking
    ... We have a NFS server here with a fairly high load. ... lockd: server xxx.xxx.xxx.xxx not responding, ... # ACPI Support ... # CD-ROM/DVD Filesystems ...
    (Linux-Kernel)