{"id":3693,"date":"2012-12-19T16:17:00","date_gmt":"2012-12-19T16:17:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2012\/12\/19\/visual-studio-2012-c-cppunittestframework-targeting-the-visual-studio-c-2010-compiler\/"},"modified":"2019-02-14T17:57:46","modified_gmt":"2019-02-15T01:57:46","slug":"visual-studio-2012-c-cppunittestframework-targeting-the-visual-studio-c-2010-compiler","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/visual-studio-2012-c-cppunittestframework-targeting-the-visual-studio-c-2010-compiler\/","title":{"rendered":"Visual Studio 2012  C++ CppUnitTestFramework targeting the Visual Studio C++ 2010 compiler"},"content":{"rendered":"<p>Slow news day here at Microsoft; trolling my inbox noticed two things that might be of interest to the ALM Community. Using the C++ Unit Testing Framework targeting the 2010 complier and we have (found and) updated the &ldquo;Team Foundation Server Migration and Integration Solutions page on MSDN&rdquo;. <\/p>\n<p>&nbsp;<\/p>\n<p><strong><font size=\"3\">Visual Studio 2012&nbsp; C++ CppUnitTestFramework targeting the 2010 compiler?<\/font><\/strong><\/p>\n<p>Just saw a question and answer come across one of the internal distributions lists that should prove useful to folks adopting the new Visual Studio Testing framework for C++: <\/p>\n<blockquote>\n<p><em><font color=\"#9b00d3\"><strong>&ldquo;I have a customer who has Visual Studio 2012, but they are not ready to update the compiler (due to a couple of different reasons) so are still using the 2010 compiler.<\/strong><\/font><\/em><\/p>\n<p><em><font color=\"#9b00d3\"><strong>They are curious whether CppUnitTestFramework will work with the 2010 compiler.&rdquo;<\/strong><\/font><\/em><\/p>\n<\/blockquote>\n<p><strong>Answer: <\/strong><\/p>\n<p><a name=\"_MailEndCompose\"><font color=\"#000000\">The unit test framework works with 2010 compiler. <\/font><\/a><font color=\"#000000\"> This works fine with the appropriate changes to include paths in the project dll\/include references. <\/font><\/p>\n<p><a name=\"_MailEndCompose\"><font color=\"#000000\">The only thing to you do is add following include directory and library directory in the unit test project setting:<\/font><\/a><\/p>\n<ul>\n<li><font color=\"#000000\">C:Program Files (x86)Microsoft Visual Studio 11.0VCUnitTestinclude<\/font><\/li>\n<li><font color=\"#000000\">C:Program Files (x86)Microsoft Visual Studio 11.0VCUnitTestlib<\/font><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><font style=\"font-weight: bold\">Where is the &ldquo;Team Foundation Server Migration and Integration Solutions&rdquo; Page?<\/font><\/h4>\n<p>I have had a couple people ping me about the MSDN page: <strong>&ldquo;<a href=\"http:\/\/msdn.microsoft.com\/en-us\/vstudio\/bb840033\">Team Foundation Server Migration and Integration Solutions<\/a>&rdquo;<\/strong> going missing.&nbsp; <\/p>\n<p><strong>Answer:&nbsp; <\/strong><\/p>\n<p>Turns out in the last round of web site house cleaning we were a little overzealous and deleted it!&nbsp; Luckily the website is in version control; so not only have brought it back we have updated it to include Opshub: <\/p>\n<p><a href=\"http:\/\/msdn.microsoft.com\/en-us\/vstudio\/bb840033\">http:\/\/msdn.microsoft.com\/en-us\/vstudio\/bb840033<\/a>&nbsp;<\/p>\n<p>New Entry: <\/p>\n<blockquote>\n<p><b><a href=\"http:\/\/www.opshub.com\/main\/index.php\/products\/oim-alias\">TFS Migration and Integration for HP, IBM and more<\/a><\/b><\/p>\n<p>Provides both migration and integration solutions for TFS to HP, IBM&nbsp; and 30+ ALM systems; while enabling TFS to provide manageability and visibility across functional groups and business systems while maintaining complete historical data and traceability. <\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Slow news day here at Microsoft; trolling my inbox noticed two things that might be of interest to the ALM Community. Using the C++ Unit Testing Framework targeting the 2010 complier and we have (found and) updated the &ldquo;Team Foundation Server Migration and Integration Solutions page on MSDN&rdquo;. &nbsp; Visual Studio 2012&nbsp; C++ CppUnitTestFramework targeting [&hellip;]<\/p>\n","protected":false},"author":81,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,252],"tags":[],"class_list":["post-3693","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-testing"],"acf":[],"blog_post_summary":"<p>Slow news day here at Microsoft; trolling my inbox noticed two things that might be of interest to the ALM Community. Using the C++ Unit Testing Framework targeting the 2010 complier and we have (found and) updated the &ldquo;Team Foundation Server Migration and Integration Solutions page on MSDN&rdquo;. &nbsp; Visual Studio 2012&nbsp; C++ CppUnitTestFramework targeting [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/3693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=3693"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/3693\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=3693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=3693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=3693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}