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 br...@apache.org on 2013/07/15 06:56:34 UTC

svn commit: r1503119 - /incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/GacUtility.cs

Author: brett
Date: Mon Jul 15 06:56:34 2013
New Revision: 1503119

URL: http://svn.apache.org/r1503119
Log:
avoid exception re-adding GAC entry

Modified:
    incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/GacUtility.cs

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/GacUtility.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/GacUtility.cs?rev=1503119&r1=1503118&r2=1503119&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/GacUtility.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/GacUtility.cs Mon Jul 15 06:56:34 2013
@@ -70,6 +70,7 @@ namespace NPanday.Utils
                                     if (new FileInfo(exe).Exists)
                                     {
                                         // override with later ones in the list
+                                        paths.Remove(location);
                                         paths.Add(location, new KeyValuePair<string,string>(sdk, exe));
                                     }
                                 }