Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-622

Copy support for C++ native from 1.2.10

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 1.2.11, 1.2.12, 1.2.13, 1.2.14, 1.2.15, 2.0.6, 2.0.7, 2.0.8, 2.1.0
    • 2.1.0
    • Core
    • Important

    Description

      Issue Description

      In an empty C++ project, when trying to install any NuGet version except 1.2.10, we get an error:

      Severity Code Description Project File Line Suppression State
      Error Could not install package 'log4net 2.0.8'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

       

      But, it does work when installing log4net 1.2.10.

       

      Steps to reproduce

      • Create empty C++ project in Visual Studio
      • Right click on the project -> manage NuGet packages.
      • Search for Log4Net, choose any of the affected version -> Install

       Tested on Visual Studio 2017 (15.9.3)

       

      Possible solution

       

      I tried to realize why does it work with 1.2.10 but I couldn't find anything in the related branch in github (1.2.10-RC2)

      I guess it was a change done on the machine that built the version before uploading to NuGet, and was not committed into the repository.

       

      Attachments

        Activity

          People

            nachbarslumpi Dominik Psenner
            dimarabino Dima Rabinowitz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: