Is there an existing issue for this?
Describe the bug
Building an existing .NET 7 solution with .NET 8 preview 2 fails with the following error:
CSC : error CS8785: Generator 'RequestDelegateGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'NullReferenceException' with message 'Object reference not set to an instance of an object.' [/home/runner/work/lambda-test-server/lambda-test-server/src/AwsLambdaTestServer/MartinCostello.Testing.AwsLambdaTestServer.csproj::TargetFramework=net8.0]
Expected Behavior
The solution compiles and tests pass.
Steps To Reproduce
- Clone the martincostello/lambda-test-server repository
- Checkout the repository at martincostello/lambda-test-server@e47cc13
- Run
build.ps1
Exceptions (if any)
CSC : error CS8785: Generator 'RequestDelegateGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'NullReferenceException' with message 'Object reference not set to an instance of an object.' [/home/runner/work/lambda-test-server/lambda-test-server/src/AwsLambdaTestServer/MartinCostello.Testing.AwsLambdaTestServer.csproj::TargetFramework=net8.0]
.NET Version
8.0.100-preview.2.23157.25
Anything else?
No response
Is there an existing issue for this?
Describe the bug
Building an existing .NET 7 solution with .NET 8 preview 2 fails with the following error:
Expected Behavior
The solution compiles and tests pass.
Steps To Reproduce
build.ps1Exceptions (if any)
.NET Version
8.0.100-preview.2.23157.25
Anything else?
No response