Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Upgrading to version 4.20.1 breaks the build #1371

Copy link
Copy link

Description

@spewu
Issue body actions

Hi there

I just upgraded our solution to the latest version of Moq (v. 4.20.1), and now all of our test projects fail to build on my Mac. I get this exception:

Analyzer 'Moq.SponsorLinker' threw an exception of type 'System.UnauthorizedAccessException' with message 'Access to the path '/usr/local/share/dotnet/sdk/7.0.302/Roslyn/bincore/%TEMP%\1M5Ot' is denied.'.

Looks like this was made for Windows, as %TEMP% looks like a Windows environment variable, which does not work on macOS.

Have to downgrade to 4.18.4 to get the build working again.

Hope you can look into this 🙂

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.