Giter Club home page Giter Club logo

Comments (12)

nohwnd avatar nohwnd commented on June 10, 2024

This is probably the same issue as #4549 and #4627, we inserted fix for that into servicing on 7.0.4xx, and it should be in the next service release. (this has links to the insertion pr #4549 (comment))

Could you try the preview build of 7.0.401 from here please? https://github.com/dotnet/installer#table

from vstest.

nohwnd avatar nohwnd commented on June 10, 2024

Wait, looking at the binaries in 7.0.401, the have the same version as what you show in the console. Something is wrong.

from vstest.

nohwnd avatar nohwnd commented on June 10, 2024

The installer pipeline probably does not produce new builds of 7.0.4xx right now, our insertion is in sdk source code, but the latest insertion from sdk to installer is pretty old. dotnet/installer#16954

So right now you don't have a way to test it I think. 😞

from vstest.

bradwilson avatar bradwilson commented on June 10, 2024

@nohwnd No problem, let me know if/when you have something for me to test.

from vstest.

bradwilson avatar bradwilson commented on June 10, 2024

Also agree that this seem to be the same as #4549.

from vstest.

nohwnd avatar nohwnd commented on June 10, 2024

Checked it again today. The installer build is still old.

from vstest.

Cybrosys avatar Cybrosys commented on June 10, 2024

Strange, our app build pipeline failed last week on tests, then started working.

But now today I got the same error again:
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Microsoft.VisualStudio.TestPlatform.ObjectModel.EqtTrace' threw an exception. ---> System.TypeLoadException: Could not load type of field 'Microsoft.VisualStudio.TestPlatform.ObjectModel.PlatformEqtTrace:TraceSourceLevelsMap' (1) due to: Could not resolve type with token 01000019 from typeref (expected class 'System.Diagnostics.TraceLevel' in assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089') assembly:System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:System.Diagnostics.TraceLevel member:(null)

from vstest.

nohwnd avatar nohwnd commented on June 10, 2024

Are you building on hosted azdo images? Maybe you've hit an agent that already updated, and then hit another one that was not updated yet, and then an updated one again?

from vstest.

Cybrosys avatar Cybrosys commented on June 10, 2024

Yeah, Azure DevOps build pipeline and using:

pool:
  vmImage: 'macos-latest'

from vstest.

Ali-YousefiTelori avatar Ali-YousefiTelori commented on June 10, 2024

I got this exception on my source tests:

EasyMicroservices/Serialization#56

from vstest.

nohwnd avatar nohwnd commented on June 10, 2024

7.0.401 was released, I checked the nuget and it has 17.7.1 vstest.console, tried running net481 tests on ubuntu (WSL) and it works. So imho fixed, please someone confirm :)

Test run for /mnt/c/Users/jj/Downloads/dotnet-sdk-7.0.401-linux-x64_.tar/dotnet-sdk-7.0.401-linux-x64_/test/bin/Debug/net481/test.dll (.NETFramework,Version=v4.8.1)
Microsoft (R) Test Execution Command Line Tool Version 17.7.1 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.

Passed!  - Failed:     0, Passed:     1, Skipped:     0, Total:     1, Duration: 121 ms - test.dll (net481)

from vstest.

bradwilson avatar bradwilson commented on June 10, 2024

👍🏼

image

from vstest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.