You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by "Woodruff, Rodney" <Ro...@ziffdavis.com> on 2004/10/19 17:19:32 UTC

SourceSafe.Interop, or one of its dependencies, was not found

Hello All,

I am trying to use the vss task from nant contrib.  My target is below:

<target name="vss" depends="init">
	<vssget user="user" 
	password="password" 
	localpath="${framework.SourceDir}" 
	recursive="true"
	replace="true"
	writable="false"
	removedeleted="true"
	dbpath="\\???????\srcsafe.ini"
	path="$/framework.root"
	/>
</target>

I am using the 'loadtasks' task to load tasks from the
Nant.Contrib.Tasks.dll and the SourceSafe.Interop.dll. I didn't want to
send a message to the developer list just yet because I figured that
this is has already been solved.

I searched the list archive, google and google groups but could not find
a solution to this problem.

Here is the output when I try to run this task:

<snip>
C:\Projects\ZDSURVEY\framework>nant vss
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Projects/ZDSURVEY/framework/framework.build
Target(s) specified: vss
[loadtasks] Loading tasks from assembly
C:\bin\nantcontrib.Tasks-0.84\bin\NAnt.Contrib.Tasks.dll.
[loadtasks] Loading tasks from assembly
C:\bin\nantcontrib.Tasks-0.84\bin\SourceSafe.Interop.dll.

vss:


BUILD FAILED

INTERNAL ERROR

System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.IO.FileNo
tFoundException: File or assembly name SourceSafe.Interop, or one of its
dependencies, was not found.
File name: "SourceSafe.Interop"
   at NAnt.Contrib.Tasks.SourceSafe.BaseTask..ctor()
   at NAnt.Contrib.Tasks.SourceSafe.GetTask..ctor()

=== Pre-bind state information ===
LOG: DisplayName = SourceSafe.Interop, Version=5.1.0.0, Culture=neutral,
PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = C:\bin\nant-0.84\bin\
LOG: Initial PrivatePath = NULL
Calling assembly : NAnt.Contrib.Tasks, Version=0.84.1455.0,
Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: SourceSafe.Interop, Version=5.1.0.0,
Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL
file:///C:/bin/nant-0.84/bin/SourceSafe.Interop.DLL.
LOG: Attempting download of new URL
file:///C:/bin/nant-0.84/bin/SourceSafe.Interop/SourceSafe.Interop.DLL.
LOG: Attempting download of new URL
file:///C:/bin/nant-0.84/bin/SourceSafe.Interop.EXE.
LOG: Attempting download of new URL
file:///C:/bin/nant-0.84/bin/SourceSafe.Interop/SourceSafe.Interop.EXE.

   --- End of inner exception stack trace ---
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Obj
ect[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags
bindingAttr, Binder binder, Object[] args, CultureInfo culture
, Object[] activationAttributes)
   at System.Reflection.Assembly.CreateInstance(String typeName, Boolean
ignoreCase, BindingFlags bindingAttr, Binder binder
, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at NAnt.Core.TaskBuilder.CreateTask()
   at NAnt.Core.TypeFactory.CreateTask(XmlNode taskNode, Project proj)
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Please send bug report to nant-developers@lists.sourceforge.net.

Total time: 0.1 seconds.
</snip>

Thanks in advance for your help.

-- Rodney

Re: SourceSafe.Interop, or one of its dependencies, was not found

Posted by Gert Driesen <ge...@pandora.be>.
Rodney,

Please post this message to the Nant users list.

Gert

----- Original Message ----- 
From: "Woodruff, Rodney" <Ro...@ziffdavis.com>
To: "Log4NET User" <lo...@logging.apache.org>
Sent: Tuesday, October 19, 2004 5:19 PM
Subject: SourceSafe.Interop, or one of its dependencies, was not found


Hello All,

I am trying to use the vss task from nant contrib.  My target is below:

<target name="vss" depends="init">
<vssget user="user" 
password="password" 
localpath="${framework.SourceDir}" 
recursive="true"
replace="true"
writable="false"
removedeleted="true"
dbpath="\\???????\srcsafe.ini"
path="$/framework.root"
/>
</target>

I am using the 'loadtasks' task to load tasks from the
Nant.Contrib.Tasks.dll and the SourceSafe.Interop.dll. I didn't want to
send a message to the developer list just yet because I figured that
this is has already been solved.

I searched the list archive, google and google groups but could not find
a solution to this problem.

Here is the output when I try to run this task:

<snip>
C:\Projects\ZDSURVEY\framework>nant vss
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Projects/ZDSURVEY/framework/framework.build
Target(s) specified: vss
[loadtasks] Loading tasks from assembly
C:\bin\nantcontrib.Tasks-0.84\bin\NAnt.Contrib.Tasks.dll.
[loadtasks] Loading tasks from assembly
C:\bin\nantcontrib.Tasks-0.84\bin\SourceSafe.Interop.dll.

vss:


BUILD FAILED

INTERNAL ERROR

System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.IO.FileNo
tFoundException: File or assembly name SourceSafe.Interop, or one of its
dependencies, was not found.
File name: "SourceSafe.Interop"
   at NAnt.Contrib.Tasks.SourceSafe.BaseTask..ctor()
   at NAnt.Contrib.Tasks.SourceSafe.GetTask..ctor()

=== Pre-bind state information ===
LOG: DisplayName = SourceSafe.Interop, Version=5.1.0.0, Culture=neutral,
PublicKeyToken=null
 (Fully-specified)
LOG: Appbase = C:\bin\nant-0.84\bin\
LOG: Initial PrivatePath = NULL
Calling assembly : NAnt.Contrib.Tasks, Version=0.84.1455.0,
Culture=neutral, PublicKeyToken=null.
===

LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: SourceSafe.Interop, Version=5.1.0.0,
Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL
file:///C:/bin/nant-0.84/bin/SourceSafe.Interop.DLL.
LOG: Attempting download of new URL
file:///C:/bin/nant-0.84/bin/SourceSafe.Interop/SourceSafe.Interop.DLL.
LOG: Attempting download of new URL
file:///C:/bin/nant-0.84/bin/SourceSafe.Interop.EXE.
LOG: Attempting download of new URL
file:///C:/bin/nant-0.84/bin/SourceSafe.Interop/SourceSafe.Interop.EXE.

   --- End of inner exception stack trace ---
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Obj
ect[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags
bindingAttr, Binder binder, Object[] args, CultureInfo culture
, Object[] activationAttributes)
   at System.Reflection.Assembly.CreateInstance(String typeName, Boolean
ignoreCase, BindingFlags bindingAttr, Binder binder
, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at NAnt.Core.TaskBuilder.CreateTask()
   at NAnt.Core.TypeFactory.CreateTask(XmlNode taskNode, Project proj)
   at NAnt.Core.Target.Execute()
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)
   at NAnt.Core.Project.Execute()
   at NAnt.Core.Project.Run()

Please send bug report to nant-developers@lists.sourceforge.net.

Total time: 0.1 seconds.
</snip>

Thanks in advance for your help.

-- Rodney