Ticket #163 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Error building COLoggers solution

Reported by: michelpons Owned by: michelpons
Priority: blocker Milestone: 2.2
Component: COLoggers Version: Development
Keywords: Cc: michaelhalloran

Description

Using commit 274: Controller and Viewer built with no problem. Error performing registration while building solution for COLoggers Debug. See attachment for log of solution generation.

Attachments

BuildLog.htm (52.8 KB) - added by michelpons 11 years ago.
Generation log with commit 274

Change History

Changed 11 years ago by michelpons

Generation log with commit 274

comment:1 Changed 11 years ago by michelpons

  • Priority changed from major to blocker

comment:2 Changed 11 years ago by michaelhalloran

  • Owner changed from michaelhalloran to michelpons
  • Status changed from new to assigned

I have committed a change related to this. I'm not sure it is a fix. As I explained in my email the problem is that DLL registration requires admin privilege, so whatever regardless f what the build does, if the user is not running Visual Studio as an Administrator registration will fail. This is a known issue that is already documented in the development guide, and where a manual solution is documented.

The changes made in commit 275 are:

  • log4cxx is copied in the post-build script so that either manual registration as documented in the development guide, or automatic registration as part of a build when running as an administrator, will work
  • the post-build script will no longer return an error if registration fails.

There does not seem to be a correct behaviour to address this problem. In the end the developer needs to know whether registration is required - which is very rare - and to know how to do it.

Michel, I am reassigning this to you to close if this change is acceptable or if not to clarify what you expect.

comment:3 Changed 11 years ago by michaelhalloran

The 2nd sentence should read:

As I explained in my email the problem is that DLL registration requires admin privilege, so regardless of what the build does, if the user is not running Visual Studio as an Administrator registration will fail.

comment:4 Changed 11 years ago by michelpons

  • Status changed from assigned to closed
  • Resolution set to fixed

With commit 275, build of all elements goes fine. Mind that I have always used full admin rights when building COLTT so the issue was not insufficient admin rights. I close the ticket. Thanks.

Note: See TracTickets for help on using tickets.