OpenCover- Open cover saying missing PDBs when working with vstest.console.ex in tfs build definiton
<p>I am trying to integrate Opencover with TFS2013 for custom code coverage. I am passing the parameters necessary for running Open Cover via build definiton nad invoking OC using a InvokeProcess activity in the build process template.</p>

<p>I am following the procees mentioned in 
<a href="http://yasuo.hatenablog.com/entry/2012/01/01/094202" rel="nofollow">this blog</a> , <a href="http://yasuo.hatenablog.com/entry/2012/01/02/011606" rel="nofollow">here</a> and <a href="http://yasuo.hatenablog.com/entry/2011/12/31/221216" rel="nofollow">here</a>. </p>

<p>The final OpenCover arguments passed are </p>

<pre><code>OpenCover.Console.exe -register:user  -target:"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe"  -targetargs:"&lt;build_definition_folder&gt;\bin\NUnitTestDemo.dll &lt;build_definition_folder&gt;\bin\UnitTest.dll  /Platform:X86 /Framework:Framework45 /Logger:trx "  -targetdir:"&lt;build_definition_folder&gt;\bin"  -mergebyhash  -output:"&lt;build_definition_folder&gt;\bin\results.xml"
</code></pre>

<p>The output is coming as </p>

<p>Total tests: 2. Passed: 2. Failed: 0. Skipped: 0.</p>

<p>Test Run Successful.</p>

<p>Test execution time: 0.6657 Seconds</p>

<p>Committing...</p>

<p>No results, this could be for a number of reasons. The most common reasons are:</p>

<p>1) missing PDBs for the assemblies that match the filter please review the
output file and refer to the Usage guide (Usage.rtf) about filters.
2) the profiler may not be registered correctly, please refer to the Usage
guide and the -register switch.</p>

<p>Please help me. The PDBs are present in the same bin folder only. I tried running Open cover locally in my machine with <a href="https://visualstudiogallery.msdn.microsoft.com/6950a046-8919-4935-8542-c6f37956f688" rel="nofollow">Open Cover UI</a> and it is giving the results well. but with console application it is not working as i expected in the build server.</p>