[jira] Resolved: (NPANDAY-333) Dependecy of type 'gac' is not resolved correclty
[ https://issues.apache.org/jira/browse/NPANDAY-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adelita L. Padilla resolved NPANDAY-333. Resolution: Fixed Assignee: Adelita L. Padilla Dependecy of type 'gac' is not resolved correclty - Key: NPANDAY-333 URL: https://issues.apache.org/jira/browse/NPANDAY-333 Project: NPanday Issue Type: Bug Components: Repository Affects Versions: 1.3-incubating Reporter: Artem Fedorenko Assignee: Adelita L. Padilla Fix For: 1.3-incubating Attachments: GACArtifacts.patch In current (revision 1025844) trunk revision of the codebase after merging UAC and PAB removal branch to trunk there is a problem with resolving dependencies from old (.NET 1.1-3.5) GAC - NPnday tries to load them directly from c:\Windows\assembly\. It should be c:\Windows\assembly\GAC (or c:\Windows\assembly\GAC_32, c:\Windows\assembly\GAC_64, c:\Windows\assembly\GAC_MSIL - depending of type). This issue does not concerns dependencies from new (.NET 4.0) GAC. I created a little patch fixing this issue - will attach to this issue -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r1051454 - /incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/csharp/SettingsUtil.cs
Author: apadilla Date: Tue Dec 21 11:13:41 2010 New Revision: 1051454 URL: http://svn.apache.org/viewvc?rev=1051454view=rev Log: [NPANDAY-239] - fixed the crashing of VS when adding a remote repository and profiles tag is existing. Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/csharp/SettingsUtil.cs Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/csharp/SettingsUtil.cs URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/csharp/SettingsUtil.cs?rev=1051454r1=1051453r2=1051454view=diff == --- incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/csharp/SettingsUtil.cs (original) +++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Model.Settings/src/main/csharp/SettingsUtil.cs Tue Dec 21 11:13:41 2010 @@ -309,7 +309,10 @@ namespace NPanday.Model.Setting foreach (Profile profile in settings.profiles) { -repos.AddRange(profile.repositories); +if (profile.repositories != null) +{ +repos.AddRange(profile.repositories); +} } return repos; } @@ -328,11 +331,14 @@ namespace NPanday.Model.Setting { foreach (Profile profile in settings.profiles) { -foreach (Repository repo in profile.repositories) +if (profile.repositories != null) { -if (url.Equals(repo.url)) +foreach (Repository repo in profile.repositories) { -return repo; +if (url.Equals(repo.url)) +{ +return repo; +} } } }
[jira] Commented: (NPANDAY-239) VS Add-In messes up settings.xml
[ https://issues.apache.org/jira/browse/NPANDAY-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12973577#action_12973577 ] Adelita L. Padilla commented on NPANDAY-239: added checking in SettingsUtil.cs so that VS will not crash when profiles tag is existing (r1051454) VS Add-In messes up settings.xml Key: NPANDAY-239 URL: https://issues.apache.org/jira/browse/NPANDAY-239 Project: NPanday Issue Type: Bug Components: Visual Studio Add-in Reporter: Lars Corneliussen Assignee: Adelita L. Padilla Fix For: 1.3-incubating With the fix for [workitem:11837] now the settings.xml is reformatted and all comments are stripped out. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.