I have a project file that references the Crystal DLLs for v1.1 of the Framework.  On our build server, the v1.0 and the v1.1 Crystal assemblies are registered in the GAC.  When we perform a build on the build server, our project DLL is always built with a dependency on the older v1.0 Crystal assembly.  How do I force NAnt to pull a specific assembly version reference out of the GAC?  I already tried defining the path the appropriate DLLs in the reference path of the solution task, but it still seems to be pulling from the GAC which in turn pulls the wrong version.  Any ideas?

 

Here is my solution task:

 

            <target name="MyWeb">

                        <solution configuration="${solution.config}" outputdir="${build.dir}">

                                    <projects basedir="${src.dir}\web">

                                                <includes name="MyWebProj.vbproj" />

                                    </projects>

                                    <webmap>

                                                <map url="" path="${web.src.dir}\MyWebProj.vbproj" />

                                    </webmap>

                                    <assemblyfolders>

                                                <includes name="C:\Program Files\Common Files\Crystal Decisions\1.1\Managed\*.dll" />

                                                <includes name="${build.dir}" />

                                    </assemblyfolders>

                        </solution>

            </target>

 

 

 

 

Reply via email to