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

Throws NullRef, if <dependencyElement> does not have <bindingRedirect> element in app.config #1142

Closed
deepakaravindr opened this issue Aug 7, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@deepakaravindr
Copy link

Throws NullRef, if < dependencyElement > does not have < bindingRedirect > element in app.config.

Repro steps:

  1. Create or open a project with app.config and binding redirects. Remove the < bindingRedirect > element alone from app.config for say Assembly A
  2. Perform update-package such that the binding redirect for Assembly A needs to be set or updated

Expected:
A new < bindingRedirect > element is updated properly or there is a warning message saying that the < bindingRedirect > element is missing.

Actual:
NullRef gets thrown and the update operation gets rolled back. Object reference is not set to instance of the object

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

No branches or pull requests

3 participants