-
-
Notifications
You must be signed in to change notification settings - Fork 226
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
When building UWP project using Azure DevOps Pipelines we got this error:
Error CS8032: An instance of analyzer Sentry.SourceGenerators.BuildPropertySourceGenerator cannot be created from C:\Users\svcprd_tfbuild.nuget\packages\sentry\5.15.1\analyzers\dotnet\cs\Sentry.SourceGenerators.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..
Microsoft.CodeAnalysis Version=4.3.0.0 is not available in Nuget repository.
Sentry Version=5.15.1
EDIT:
TreatWarningAsErrors is set to true, so this error is acutally a warning:
CSC : warning CS8032: An instance of analyzer Sentry.SourceGenerators.BuildPropertySourceGenerator cannot be created from C:\Users\svcprd_tfbuild.nuget\packages\sentry\5.14.1\analyzers\dotnet\cs\Sentry.SourceGenerators.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified..
Expected Result
Build should finish without problems.
Actual Result
Build fails with error described above
Product Area
Unknown
Link
No response
DSN
No response
Version
No response
Metadata
Metadata
Assignees
Labels
Projects
Status
Status