Skip to content

Upgrading from 2.1.0 breaks aspnet_merge #82

Open

Description

@tl24

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"

Activity

  1. tl24 commented on Jan 15, 2019

    @tl24
    Author

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

  2. changed the title [-]Upgrading from 2.1 breaks aspnet_merge[/-] [+]Upgrading from 2.1.0 breaks aspnet_merge[/+] on Jan 15, 2019
  3. mattjbrooksii commented on Jan 17, 2019

    @mattjbrooksii
    Contributor

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

  4. tl24 commented on Jan 18, 2019

    @tl24
    Author

    No I am not.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions