You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building project and passing the not valid property name from command line, the build does not report the error.
Example of the invocation:
dotnet msbuild .\projectfile.csproj /p:"property name"="property value"
Expected Behavior
The error to be reported 100% of the time.
MSBUILD : error MSB4177: Invalid property. The name "property name" contains an invalid character " ".
Actual Behavior
Some versions do not report the error.
I was not able to repro it via latest main branch.
Todo:
Understand the reason why the error not reporting in 17.9.x
Check if it is fixed in latest main
Add tests to the scenario
The text was updated successfully, but these errors were encountered:
Issue Description
When building project and passing the not valid property name from command line, the build does not report the error.
Example of the invocation:
dotnet msbuild .\projectfile.csproj /p:"property name"="property value"
Expected Behavior
The error to be reported 100% of the time.
MSBUILD : error MSB4177: Invalid property. The name "property name" contains an invalid character " ".
Actual Behavior
Some versions do not report the error.
I was not able to repro it via latest main branch.
Todo:
The text was updated successfully, but these errors were encountered: