You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Brett Porter (JIRA)" <ji...@apache.org> on 2011/06/24 06:02:47 UTC

[jira] [Created] (NPANDAY-445) Improper handling of .NET 4.0 GAC dependencies

Improper handling of .NET 4.0 GAC dependencies
----------------------------------------------

                 Key: NPANDAY-445
                 URL: https://issues.apache.org/jira/browse/NPANDAY-445
             Project: NPanday
          Issue Type: Bug
          Components: Maven Plugins, Project Importer
            Reporter: Brett Porter
            Assignee: Brett Porter
             Fix For: 1.4.1-incubating


There is a more general problem in NPanday related to references in the .NET 4.0 GAC. The workaround found in NPANDAY-443 was related to this.

In several places an assumption is used that version "4.0.0.0" equates to projects in the .NET 4.0 GAC, however this is rarely true. This needs to be replaced with logic that relies on the type of GAC used.

The converse is applying in the project importer which is not always correctly marking artifacts as gac_msil4 when they come from there. The problem is that the gacutil command lists assemblies in both GACs - they will need to be assessed to determine their actual location.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (NPANDAY-445) Improper handling of .NET 4.0 GAC dependencies

Posted by "Brett Porter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter resolved NPANDAY-445.
----------------------------------

    Resolution: Fixed

each assembly is now loaded for reflection to determine if its runtime version is appropriate for the target runtime. The highest available runtime version that is <= the target runtime is selected.

> Improper handling of .NET 4.0 GAC dependencies
> ----------------------------------------------
>
>                 Key: NPANDAY-445
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-445
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins, Project Importer
>            Reporter: Brett Porter
>            Assignee: Brett Porter
>             Fix For: 1.4.1-incubating
>
>
> There is a more general problem in NPanday related to references in the .NET 4.0 GAC. The workaround found in NPANDAY-443 was related to this.
> In several places an assumption is used that version "4.0.0.0" equates to projects in the .NET 4.0 GAC, however this is rarely true. This needs to be replaced with logic that relies on the type of GAC used.
> The converse is applying in the project importer which is not always correctly marking artifacts as gac_msil4 when they come from there. The problem is that the gacutil command lists assemblies in both GACs - they will need to be assessed to determine their actual location.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira