Description
Is there an existing issue for this?
- I have searched the existing issues
Product
Strawberry Shake
Describe the bug
When following this documentation (https://chillicream.com/docs/strawberryshake/v13/get-started/console), I get the following error when trying to build (sub-step 5 of step 4):
StrawberryShake.Server.targets(38, 20): [MSB4184] The expression "[MSBuild]::VersionGreaterThanOrEquals('', 6)" cannot be evaluated. Version string was not in a correct format.
.
I have followed the exact same instructions, so I don't understand why I get the error message. This is the generated code where it gives an error:
<PropertyGroup> <DotNetMajor Condition="$([MSBuild]::VersionGreaterThanOrEquals($(DotNetVersion),6))">6</DotNetMajor> <DotNetMajor Condition="$([MSBuild]::VersionGreaterThanOrEquals($(DotNetVersion),7))">7</DotNetMajor> </PropertyGroup>
The error mentions this file name: StrawberryShake.Server.Targets
Steps to reproduce
- Follow the instructions fromhttps://chillicream.com/docs/strawberryshake/v13/get-started/console
- Build the application when the instruction says 5. Compile your project.
Relevant log output
`StrawberryShake.Server.targets(38, 20): [MSB4184] The expression "[MSBuild]::VersionGreaterThanOrEquals('', 6)" cannot be evaluated. Version string was not in a correct format.`.
Additional Context?
No response
Version
13.1.0