DLL References

Experienced Posters,

I think i am missing something that is taken for granted. I have read alot of the documentation, but sitll not finding my answer.

Here is my deal,

I have a visual studio 2008 solution with 4 projects in it (1 web, and 3 class libs). This solution will compile, run and deploy just fine. But when brought into TC to build. The build error states that it cannot resolve items such as nunit, infragistics controls and some of the other 3rd part controls that we commonly use in our projects.

Am I missing something? Where do I put these referenced dlls? On the machine hosting the TC server? On the box where the build agent resides? I looked for direction in the documentation, but didn't find anything that I could use to get it working for me.

Can someone point me in the right direction?

Thanks,

1 comment

Hello,

There are several ways to diagnose the issue.

1. If you have all you references taken from GAC, you will have
to ensure all those references are in GAC on agent box.
2. If you have some king of 'libs' dir under version control(VCS), please
make sure to use relative
paths in in references. It can be checked by viewing .csproj/.vbproj
files:
Project/ItemGroup/Reference/HintPath/text() should be relative paths.
3. In case of 'libs' dir which is not put to VCS, make sure that paths
are on agent box.
4. Make sure build agent service is running under right user account that
has enough rights for
building.

Have I covered you case?

Build agent/Sln2008 runner does not have any points to set up references.
It just start msbuild
process with generated command line.

Thanks!
--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Experienced Posters,

I think i am missing something that is taken for granted. I have read
alot of the documentation, but sitll not finding my answer.

Here is my deal,

I have a visual studio 2008 solution with 4 projects in it (1 web, and
3 class libs). This solution will compile, run and deploy just fine.
But when brought into TC to build. The build error states that it
cannot resolve items such as nunit, infragistics controls and some of
the other 3rd part controls that we commonly use in our projects.

Am I missing something? Where do I put these referenced dlls? On the
machine hosting the TC server? On the box where the build agent
resides? I looked for direction in the documentation, but didn't find
anything that I could use to get it working for me.

Can someone point me in the right direction?

Thanks,



0

Please sign in to leave a comment.