VS2012 Solution build errors

I am trying to automate a VS2012 solution build in TeamCity.

Building the solution manually in Visual Studio completes without error.

Building the same solution in TeamCity fails with some library errors:

LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'
LINK : fatal error LNK1104: cannot open file 'kernel32.lib'

and several warnings similar to:

c:\buildagent\work\dc90d9eae1370d02\source\imdevolutionmedia\imdevolutionmedianativelibtests\imdomneonservertest.cpp(153): warning C4835: 'Microsoft::VisualStudio::CppUnitTestFramework::MemberMethodInfo `public: static Microsoft::VisualStudio::CppUnitTestFramework::MemberMethodInfo const * __stdcall ImdEvolutionMediaNativeLibTests::ImdOmneonServerTests::__GetTestMethodInfo_ReAttachPlayer_ValidPlayerNameIncorrectCase_ImdEvolutionMediaNativeLibExceptionThrown(void)'::`2'::s_Info' : the initializer for exported data will not be run until managed code is first executed in the host assembly [C:\BuildAgent\work\dc90d9eae1370d02\Source\ImdEvolutionMedia\ImdEvolutionMediaNativeLibTests\ImdEvolutionMediaNativeLibTests.vcxproj]

This is fairly new ground for me as I have not used VS before this, so any help is greatly appreciated. Happy to provide full build logs if necessary.


Please sign in to leave a comment.