Skip to content

Unable to get any tests to run anymore #28894

@Drawaes

Description

@Drawaes

Haven't done a pull for about 2 weeks with various VS updates in the meantime.

I tried both a VS 2019 and VS 2017 command prompt as well as a "default command prompt"

I have now removed VS 2019, still same result

.\build.cmd in a fresh folder, freshly cloned from the corefx repo.

however .\build.cmd -test comes back with a lot of the below (once for each test set) locally the highest .net I have installed is 2.2

  ----- end 23:58:24.43 ----- exit code -2147450735 ----------------------------------------------------------
C:\Users\timan\.nuget\packages\microsoft.dotnet.corefxtesting\1.0.0-beta.19128.2\build\core\Core.targets(190,5): error MSB3073: The command "C:\code\corefx2\artifacts\bin\tests\System.Xml.RW.CharCheckingReader.Tests\netcoreapp-Windows_NT-Debug-x64\RunTests.cmd C:\code\corefx2\artifacts\bin\testhost/netcoreapp-Windows_NT-Debug-x64/ C:\code\corefx2\.dotnet\ C:\code\corefx2\artifacts\tools\" exited with code -2147450735. [C:\code\corefx2\src\System.Private.Xml\tests\Readers\CharCheckingReader\System.Xml.RW.CharCheckingReader.Tests.csproj]
C:\Users\timan\.nuget\packages\microsoft.dotnet.corefxtesting\1.0.0-beta.19128.2\build\core\Core.targets(190,5): error MSB3073: The command "C:\code\corefx2\artifacts\bin\tests\System.Xml.RW.SubtreeReader.Tests\netcoreapp-Windows_NT-Debug-x64\RunTests.cmd C:\code\corefx2\artifacts\bin\testhost/netcoreapp-Windows_NT-Debug-x64/ C:\code\corefx2\.dotnet\ C:\code\corefx2\artifacts\tools\" exited with code -2147450735. [C:\code\corefx2\src\System.Private.Xml\tests\Readers\SubtreeReader\System.Xml.RW.SubtreeReader.Tests.csproj]
C:\Users\timan\.nuget\packages\microsoft.dotnet.corefxtesting\1.0.0-beta.19128.2\build\core\Core.targets(201,5): error : One or more tests failed while running tests from 'System.Xml.RW.CharCheckingReader.Tests'. [C:\code\corefx2\src\System.Private.Xml\tests\Readers\CharCheckingReader\System.Xml.RW.CharCheckingReader.Tests.csproj]
C:\Users\timan\.nuget\packages\microsoft.dotnet.corefxtesting\1.0.0-beta.19128.2\build\core\Core.targets(201,5): error : One or more tests failed while running tests from 'System.Xml.RW.SubtreeReader.Tests'. [C:\code\corefx2\src\System.Private.Xml\tests\Readers\SubtreeReader\System.Xml.RW.SubtreeReader.Tests.csproj]
  ----- start 23:58:37.64 ===============  To repro directly: =====================================================
  pushd C:\code\corefx2\artifacts\bin\tests\System.Xml.RW.FactoryReader.Tests\netcoreapp-Windows_NT-Debug-x64\
  C:\code\corefx2\artifacts\bin\testhost\netcoreapp-Windows_NT-Debug-x64\dotnet.exe xunit.console.dll System.Xml.RW.FactoryReader.Tests.dll -xml testResults.xml -nologo -notrait category=nonnetcoreapptests -notrait category=nonwindowstests -notrait category=failing -notrait category=OuterLoop
  popd
  ===========================================================================================================
    It was not possible to find any installed dotnet SDKs
    Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
        https://aka.ms/dotnet-download
  ----- end 23:58:37.71 ----- exit code -2147450735 ----------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions