PublishPackagetoFileShare

I have successfuly published a number of projects using TFS Build to a fileshare but I get to a specific project and have found that the output folder doesn’t seem to be picked up it just defaults to C:\Packages

MSBuild arguement = /p:RunOctoPack=true;OctoPackPublishPackageToFileShare=\Server\Folder /p:VisualStudioVersion=14.0 /p:GenerateBuildInfoConfigFile=false

the MSbuild output =

     OctoPack: Successfully created package 'Package Name'.
     OctoPack: Copy file: NuGet Package location
     OctoPack: OctoPack successful
     Publish to file share: C:\MyPackages

has anyone had any similar problems ?

Hi Neil,

Thanks for reaching out! If it’s only happening in one project, I’d say that value is hardcoded somewhere in that project’s csproj file.

Could you double check that? If you are not sure where to look, feel free to send us the file.

Thanks!
Dalmiro

Thanks Dalmiro

that did the trick you have saved what’s left of my hair

thanks Neil

Glad to hear that :slight_smile:

Cheers!