I have a solution with multiple projects, each with a .nuspec file and BuildPackage enabled. The main project has a dependency on the other two projects and I specified them as dependency in the .nuspec of the main project as described here
When creating a New-Release, I get the following error:
CreateReleasePackage.exe :
At C:\Users\Dennis\Dropbox\Projects\Espera\Espera\packages\Shimmer.0.7.4\tools\commands.psm1:70 char:26
+ $releaseOutput = & $createReleasePackageExe -o $ReleasesDir -p $packageD ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
Unexpected exception occurred creating package:
System.Exception: Couldn't find file for package in C:\Users\Dennis\Dropbox\Projects\Espera\Espera\packages: Espera.Core
at Shimmer.Core.ReleasePackage.<>c__DisplayClass1c.<findAllDependentPackages>b__19(PackageDependency dependency)
at System.Linq
.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Shimmer.Core.ReleasePackage.findAllDependentPackages(IPackage package, String packagesRootDir, HashSet`1 packageCache, FrameworkName frameworkName)
at Shimmer.Core.ReleasePackage.CreateReleasePackage(String outputFile, String packagesRootDir, Func`2 releaseNotesProcessor)
at CreateReleasePackage.Program.Main(String[] args)
Seems like CreateReleasePackage.exe looks for the project dependencies in the packages directory, but the built .nupgk files are still in their build output folders
I have a solution with multiple projects, each with a .nuspec file and
BuildPackageenabled. The main project has a dependency on the other two projects and I specified them as dependency in the .nuspec of the main project as described hereWhen creating a
New-Release, I get the following error:Seems like
CreateReleasePackage.exelooks for the project dependencies in thepackagesdirectory, but the built .nupgk files are still in their build output folders