Disable search selection in Visual Studio

It has (Finally!!!) been fixed with an option. Following the vote link from acarlon : In Visual Studio 2015, you can prevent Visual Studio from automatically switching to search in Selection scope by unchecking the following tools-option: Tools-Options-Environment-Find and Replace-Automatically limit search to selection Great that the option is only on the automation . So …

Read more

Generic base class for WinForm UserControl

We’re doing the same thing and we work around by specializing a class first and derive from the specialized class. Using the code from your example this means something like: public partial class UserControl : UserControlDesignable { … } public class UserControlDesignable : BaseUserControl<Someclass> { } The designer is still acting flaky sometimes – but …

Read more

What’s the difference between gtest.lib and gtest_main.lib?

the only reasonable difference is that gtest_main.lib provides a default implementation of a test application entry point (i.e. main function): Citation from Getting started with Google C++ Testing Framework: “[…] maybe you think that writing all those main() functions is too much work? We agree with you completely and that’s why Google Test provides a …

Read more