vs2008 runner, DLLs missing

Hi,
I am having some problems with the vs2008 builder that I can|t get my head around.

I have set up a dev server with 2008 web and sql 2008, installed asp.net mvc and setup VisualSVN. I have added my VS2008 project to the SVN trunk.

I'd like to use TeamCity for continous integration, and I have set it up to get the files from the repository. So far so good. But the builds are failing. There are severeal projects in the solution with references to each others, all of which I have added to the trunk.

When running the Build Agent I get these errors:

[13:36:07]: sln2008 output:
Could not find dependent files. Expected file "C:\TeamCity\buildAgent\work\96d007e0800071a0\Modules\bin\Release\Modules.dll" does not exist.
Could not find dependent files. The system cannot find the path specified. (Exception from HRESULT: 0x80070003)
Resolved file path is "C:\TeamCity\buildAgent\work\96d007e0800071a0\Modules\bin\Release\Modules.dll".
Reference found at search path location "".
CSC : error CS0006: Metadata file 'C:\TeamCity\buildAgent\work\96d007e0800071a0\Framework\bin\Release\Framework.dll' could not be found
CSC : error CS0006: Metadata file 'C:\TeamCity\buildAgent\work\96d007e0800071a0\Modules\bin\Release\Modules.dll' could not be found
Done Building Project "C:\TeamCity\buildAgent\work\96d007e0800071a0\Web\Web.csproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\TeamCity\buildAgent\work\96d007e0800071a0\Coreville.sln" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\TeamCity\buildAgent\work\96d007e0800071a0\Coreville.sln.teamcity.patch.tcprojx" (Build_TeamCity_generated_e1e6f644278540b191894187fd9fe353 target(s)) -- FAILED.

Build FAILED.

"C:\TeamCity\buildAgent\work\96d007e0800071a0\Coreville.sln.teamcity.patch.tcprojx" (Build_TeamCity_generated_e1e6f644278540b191894187fd9fe353 target) (1) ->
"C:\TeamCity\buildAgent\work\96d007e0800071a0\Coreville.sln" (Rebuild target) (2) ->
"C:\TeamCity\buildAgent\work\96d007e0800071a0\Data\Data.csproj" (Rebuild target) (3) ->
(CoreCompile target) ->
SystemAdmin\SiteCreator.cs(16,22): warning CS0414: The field 'Data.SystemAdmin.SiteCreator._customerID' is assigned but its value is never used


"C:\TeamCity\buildAgent\work\96d007e0800071a0\Coreville.sln.teamcity.patch.tcprojx" (Build_TeamCity_generated_e1e6f644278540b191894187fd9fe353 target) (1) ->
"C:\TeamCity\buildAgent\work\96d007e0800071a0\Coreville.sln" (Rebuild target) (2) ->
"C:\TeamCity\buildAgent\work\96d007e0800071a0\Web\Web.csproj" (Rebuild target) (4) ->
(CoreCompile target) ->
CSC : error CS0006: Metadata file 'C:\TeamCity\buildAgent\work\96d007e0800071a0\Framework\bin\Release\Framework.dll' could not be found
CSC : error CS0006: Metadata file 'C:\TeamCity\buildAgent\work\96d007e0800071a0\Modules\bin\Release\Modules.dll' could not be found

1 Warning(s)
2 Error(s)


It cannot find the referenced projects DLLs.

Why doesn't TeamCity build the solution and thereby create the missing DLLs by itself? I am not interested in cluttering the repository by checking in the bin folders.

4 comments
Comment actions Permalink

Please? Is there a solution?

0
Comment actions Permalink

And holy'o, I found the solution. Changing the sln2008 Runner "Targets" to "Build" instead of the default value "Rebuild" solved the problem. Of course!

0
Comment actions Permalink

Can you please let me know how you change sln2008 Runner "Targets" to "Build" instead of the default value "Rebuild"?

I also facing the same issue regarding missing dll file while build the project. If you required anything kindly see my post of missing dll file so from that you can clarify.

 

Thanks,

Vishal Ahir.

0
Comment actions Permalink

Hi Vishal,

 

in the page for the build step where you are using the runner, there should be a "Targets" field where you can modify that. This said, it's not necessarily the same case and the same might not necessarily work, so please make sure that you have troubleshoot the issue properly. 

0

Please sign in to leave a comment.