This version now builds and runs HostApp under Visual Studio.Net 2008 using the project examples/examples2008.sln Immediate blame/responsibility Andy Dent mailto:andydent@sourceforge.net It is not perfect - there is still a single build error 1>------ Build started: Project: DllPlugInTesterTest, Configuration: Debug Win32 ------ 1>Updating c:\Users\andy\OpenSourceDev\cppunit\lib\cppunit_dll.dll 1>The system cannot find the file specified. 1>Project : error PRJ0019: A tool returned an error code from "Updating c:\Users\andy\OpenSourceDev\cppunit\lib\cppunit_dll.dll" 1>Build log was saved at "file://c:\Users\andy\OpenSourceDev\cppunit\src\DllPlugInTester\DebugTest\BuildLog.htm" 1>DllPlugInTesterTest - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 15 up-to-date, 0 skipped ========== -------------- Porting the code to Visual Studio.Net 2008 based on starting with cppunit from CVS 16th Dec 2008 USEFUL NOTES ACKNOWLEDGED GRATEFULLY http://sarathc.wordpress.com/2007/12/25/cppunit-error-c3505-cannot-load-type-library-80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2-whats-it/ CPPUnit: error C3505: cannot load type library ‘{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}’ - What’s it? Posted on December 25, 2007 by Sarath I just tried to compile CPP Unit Under Visual C++ 2008. Compiler. There was one problem When I tried to compile MFC Test Runner. MsDevCallerListCtrl.cpp .\MsDevCallerListCtrl.cpp(67) : error C3505: cannot load type library ‘{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}’ .\MsDevCallerListCtrl.cpp(67) : fatal error C1104: fatal error importing libid: ‘80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2' CPP Unit using IDE Automation component to track the source lines in the MFCTest runner. Version cppunit-1.12.0 currently support till version 7 of IDE Automation. I’ve only version 2008 of Visual Studio installed in my machine. So just correct the version number in MsDevCallerListCtrl.cpp file #if (_MSC_VER < 1500) #import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("7.0") lcid("0") raw_interfaces_only named_guids #else #import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version("9.0") lcid("0") raw_interfaces_only named_guids #endif For more Information Check "How to: Add References to the EnvDTE and EnvDTE80 Namespaces" http://msdn.microsoft.com/en-us/library/yf86a8ts%28VS.80%29.aspx ------------------ Made HostApp the default target and tried a build Still getting errors Error 1 error PRJ0019: A tool returned an error code from ".\DebugNoTypeInfoName\testrunnerd.dll" HostApp HostApp When I looked in Build/Configuration manager, TestRunner was set to Debug Unicode. Changed that to Debug and was able to run. WOOO HOOO!