-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Milestone
Description
Hello,
I have a newly created f# netcoreapp2.1 console app with a vanilla fsproj file. I want to pass multiple constants to dotnet build. This works and the constants are validated when I run the program:
msbuild /p:DefineConstants="HELLO;WORLD"
... but this fails with MSB1006 errors:
dotnet build /p:DefineConstants="HELLO;WORLD"
dotnet build /p:DefineConstants=HELLO;WORLD
dotnet build /p:DefineConstants=\"Hello,World\"
dotnet build /p:DefineConstants=\"Hello;World\"
dotnet build /p:DefineConstants='Hello;World'
(...)
Is there a way to make this work with dotnet build cli? Thanks for the help.
Actual behavior
MSB1006 "property not valid..." is thrown
Environment data
- dotnet sdk 2.1.300
- win7-x64
Metadata
Metadata
Assignees
Labels
No labels