|Import-Bundle resolution not able to import packages [message #1021016]
||Tue, 19 March 2013 11:21
| Daniel McGreal
Registered: April 2012
With 3.5.0 I'm finding that whenever I import a bundle using Import-Bundle I have to specify the version, the implicit 0.0.0 never finds the bundle that's there (no version conflict either). Further, I also have to specify one package from that bundle in the Import-Package declaration, also with an explicit version otherwise none of the packages are found from it. After adding just one package import, all the other packages from the imported bundle are then resolved.
So like this:
1. Add Import-Bundle with no version specified: ClassNotFound, etc.
2. Add version to Import-Bundle: Cannot satisfy import constraint on package;version="0.0.0" which that bundle exports.
3. Add an Import-Package for that package without version. Still cannot satisfy.
4. Add version to Import-Package: all other packages exported from the imported bundle are now resolved.
Is this normal?
I'm not sure what other debugging information it would help to provide.
Powered by FUDForum
. Page generated in 0.01696 seconds