Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CodeCoverageAttchment/CodeCoverageAttchment/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Threading.Tasks;
using Microsoft.TeamFoundation.TestClient.PublishTestResults;
using Microsoft.TeamFoundation.TestManagement.WebApi;
using Microsoft.VisualStudio.Services.Common;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sdcsadc

using Microsoft.VisualStudio.Services.WebApi;

namespace CodeCoverageAttchment
Expand All @@ -17,9 +18,9 @@ static void Main(string[] args)
{
//System.Diagnostics.Debugger.Launch();
string collectionUrl = args[0]; // $(System.TeamFoundationCollectionUri)
var connection = new VssConnection(new Uri(collectionUrl), new Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential(args[4]));
var connection = new VssConnection(new Uri(collectionUrl), new VssBasicCredential("user", args[4]));

var testClient = new TestManagementHttpClient(new Uri(collectionUrl), new Microsoft.VisualStudio.Services.OAuth.VssOAuthAccessTokenCredential(args[4]));
var testClient = new TestManagementHttpClient(new Uri(collectionUrl), new VssBasicCredential("user", args[4]));

string buildurl = args[1]; // $(BUILD.BUILDURI)
string projectName = args[2]; // $(SYSTEM.TEAMPROJECT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
</PrepareForRunDependsOn>
</PropertyGroup>
<Target Name="CopyNativeBinariesToOutputDirectory" DependsOnTargets="CopyFilesToOutputDirectory">
<Copy SourceFiles="$(MSBuildThisFileDirectory)\..\lib\native\x86\Microsoft.WITDataStore32.dll" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
<Copy SourceFiles="$(MSBuildThisFileDirectory)\..\lib\native\amd64\Microsoft.WITDataStore64.dll" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
</Target>
</Project>
</Project>