Confusing error message for wildcard in [AssemblyVersion] on .Net Core #22660
Labels
Area-Compilers
Concept-Determinism
The issue involves our ability to support determinism in binaries and PDBs created at build time.
Concept-Diagnostic Clarity
The issues deals with the ease of understanding of errors and warnings.
Resolution-Fixed
The bug has been fixed and/or the requested behavior has been implemented
Milestone
Version Used: .Net Core 2.0.0
Steps to Reproduce:
Create the following .Net Core 2.0 application:
csproj:
Program.cs:
dotnet build
Actual Behavior:
dotnet build
produces a confusing error message:Expected Behavior: The error clearly explains that the actual problem is that wildcard assembly versions are not allowed for deterministic builds.
Adding
<Deterministic>False</Deterministic>
to the csproj indeed makes the code compile.The question that prompted this issue: dotnet/sdk#1098 (comment).
The text was updated successfully, but these errors were encountered: