dotnet / dotnet/arcade

GenerateResxSource produces C# code with build errors on .NET Framework 3.0/3.5

Open
#16,488 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
729
Forks
397
Avg merge
3d 15m
Merged PRs (30d)
149

Description

GenerateResxSource produces code with [MethodImpl(MethodImplOptions.AggresiveInlining)], which (IIRC) was not available until .NET 4.5. The generated code surrounds the attribute with `#if !NET20`, but that returns true if compiling for net35.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.