[ 
https://issues.apache.org/jira/browse/LOG4NET-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dima Rabinowitz closed LOG4NET-622.
-----------------------------------

 

 

> Copy support for C++ native from 1.2.10
> ---------------------------------------
>
>                 Key: LOG4NET-622
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-622
>             Project: Log4net
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 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
>            Reporter: Dima Rabinowitz
>            Assignee: Dominik Psenner
>            Priority: Major
>              Labels: NuGet, c++
>             Fix For: 2.1.0
>
>
> h2. 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 
> '{color:#ff0000}native,Version=v0.0{color}', 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_.
>  
> h2. 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)
>  
> h2. Possible solution (?)
>  * see [https://stackoverflow.com/a/35068273/426315]
>  
> I tried to realize why does it work with 1.2.10 but I couldn't find anything 
> in the [related branch in 
> github|https://github.com/apache/logging-log4net/tree/rc/1.2.10-RC2] 
> (~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. :(
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to