Replies: 6 comments
-
I tracked it down to this code and my workaround was to stop usingDotNetBuild and go back to manually calling MsBuild and XBuild depending on platform in order to set SetMSBuildPlatform(MSBuildPlatform.x86) on MSBuild.
It seems like Cake should either expose Or perhaps I'm just doing something wrong. |
Beta Was this translation helpful? Give feedback.
-
I worked around it like this
|
Beta Was this translation helpful? Give feedback.
-
Hey @ChaseFlorell, unless I'm forgetting something |
Beta Was this translation helpful? Give feedback.
-
ah, my mistake. I'm just using Are you able to use MSBuild instead of DotNetBuild? |
Beta Was this translation helpful? Give feedback.
-
Yeah. As per my comment above I'm just calling |
Beta Was this translation helpful? Give feedback.
-
Yip and mono now ships with MSBuild, so that and .NET Core CLI will likely be the recommended way going forward. DotnetBuild alias came before .NET CLI existed, IMHO it adds more confusion than benefit, so not unlikely it'll be obsoleted in the future. |
Beta Was this translation helpful? Give feedback.
-
What You Are Seeing?
I have a sln with multiple library projects (PCL, Android, iOS, UWP, .Net4.6), all but the iOS project build fine by just calling
DotNetBuild(solutionFile)
; but the iOS project gives this errorWhat is Expected?
Build completes successfully
What version of Cake are you using?
0.21.1
Are you running on a 32 or 64 bit system?
64
What environment are you running on? Windows? Linux? Mac?
Windows
Are you running on a CI Server? If so, which one?
VSTS (Hosted VS2017)
How Did You Get This To Happen? (Steps to Reproduce)
Build an iOS Library project
Output Log
Beta Was this translation helpful? Give feedback.
All reactions