Skip to content

Upgrading from 2.1.0 breaks aspnet_merge #82

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

Open
tl24 opened this issue Jan 15, 2019 · 3 comments
Open

Upgrading from 2.1.0 breaks aspnet_merge #82

tl24 opened this issue Jan 15, 2019 · 3 comments

Comments

@tl24
Copy link

tl24 commented Jan 15, 2019

We use precompiled pages for ASP.NET MVC on our site. Recently I tried to upgrade the StackifyLib nuget project from 2.1.0 to 2.1.3. When I did that I started getting an error during publish:

aspnet_merge(0,0): Error occurred: An error occurred when merging assemblies: Unresolved assembly reference not allowed: System.Net.Http.

This also occurs if I upgrade to StackifyLib 2.1.2.

We are targeting .NET 4.7.2. We have the following installed:
StackifyHttpModule version="1.0.28.0"
StackifyLib" version="2.1.0"
StackifyLib.log4net" version="2.1.0"

@tl24
Copy link
Author

tl24 commented Jan 15, 2019

Also wanted to note that the site compiles fine, it is only during publish that we have issues.

@tl24 tl24 changed the title Upgrading from 2.1 breaks aspnet_merge Upgrading from 2.1.0 breaks aspnet_merge Jan 15, 2019
@mattjbrooksii
Copy link
Contributor

Are you using a binding redirect for System.Net.Http?

@tl24
Copy link
Author

tl24 commented Jan 18, 2019

No I am not.

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

No branches or pull requests

2 participants