I was able to create the nuget package successfully , when i build the project locally from visual studio and i see that package got created inside obj\octopacked folder. but when i run build through teamcity, i am not able to see the package inside the obj\octopacked folder.
below is my build log
[10:41:07]OctoPack: usage: NuGet pack <nuspec | project> [options]
[10:41:07]OctoPack:
[10:41:07]OctoPack: Creates a NuGet package based on the specified nuspec or project file.
[10:41:07]OctoPack:
[10:41:07]OctoPack: Specify the location of the nuspec or project file to create a package.
[10:41:07]OctoPack:
[10:41:07]OctoPack: options:
[10:41:07]OctoPack:
[10:41:07]OctoPack: -OutputDirectory Specifies the directory for the created NuGet package file. If not specified, uses the current directory.
[10:41:07]OctoPack: -BasePath The base path of the files defined in the nuspec file.
[10:41:07]OctoPack: -Verbose Shows verbose output for package building.
[10:41:07]OctoPack: -Version Overrides the version number from the nuspec file.
[10:41:07]OctoPack: -Exclude + Specifies one or more wildcard patterns to exclude when creating a package.
[10:41:07]OctoPack: -Symbols Determines if a package containing sources and symbols should be created. When specified with a nuspec, creates a regular NuGet package file and the corresponding symbols package.
[10:41:07]OctoPack: -Tool Determines if the output files of the project should be in the tool folder.
[10:41:07]OctoPack: -Build Determines if the project should be built before building the package.
[10:41:07]OctoPack: -NoDefaultExcludes Prevent default exclusion of NuGet package files and files and folders starting with a dot e.g. .svn.
[10:41:07]OctoPack: -NoPackageAnalysis Specify if the command should not run package analysis after building the package.
[10:41:07]OctoPack: -ExcludeEmptyDirectories Prevent inclusion of empty directories when building the package.
[10:41:07]OctoPack: -IncludeReferencedProjects Include referenced projects either as dependencies or as part of the package.
[10:41:07]OctoPack: -Properties + Provides the ability to specify a semicolon “;” delimited list of properties when creating a package.
[10:41:07]OctoPack: -MinClientVersion Set the minClientVersion attribute for the created package.
[10:41:07]OctoPack: -Help (?) help
[10:41:07]OctoPack: -Verbosity Display this amount of details in the output: normal, quiet, detailed.
[10:41:07]OctoPack: -NonInteractive Do not prompt for user input or confirmations.
[10:41:07]OctoPack:
[10:41:07]OctoPack: For more information, visit http://docs.nuget.org/docs/reference/command-line-reference
[10:41:07]OctoPack:
[10:41:07]OctoPack: OctoPack successful
where should i specify the path for the nuspec or project file