Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange System.UnauthorizedAccessException during build using latest version #1377

Closed
Rizzen opened this issue Aug 9, 2023 · 4 comments
Closed

Comments

@Rizzen
Copy link

Rizzen commented Aug 9, 2023

Repro is very simple - I have ConsoleApp on Mac using .NET 7, using Moq 4.20.1 and have only one following warning on build:

0>CSC: Warning AD0001 : Analyzer 'Moq.SponsorLinker' threw an exception of type 'System.UnauthorizedAccessException' with message 'Access to the path '/usr/local/share/dotnet/sdk/7.0.400-preview.23352.1/Roslyn/bincore/%TEMP%\1M5Ot' is denied.'.

@gudmundurm
Copy link

Look at this thread.

https://github.com/moq/moq/issues/1372 and upgrade to 4.20.2.

@KeterSCP
Copy link

KeterSCP commented Aug 9, 2023

Or better - stop using this library, because who knows which data will be sent next time, your IP, location, or even list of local files...

@ckuetbach
Copy link

This should be a duplicate of #1375

@zarlo
Copy link

zarlo commented Aug 9, 2023

Or better - stop using this library, because who knows which data will be sent next time, your IP, location, or even list of local files...

well since a http request is been made they have your ip already

@kzu kzu closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants