Bugs item #1015508, was opened at 2004-08-24 14:31
Message generated for change (Comment added) made by jrbock
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1015508&group_id=31650

Category: Tasks
Group: 0.85
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: jbock (jrbock)
Assigned to: Nobody/Anonymous (nobody)
Summary: Nant.DotNetTasks Reference Error to NDoc.Core

Initial Comment:
The current build's Nant.DotNetTasks has a reference to 
NDoc.Core. It wants to load 1.3.1574.0, but the version 
number is 1.2.1303.41451, so I get an error when I try 
to execute the ndoc task.

Here's the error information:

System.IO.FileLoadException: The located assembly's 
manifest definition with nam
e 'NDoc.Core' does not match the assembly reference.
File name: "NDoc.Core"
   at NAnt.DotNet.Tasks.NDocTask.ExecuteTask()
   at NAnt.Core.Task.Execute() in C:\Documents and 
Settings\drieseng\Local Setti
ngs\Temp\tmp442.tmp\src\NAnt.Core\Task.cs:line 177
   at NAnt.Core.Target.Execute() in C:\Documents and 
Settings\drieseng\Local Set
tings\Temp\tmp442.tmp\src\NAnt.Core\Target.cs:line 249
   at NAnt.Core.Project.Execute(String targetName, 
Boolean forceDependencies) in
 C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp442.tmp\src\NAnt.Core
\Project.cs:line 876
   at NAnt.Core.Project.Execute(String targetName) in 
C:\Documents and Settingsdrieseng\Local 
Settings\Temp\tmp442.tmp\src\NAnt.Core\Project.cs:line
 846
   at NAnt.Core.Tasks.CallTask.ExecuteTask() in 
C:\Documents and Settings\driese
ng\Local 
Settings\Temp\tmp442.tmp\src\NAnt.Core\Tasks\CallTask
.cs:line 110
   at NAnt.Core.Task.Execute() in C:\Documents and 
Settings\drieseng\Local Setti
ngs\Temp\tmp442.tmp\src\NAnt.Core\Task.cs:line 177
   at NAnt.Core.Target.Execute() in C:\Documents and 
Settings\drieseng\Local Set
tings\Temp\tmp442.tmp\src\NAnt.Core\Target.cs:line 249
   at NAnt.Core.Project.Execute(String targetName, 
Boolean forceDependencies) in
 C:\Documents and Settings\drieseng\Local 
Settings\Temp\tmp442.tmp\src\NAnt.Core
\Project.cs:line 876
   at NAnt.Core.Project.Execute() in C:\Documents and 
Settings\drieseng\Local Se
ttings\Temp\tmp442.tmp\src\NAnt.Core\Project.cs:line 
833
   at NAnt.Core.Project.Run() in C:\Documents and 
Settings\drieseng\Local Settin
gs\Temp\tmp442.tmp\src\NAnt.Core\Project.cs:line 903

=== Pre-bind state information ===
LOG: DisplayName = NDoc.Core, Version=1.3.1574.0, 
Culture=neutral, PublicKeyToke
n=b9896512f28c0f09
 (Fully-specified)
LOG: Appbase = C:\Program Files\Nant\binLOG: Initial PrivatePath = 
lib;lib\net\1.1;lib\net
Calling assembly : NAnt.DotNetTasks, 
Version=0.85.1677.0, Culture=neutral, Publi
cKeyToken=null.
===

LOG: Private path hint found in configuration file: lib.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from 
C:\WINDOWS\Microsoft.NET\Framework\v1
.1.4322\config\machine.config.
LOG: Post-policy reference: NDoc.Core, 
Version=1.3.1574.0, Culture=neutral, Publ
icKeyToken=b9896512f28c0f09
LOG: Attempting download of new URL file:///C:/Program 
Files/Nant/bin/NDoc.Core.
DLL.
WRN: Comparing the assembly name resulted in the 
mismatch: Minor Version

----------------------------------------------------------------------

>Comment By: jbock (jrbock)
Date: 2004-08-24 16:12

Message:
Logged In: YES 
user_id=1110321

Which new version of NDoc? I downloaded the 1.3 beta1 and 
that DLL didn't work either.

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2004-08-24 15:21

Message:
Logged In: YES 
user_id=707851

You have an older version of NDoc.Core installed in 
c:\program files\Nant\bin (from a previous version of NAnt).

You need to remove that assembly, as the NDoc.Core 
assembly is now located in bin/lib/<framework 
family>/<framework version (eg. bin/lib/net/1.1).

----------------------------------------------------------------------

Comment By: jbock (jrbock)
Date: 2004-08-24 14:44

Message:
Logged In: YES 
user_id=1110321

I've also tried a binding redirect:

            <dependentAssembly>
                <assemblyIdentity name="NDoc.Core"
                    publicKeyToken="b9896512f28c0f09"
                    culture="neutral" />
                <bindingRedirect oldVersion="1.3.1574.0"
                    newVersion="1.2.1303.41451"/>
            </dependentAssembly>

but that doesn't work either as ExecuteTask() in 
NAnt.DotNet.Tasks.NDocTask wants to call AppendProbePath
(System.String) on NDoc.Core.Project, which doesn't exist in 
the 1.2.1303.41451 version.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1015508&group_id=31650


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to