-
Notifications
You must be signed in to change notification settings - Fork 281
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
upgrade via NuGet should add bindingRedirect #98
Comments
NuGet will do it automatically when you have a reference to the other project that in turn using older version of |
I upgraded one of my web projects yesterday. When I deployed it got a could not load Application.Insights assembly. I was on version 1.x and upgraded to the latest 1.2. The web.config file did not get updated. Let me see if I can find the time later today to go back to the previous version and reproduce the steps. |
Make sure you don't have "hidden" references to the older version of SDK. Here is an article explaining how bindingRedirect works |
I believe the original packages were added using Visual Studio "Add Application Insights" right context menu item. However, since adding is a function of NuGet, not the package itself, I will close this issue. |
Thanks @pbolduc. You should definitely let us know even if it is NuGet error. BTW, "Add Application Insights" would just invoke NuGet installation, register new component and put instrumentation key into |
Kartang/features/multiple build
When upgrading using NuGet packages, the package should add bindingRedirect to app.config/web.config to prevent assembly load failures.
The text was updated successfully, but these errors were encountered: