Strange error... solved with Content folder...

May 12, 2011 at 8:43 PM

Any ideas on the following problem?

I have package X depending on T4Scaffolding,

I install package X at the solution level, my solution is still empty when i install the package.

When I have a folder Content I can install my package.

When I don't have a folder Content containing a file I get the error:

PM> install-package macawsolutionsfactory-core
'T4Scaffolding (≥ 1.0.0)' not installed. Attempting to retrieve dependency from source...
'EntityFramework (≥ 4.1.10311.0)' not installed. Attempting to retrieve dependency from source...
Install-Package : External packages cannot depend on packages that target projects.
At line:1 char:16
+ install-package <<<<  macawsolutionsfactory-core
    + CategoryInfo          : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand