question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some tests are broken on Net 461 (culture-dependent thing)

See original GitHub issue

master branch, VS 2017 15.9.6, target net461, current UI culture is ‘ru-RU’

Some tests are failing under both VS & Resharper test runners, first few of them:

  • Tests AllSetupAndCleanupMethodRunsAsyncGenericValueTaskSetupTest, AllSetupAndCleanupMethodRunsAsyncValueTaskSetupTest AnArrayCanBePassedToBenchmarkAsSpan ArgumentsArePassedToBenchmarks TaskReturningMethodsAreAwaited UserCanSpecifyCustomBuildConfiguration

    benchmark build fails with message

    error CS0012: The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
    
  • Tests WhenInvalidCommandLineArgumentIsPassedAnErrorMessageIsDisplayedAndNoBenchmarksAreExecuted UnknownConfigMeansFailure

    fail with ArgumentNullException.

  • Test CanDisassembleInlinableBenchmarks, error ‘Assert.Contains() Failure Not found: (filter expression)’

  • Tests from LocalCoreClrToolchainTests, LocalCoreRtToolchainTests error ‘System.IO.DirectoryNotFoundException : C:\Projects\corert\bin\Windows_NT.x64.Release provided as newIlcPath does NOT exist’

etc

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
adamsitnikcommented, Feb 5, 2019

@ig-sinicyn in BDN we always do everything in Release, so honestly, I am not worried about the Debug builds. If you would like to make it work in Debug I would be very happy to review the PR :d

0reactions
ig-sinicyncommented, Feb 4, 2019

@adamsitnik some tests still fail for debug builds, CanDisassembleInlinableBenchmarks as example. Is it ok?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xunit Unit Tests will not run
The 'dependent assembly' it couldn't find was simply a different processor architecture than the xUnit test runner being used. To fix, as ...
Read more >
MSBuild reference for .NET SDK projects
Reference for the MSBuild properties and items that are understood by the .NET SDK.
Read more >
What's new in .NET Framework
See what's new in various versions of .NET Framework. Read a summary of key new features and improvements in each version.
Read more >
Migrating from .NET Framework to .NET Core: Tips and Tricks
Migration types: choose how to migrate based on how your software is developed and released. Understand where each project fits in the migration ......
Read more >
Multi-targetting .Net Framework and .Net Core in a single project
It's possible that you have a dependency on something that isn't available for both your targets. If so, you're probably stuck, unless you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found