Author: brett
Date: Fri Jun 24 06:40:07 2011
New Revision: 1139167
URL: http://svn.apache.org/viewvc?rev=1139167&view=rev
Log:
Partial revert of r1069722 so that GAC dependencies are created during project
import again
Modified:
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/GacUtility.cs
Modified:
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/GacUtility.cs
URL:
http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/GacUtility.cs?rev=1139167&r1=1139166&r2=1139167&view=diff
==============================================================================
---
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/GacUtility.cs
(original)
+++
incubator/npanday/trunk/dotnet/assemblies/NPanday.Utils/src/main/csharp/NPanday/Utils/GacUtility.cs
Fri Jun 24 06:40:07 2011
@@ -39,9 +39,9 @@ namespace NPanday.Utils
public GacUtility()
{
- /*
- TODO: Why is this done?
-
+ // Used to determine which references exist in the GAC, used
during VS project import
+ // TODO: we need a better way to determine this by querying the
GAC using .NET
+ // rather than parsing command output
Process p = new Process();
try
@@ -66,7 +66,6 @@ namespace NPanday.Utils
{
throw new Exception( "Unable to execute gacutil - check that
your PATH has been set correctly (Message: " + exception.Message + ")" );
}
- */
string msBuildPath =
Path.GetDirectoryName(System.Reflection.Assembly.GetAssembly(typeof(string)).Location);