Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed resolution of command assembly references in the system repository #130

Open
dirv opened this issue Dec 30, 2010 · 1 comment
Open

Comments

@dirv
Copy link
Contributor

dirv commented Dec 30, 2010

If a command installed within the system repository is run from within project scope, the project repository is used to resolve its references, instead of the system repository. E.g.

cd c:\src\myproj
o mycommand

myproj.wrapdesc:
depends: openwrap

mycommand.wrapdesc:
depends: openwrap
depends: x

Since mycommand is not present in the project's descriptor, it is run from the system repository. To load, it requires dependency x to be loaded. However the RuntimeAssemblyResolver will only see assemblies from the project repository, and x is not present in the project repository. Therefore mycommand cannot be loaded.

Workaround
To workaround this, mycommand can be added as a dependency to the project descriptor.

@serialseb
Copy link
Member

Slightly mitigated by the new -usesystem behaviour. Pending the system repository rewrite that's upcoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants