NuGet Error NU5033
Invalid metadata. Cannot specify both a License Expression and a License File.
Issue
The PackageLicenseExpression and PackageLicenseFile properties are mutually exclusive.
Solution
Use one or the other. If you are using a well known license that's part of the standard license list, consider using an expression. Otherwise please use a license file.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for