how to pass multiple sln files in bat command

13 views
Skip to first unread message

Mahua Pal

unread,
Jan 11, 2022, 8:09:46 AM1/11/22
to Jenkins Users
Hi,

I am getting below  error. Also can somehow please say how to pass muliple solution files of single project in bat command.

C:\jenkins\workspace\xyz>"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild" **/*.sln /p:RunOctoPack=true /p:OctoPackPublishPackageToFileShare=C:/jenkins/workspace/xyz /p:configuration='Release'
Microsoft (R) Build Engine version 16.11.1+3e40a09f8 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: **/*.sln


Reply all
Reply to author
Forward
0 new messages