Skip to content

vstest build failing silently in source-build #1180

Closed

Description

@dseefeld

Restore is failing for datacollector.csproj when building with source build:

Package: Publish /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj�[0m
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 51.73 ms for /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/Microsoft.TestPlatform.CommunicationUtilities/Microsoft.TestPlatform.CommunicationUtilities.csproj.
  Restore completed in 51.73 ms for /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/Microsoft.TestPlatform.Common/Microsoft.TestPlatform.Common.csproj.
  Restore completed in 0.76 ms for /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/Microsoft.TestPlatform.CoreUtilities/Microsoft.TestPlatform.CoreUtilities.csproj.
  Restore completed in 1.23 ms for /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/Microsoft.TestPlatform.CrossPlatEngine/Microsoft.TestPlatform.CrossPlatEngine.csproj.
  Restore completed in 0.87 ms for /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/Microsoft.TestPlatform.ObjectModel/Microsoft.TestPlatform.ObjectModel.csproj.
  Restore completed in 0.8 ms for /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/Microsoft.TestPlatform.PlatformAbstractions/Microsoft.TestPlatform.PlatformAbstractions.csproj.
  Restore completed in 1.37 ms for /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/Microsoft.TestPlatform.Utilities/Microsoft.TestPlatform.Utilities.csproj.
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.TestPlatform.CommunicationUtilities is not compatible with net451 (.NETFramework,Version=v4.5.1). Project Microsoft.TestPlatform.CommunicationUtilities supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.TestPlatform.ObjectModel is not compatible with net451 (.NETFramework,Version=v4.5.1). Project Microsoft.TestPlatform.ObjectModel supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.TestPlatform.CrossPlatEngine is not compatible with net451 (.NETFramework,Version=v4.5.1). Project Microsoft.TestPlatform.CrossPlatEngine supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.TestPlatform.CoreUtilities is not compatible with net451 (.NETFramework,Version=v4.5.1). Project Microsoft.TestPlatform.CoreUtilities supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.VisualStudio.TestPlatform.Common is not compatible with net451 (.NETFramework,Version=v4.5.1). Project Microsoft.VisualStudio.TestPlatform.Common supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.TestPlatform.CommunicationUtilities is not compatible with net451 (.NETFramework,Version=v4.5.1) / win7-x64. Project Microsoft.TestPlatform.CommunicationUtilities supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.TestPlatform.ObjectModel is not compatible with net451 (.NETFramework,Version=v4.5.1) / win7-x64. Project Microsoft.TestPlatform.ObjectModel supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.TestPlatform.CrossPlatEngine is not compatible with net451 (.NETFramework,Version=v4.5.1) / win7-x64. Project Microsoft.TestPlatform.CrossPlatEngine supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.TestPlatform.CoreUtilities is not compatible with net451 (.NETFramework,Version=v4.5.1) / win7-x64. Project Microsoft.TestPlatform.CoreUtilities supports: netstandard2.0 (.NETStandard,Version=v2.0)
/src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj : error NU1201: Project Microsoft.VisualStudio.TestPlatform.Common is not compatible with net451 (.NETFramework,Version=v4.5.1) / win7-x64. Project Microsoft.VisualStudio.TestPlatform.Common supports: netstandard2.0 (.NETStandard,Version=v2.0)
  Restore failed in 394.67 ms for /src/bin/src/vstest.1e37ee32dbba48ad797b03bff0058c5c60a3a770/src/datacollector/datacollector.csproj.
cp: cannot stat ‘src/testhost/bin/Release/net451/win7-x64/*’: No such file or directory
cp: cannot stat ‘src/testhost.x86/bin/Release/net451/win7-x86/*’: No such file or directory

Activity

  1. self-assigned this
    on Aug 22, 2019
  2. dseefeld commented on Aug 22, 2019

    @dseefeld
    ContributorAuthor

    @dseefeld to follow up with vstest team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions