<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Visual Studio on The Lone C++ Coder's Blog</title><link>https://www.lonecpluspluscoder.com/tags/visual-studio/</link><description>Recent content in Visual Studio on The Lone C++ Coder's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Fri, 27 Mar 2015 07:24:31 +0000</lastBuildDate><atom:link href="https://www.lonecpluspluscoder.com/tags/visual-studio/index.xml" rel="self" type="application/rss+xml"/><item><title>Useful regular expressions for searching C++ code with Visual Studio</title><link>https://www.lonecpluspluscoder.com/2015/03/27/couple-useful-regexes-visual-studio-search/</link><pubDate>Fri, 27 Mar 2015 07:24:31 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2015/03/27/couple-useful-regexes-visual-studio-search/</guid><description>&lt;p&gt;I&amp;rsquo;m generally more of a grep person but sometimes it&amp;rsquo;s easier to just use the built-in search in Visual Studio, especially if you want to be able to restrict the search to parts of your Visual Studio solution. Visual Studio does have pretty powerful search built in if you do use regular expressions instead of the default text matching. Here are a couple of regexes to get you started:&lt;/p&gt;
&lt;p&gt;Find all shared_ptr calls that use &amp;ldquo;new&amp;rdquo; instead of the recommended make_shared: &lt;code&gt;shared_ptr&amp;lt;.+&amp;gt;(new .+)&lt;/code&gt;&lt;/p&gt;</description></item><item><title>How to turn off the shouty menus in Visual Studio, 2013 edition</title><link>https://www.lonecpluspluscoder.com/2014/01/09/how-to-turn-off-the-shouty-menus-in-visual-studio-2013-edition/</link><pubDate>Thu, 09 Jan 2014 11:45:53 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2014/01/09/how-to-turn-off-the-shouty-menus-in-visual-studio-2013-edition/</guid><description>&lt;p&gt;Visual Studio 2013, much like its predecessor Visual Studio 2012, also &amp;ldquo;features&amp;rdquo; the SHOUTY uppercase menus. Like in Visual Studio 2012, these can be &lt;a href="http://blogs.msdn.com/b/zainnab/archive/2013/08/21/visual-studio-2013-turn-off-the-uppercase-menu.aspx"&gt;turned off using a registry setting&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;tl;dr - run this command in PowerShell:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f0f3f3;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#366"&gt;Set-ItemProperty&lt;/span&gt; -Path HKCU&lt;span style="color:#a00;background-color:#faa"&gt;:&lt;/span&gt;SoftwareMicrosoftVisualStudio12.0General -Name SuppressUppercaseConversion -Type DWord -Value &lt;span style="color:#f60"&gt;1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Visual Studio 2012 C++ Variadic Template support in the runtime library</title><link>https://www.lonecpluspluscoder.com/2013/08/20/visual-studio-2012-variadic-template-support-in-the-runtime-library/</link><pubDate>Tue, 20 Aug 2013 10:46:04 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2013/08/20/visual-studio-2012-variadic-template-support-in-the-runtime-library/</guid><description>&lt;p&gt;As VS2012&amp;rsquo;s C++ compiler doesn&amp;rsquo;t support &amp;ldquo;true&amp;rdquo; variadic templates, the new runtime library classes that use variadic templates are implemented using macro magic behind the scenes. In order to get the &amp;ldquo;variadic&amp;rdquo; templates to accept more than the default of five parameters, you&amp;rsquo;ll have to set _VARIADIC_MAX to the desired maximum number of parameters (between five and ten).&lt;/p&gt;
&lt;p&gt;For more information, see the &amp;ldquo;faux variadics&amp;rdquo; section of this &lt;a href="http://blogs.msdn.com/b/vcblog/archive/2011/09/12/10209291.aspx"&gt;blog post&lt;/a&gt; on MSDN.&lt;/p&gt;</description></item><item><title>I guess the feedback actually did work</title><link>https://www.lonecpluspluscoder.com/2012/06/15/i-guess-the-feedback-actually-did-work/</link><pubDate>Fri, 15 Jun 2012 12:09:21 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2012/06/15/i-guess-the-feedback-actually-did-work/</guid><description>&lt;p&gt;After all the brouhaha over Visual Studio 2012 not being able to build executables for Windows XP, it looks like Microsoft has reconsidered:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/vcblog/archive/2012/06/15/10320645.aspx"&gt;http://blogs.msdn.com/b/vcblog/archive/2012/06/15/10320645.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pity that we&amp;rsquo;ll have to wait for the update but at least those of us who still have clients that are exclusively XP can use a modern compiler&amp;hellip;&lt;/p&gt;</description></item><item><title>If you want to remove a (C++) project from a Visual Studio 2010 solution</title><link>https://www.lonecpluspluscoder.com/2012/05/06/if-you-want-to-remove-a-c-project-from-a-visual-studio-2010-solution/</link><pubDate>Sun, 06 May 2012 10:24:39 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2012/05/06/if-you-want-to-remove-a-c-project-from-a-visual-studio-2010-solution/</guid><description>&lt;p&gt;&amp;hellip; make sure that you have removed all dependencies on the project that you are about to remove before you remove the project from the solution.&lt;/p&gt;
&lt;p&gt;If you don&amp;rsquo;t, the projects that still have dependencies on the project you just removed will retain the dependencies, but the dependencies will have become invisible and the only way to rid yourself of the &amp;ldquo;phantom dependencies&amp;rdquo; is by editing the actual vxcproj files with a text editor and remove the dependency entry in there manually.&lt;/p&gt;</description></item><item><title>Quick tip if you see 'bad DLL or entry point msobj80.dll' when building software with VS2008</title><link>https://www.lonecpluspluscoder.com/2010/11/15/quick-tip-if-you-see-bad-dll-or-entry-point-msobj80-dll-when-building-software-with-vs2008/</link><pubDate>Mon, 15 Nov 2010 12:17:30 +0000</pubDate><author>Timo Geusch</author><guid>https://www.lonecpluspluscoder.com/2010/11/15/quick-tip-if-you-see-bad-dll-or-entry-point-msobj80-dll-when-building-software-with-vs2008/</guid><description>&lt;p&gt;Try stopping mspdbsrv.exe (the process that generates the pdb files during a build) if it is still running. My understanding is that it&amp;rsquo;s supposed to shut down at the end of the compilation but it seems that it can turn into a zombie process and if the latter happens, you can get the above error when linking your binaries.&lt;/p&gt;
&lt;p&gt;Anyway, I just ran into this issue and stopping the process via the Task Manager resolved the issue for me.&lt;/p&gt;</description></item></channel></rss>