Closed
Description
Describe the bug
After updating AWSSDK.S3 from 3.7.107 to 3.7.107.1 the build suddenly fails.
Expected Behavior
The build should still work after the update.
Current Behavior
After updating AWSSDK.S3 from 3.7.107 to 3.7.107.1 the build suddenly fails with the following error message:
CSC : error CS8032: An instance of analyzer Amazon.S3.CodeAnalysis.PropertyValueAssignmentAnalyzer cannot be created from C:\Users\peter.benko\.nuget\packages\awssdk.s3\3.7.107.1\analyzers\dotnet\cs\AWSSDK.S3.CodeAnalysis.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Upon reverting to 3.7.107 the build works again.
The project in question is net48
class library, built for x86
.
Reproduction Steps
Minimal repro solution -> all is fine if you downgrade to 3.7.107
Possible Solution
No response
Additional Information/Context
- Surprisingly, this issues is present only when using 32bit SDK since the build works on CI with 64but SDK
- Possibly caused by same root cause as Build fails with CS9057 error due to analyzer version compiler conflict #2989
AWS .NET SDK and/or Package version used
AWSSDK.S3 3.7.107.1
Targeted .NET Platform
.NET Framework 4.8
Operating System and version
Windows 10