Comments (12)
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.
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.
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.
@nohwnd No problem, let me know if/when you have something for me to test.
from vstest.
Also agree that this seem to be the same as #4549.
from vstest.
Checked it again today. The installer build is still old.
from vstest.
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.
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.
Yeah, Azure DevOps build pipeline and using:
pool:
vmImage: 'macos-latest'
from vstest.
I got this exception on my source tests:
EasyMicroservices/Serialization#56
from vstest.
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.
👍🏼
from vstest.
Related Issues (20)
- WindowsHangDumper: Expected path of DumpMinitool does not match path in Microsoft.Testplatform HOT 2
- Broken relative paths in `docs`
- Vstest loads Dlls in system folder before the ones in the application folder HOT 11
- "No test sources found matching the given filter '**\*,!**\obj\**' " error message is shown after automated tests with Azure Test Cases HOT 2
- TestExecution encountered unexpected failures System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.2.0.0 HOT 1
- vstest.console not able to load Microsoft.DiaSymReader during execution HOT 6
- Outdated version of Microsoft.Diagnostics.NETCore.Client creates always exception warnings in log files HOT 1
- Consider DisableAppDomains=true by default HOT 1
- TrxLogger throws on certain platforms
- "The library 'hostpolicy.dll' required to execute the application was not found" - Azure vstest HOT 15
- ITestLoggerWithParameters | ITestLogger async issue HOT 5
- VS 17.8 MS testhost.exe crashing on .NET 8 with Internal CLR error. (0x80131506) HOT 6
- The HTML report has visual glitches (stairs effect) with the .NET 8 SDK HOT 3
- Does Microsoft.CodeCoverage require any SKU of Visual Studio? HOT 10
- error TF298509 when running in Azure DevOps: HOT 2
- Testhost stays alive even though KeepAlive=false HOT 4
- System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1 when running a Test Adapter Visual Studio Extension on VS 17.7.x or above.
- Upgrade to .NET 9 SDK HOT 5
- TestCategory no longer works for VsTest HOT 7
- Staircase in logger seems not to be properly fixed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vstest.