You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Dima Rabinowitz (JIRA)" <ji...@apache.org> on 2019/01/22 20:18:00 UTC
[jira] [Commented] (LOG4NET-622) Copy support for C++ native from
1.2.10
[ https://issues.apache.org/jira/browse/LOG4NET-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16749098#comment-16749098 ]
Dima Rabinowitz commented on LOG4NET-622:
-----------------------------------------
thanks for your elaborated answer. you gave me few points to think about.
# the aspect of "single logger" I need/want is to have the same output from both managed and unmanaged into a single log file.
# I tried doing the needed change in the 1.2.10 source, but I didn't have any real progress.
thanks again.
> 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: Improvement
> 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
> Priority: Major
> Labels: NuGet, c++
>
> 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)