Bug Report T477090
Visible to All Users

Test Runner - Unable to use Test Explorer to run Roslyn tests

created 8 years ago

Repro steps:

  1. Install VS2015 Update 3

  2. Install https://dotnet.myget.org/F/roslyn/vsix/eb2680f2-4e63-44a8-adf6-2e667d9f689c-2.0.0.6110410.vsix

  3. Install CodeRush for Roslyn v16.2.4

  4. Checkout Roslyn post-dev15 branch as of commit https://github.com/dotnet/roslyn/commit/34ca032786199e9fc206037bc6fb5c279cb1eb0b

  5. Run the build instructions:
    Restore.cmd
    msbuild /v:m /m Roslyn.sln

  6. Try and run any of the tests, e.g., in roslyn\src\Compilers\CSharp\Test\Emit\CodeGen\PropertyTests.cs

Expected behavior: the test is executed

Actual behavior: "Test started…" is shown, after a long wait a lot of errors (see attachment) is shown. Enabling assembly bind failure logging doesn't show any errors at all even after waiting for an hour or so.

Show previous comments (6)
DevExpress Support Team 8 years ago

    Hi Alexei,

    Thank you for the update and providing the log file. It has been very helpful.
    I have managed to reproduce the problem with the Newtonsoft.Json.dll file locally. We are researching the cause of this issue. You'll be notified when we prepare a fix.

    OL OL
    Ondřej Linhart 8 years ago

      This started happening to me too.

      DevExpress Support Team 8 years ago

        Hi Ondřej,

        Could you clarify if you have experienced trouble with running xunit tests within the Roslyn solution? Also, please provide us with CodeRush log files. You can find them at the following location: %LocalAppData%\CodeRush\Logs.

        Answers approved by DevExpress Support

        created 8 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.