How to set conditional breakpoint based on string comparison in Visual Studio? [duplicate]

For use in Visual Studio, this has been answered here. In particular, the string provided in OBWANDO’s answer can be used to set the break point condition. Note, however, that it is a bit klugy. You will receive a warning message when the breakpoint is hit even though the debugger has stopped. It doesn’t appear … Read more

What is the difference between .NET Framework 4.6.1 Targeting Pack and .NET Framework 4.6.1 Runtime?

To use the framework with Visual Studio 2012 or later install the developer type version. The runtime type version is a lighter version, meant to run applications on servers. This runtime version doesn’t have the information/extensions that Visual Studio needs, so Visual Studio can’t use them. Check why at was-the-developer-pack-originally-called-sdk Update(2018-01-08) Currently, the download page … Read more

How do I change the line spacing in Visual Studio 2012?

I’ve found a workaround which works pretty well, partly alread described in this comment. You need to download and install TypeLight (free for personal use), and open the Consolas.ttf file inside. To adjust the line spacing, go to Font -> Metrics -> Advanced and change the “Line Gap” to your desire (I changed “Type Line … Read more

How to configure Web Deploy publishing feature on IIS so developer can publish?

It appears that one must still download the Web Deploy extension. Also, Version 3.5 is now available. To download on a server, default IE security rules will require you add something like http://*.microsoft.com as a trusted site else you can’t download the installer. The whole package is rather large in its purpose and covers many … Read more

What is the right xdt:Locator parameter to transform this node?

Ok. I feel a little silly but the solution is that I didn’t need to specify a xdt:Locator. If I just leave the App.Release.Config like this it will replace matching entry. <parameter value=”data source=dbserver;Integrated Security=SSPI;Initial Catalog=someDb;MultipleActiveResultSets=true” xdt:Transform=”Replace”/> </parameters>

How to set Visual Studio Filters for nested sub directory using cmake

There are several ready to use or adaptable solutions out there to mimic a Source Tree behavior like in Eclipse with CMake for Visual Studio (e.g. ADD_SRC_SUBFOLDER DESTINATION_SRCS from Zobra or GroupSources from Luca). Here is my reduced version for your use case: cmake_minimum_required(VERSION 2.8.10) project(Main CXX) set( source_list “File.cpp” “File.hpp” “Dir/File1.cpp” “Dir/File1.hpp” “Dir/File2.cpp” “Dir/File2.hpp” … Read more

tech