Hello,

 

I am building a large solution using the solution task. We recently moved to from RC3 to RC4 and when the aximp command is called by RC4 the /rcw option is missing. This causes a runtime error. When using the solution task in RC3 this works correctly. I cannot release any of the code, and am not sure how to create a repro for this issue, but I can show you the build output from RC3 and RC4. I also tried the latest nightly build and the results were the same.

 

My buildfile looks similar to this:

<solution configuration= "${Configuration}" if= "true" >

            <projects>

                        <include name="c:\tmpdir\src\Product\HPAppTools.csproj" />

                        <include name="c:\tmpdir\src\Enumeration\Enumeration.csproj" />

                        …

            </projects>

</solution>

 

RC3 output:

 

             [solution] Building 'HPAppTools' [Release] ...                    

                           [tlbimp] Output file <ProjectFolder>\src\HPAppTools\obj\Interop.SHDocVw.dll' does not exist, recompiling.                          

                           [tlbimp] Starting 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\tlbimp.exe ("C:\WINDOWS\system32\shdocvw.dll" /out:" <ProjectFolder>\src\HPAppTools\obj\Interop.SHDocVw.dll" /nologo /namespace:SHDocVw /sysarray /verbose)' in '<ProjectFolder>\etc\build\Core'                     

                           [tlbimp] Type IWebBrowser imported.                 

                        …

                           [tlbimp] Type SearchAssistantOC imported.                   

                           [tlbimp] Type ShellSearchAssistantOC imported.                        

                           [tlbimp] Type library imported to <ProjectFolder>\src\HPAppTools\obj\Interop.SHDocVw.dll                   

                            [aximp] Generating Windows Forms Control wrapping 'C:\WINDOWS\system32\shdocvw.dll'.                    

                            [aximp] Output file <ProjectFolder>\src\HPAppTools\obj\AxInterop.SHDocVw.dll' does not exist, recompiling.                    

                            [aximp] Starting 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\aximp.exe ( /verbose /out:"<ProjectFolder>\src\HPAppTools\obj\AxInterop.SHDocVw.dll" /rcw:" <ProjectFolder>\src\HPAppTools\obj\Interop.SHDocVw.dll" /nologo C:\WINDOWS\system32\shdocvw.dll)' in <ProjectFolder>\etc\build\Core'                       

                            [aximp] Generated Assembly: <ProjectFolder>\src\HPAppTools\obj\AxInterop.SHDocVw.dll                     

                           [attrib] No matching files or directories found.

 

RC4 output:

 

[solution] Building 'HPAppTools' [Release] ...                     

             [solution] Compiling resources:              

             [solution] - <ProjectFolder>\src\HPAppTools\BasePasswordForm.resx                   

             [solution] - <ProjectFolder>\src\HPAppTools\DataGridLinkCellColumn.resx                         

             [solution] - <ProjectFolder>\src\HPAppTools\DataGridLinkLabel.resx                     

            …

             [solution] - <ProjectFolder>\src\HPAppTools\RTLToolBar.resx                   

             [solution] - <ProjectFolder>\src\HPAppTools\RTLTreeView.resx                 

             [solution] - <ProjectFolder>\src\HPAppTools\SetLocalization.resx                          

             [solution] - <ProjectFolder>\src\HPAppTools\SimpleDialog.resx                 

                           [tlbimp] Output file '<ProjectFolder>\src\HPAppTools\obj\Interop.SHDocVw.dll' does not exist, recompiling.                          

                           [tlbimp] Starting 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\tlbimp.exe ("C:\WINDOWS\system32\shdocvw.dll" /out:"<ProjectFolder>\src\HPAppTools\obj\Interop.SHDocVw.dll" /nologo /namespace:SHDocVw /sysarray /verbose)' in '<ProjectFolder>\etc\build\Core'                     

                           [tlbimp] Type IWebBrowser imported.                 

                        …

                           [tlbimp] Type ISearchAssistantOC imported.                  

                           [tlbimp] Type ISearchAssistantOC2 imported.                 

                           [tlbimp] Type ISearchAssistantOC3 imported.                 

                           [tlbimp] Type _SearchAssistantEvents imported.                        

                           [tlbimp] Type SearchAssistantOC imported.                   

                           [tlbimp] Type ShellSearchAssistantOC imported.                        

                           [tlbimp] Type library imported to <ProjectFolder>\src\HPAppTools\obj\Interop.SHDocVw.dll                        

                            [aximp] Generating Windows Forms Control wrapping 'C:\WINDOWS\system32\shdocvw.dll'.                    

                            [aximp] Output file '<ProjectFolder>\src\HPAppTools\obj\AxInterop.SHDocVw.dll' does not exist, recompiling.                          

                            [aximp] Starting 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin\aximp.exe ( /verbose /out:"<ProjectFolder>\src\HPAppTools\obj\AxInterop.SHDocVw.dll" /nologo C:\WINDOWS\system32\shdocvw.dll)' in '<ProjectFolder>\etc\build\Core'                

                            [aximp] Generated Assembly: <ProjectFolder>\src\HPAppTools\obj\SHDocVw.dll                        

                            [aximp] Generated Assembly: <ProjectFolder>\src\HPAppTools\obj\AxInterop.SHDocVw.dll

 

Notice in RC3 that the /rcw command is used to specify that Interop.SHDocVw.dll should be used and in RC4, no /rcw command is used and instead an extra assembly is created for SHDocVw.dll.  If this solution is built in VS.Net, the error does not occur.

 

The error at runtime is, “File or assembly name SHDocVw or one of its dependencies, was not found.”

 

Any suggestions would be appreciated.

 

Thanks,

___________

 

David Shaber

Build Engineer

Adecco Technical

 

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to