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 2013/03/01 06:47:13 UTC

[jira] [Commented] (NPANDAY-578) Project importer should use assembly search paths ahead of GAC

    [ https://issues.apache.org/jira/browse/NPANDAY-578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590288#comment-13590288 ] 

Brett Porter commented on NPANDAY-578:
--------------------------------------

I've done this, but made them both optional, since many users will wish to avoid the hardcoded paths and rather ensure that the artifacts have been loaded into a repository.
                
> Project importer should use assembly search paths ahead of GAC
> --------------------------------------------------------------
>
>                 Key: NPANDAY-578
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-578
>             Project: NPanday
>          Issue Type: Improvement
>          Components: Project Importer
>            Reporter: Brett Porter
>
> From {{Microsoft.Common.targets}}:
> {code}
> <!--
>         The SearchPaths property is set to find assemblies in the following order:
>             (1) Files from current project - indicated by {CandidateAssemblyFiles}
>             (2) $(ReferencePath) - the reference path property, which comes from the .USER file.
>             (3) The hintpath from the referenced item itself, indicated by {HintPathFromItem}.
>             (4) The directory of MSBuild's "target" runtime from GetFrameworkPath.
>                 The "target" runtime folder is the folder of the runtime that MSBuild is a part of.
>             (5) Registered assembly folders, indicated by {Registry:*,*,*}
>             (6) Legacy registered assembly folders, indicated by {AssemblyFolders}
>             (7) Resolve to the GAC.
>             (8) Treat the reference's Include as if it were a real file name.
>             (9) Look in the application's output folder (like bin\debug)
>         -->
> {code}
> Not all of these steps are suitable for NPanday, and it always includes the Maven repository as the first location it searches. Currently, only (3) and (7) from the above are implemented.
> When a dependency hasn't yet been loaded it is often located in the GAC, but these frequently differ in version from the reference assemblies distributed with most SDKs.
> Adding (4) and (5) would make this more reliable, and give users a clearer path to load into their artifact repository.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira