Replies: 1 comment 2 replies
-
@nick5454 This has changed from pre-1.0.0 to 1.0.0 have you checked https://cakebuild.net/docs/getting-started/upgrade#passing-empty-arguments ? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this issue, how do pass a null variable: Or is something else wrong? Upgrading to Cake 1.1.0
Startup project is specified as a blank variable
error:
`Preparing to run build script...
Tools: D:\a\1\s\build\tools
Tools: D:\a\1\s\build\tools\Addins
Start testing Cake path.
Running build script...
Error: Expected an option value.
--ZipProjects=XXXXX.Mobile.Api= --SolutionFilePath=XXXXX.Mobile.Api.sln
--StartUpProject=
^ Did you forget the option value?
`
My yml:
variables:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
SolutionFile: "XXXXXX.Mobile.Api.sln"
ZipProjects: "XXXXX.Mobile.Api=" # leave blank to drop in whole file
StartUpProject: ""
DomainProject: ""
DomainOutputSql: ""
DbContext: ""
stages:
jobs:
steps:
displayName: 'PowerShell Script'
inputs:
targetType: filePath
filePath: '.\build\build_cake.ps1'
arguments: '--Target=Deploy --ZipProjects="$(ZipProjects)" --SolutionFilePath="$(SolutionFile)" --StartUpProject="$(StartUpProject)" --DomainProject="$(DomainProject)" --DomainOutputSql="$(DomainOutputSql)" --DbContext="$(DbContext)"'
env:
Beta Was this translation helpful? Give feedback.
All reactions