Tag Archives: Visual Studio

Avoid code warnings being missed or ignored : Treating Warnings as Errors in Visual Studio

By | March 4, 2016

While developing application often we ignored several “build warnings” and only focused on fixing the “build errors”. What does those warning means? Are they really meant for ignore ? Or We are creating defects for future ?  When compilers compile the code and that can’t be built, Visual Studio shows the build error and In case of success… Read More »

Calling current project methods from C# Interactive Window in Visual Studio 2015 ?

By | March 2, 2016

The C# Interactive Window in Visual Studio is a great utility to play around the code, language features, API’s and other .NET framework features. The Interactive Window also support features like IntelliSense, syntax highlighting and navigating through executed commands. It is a REPL  (Read–eval–print loop) that provides us an environment for live coding and evaluate expression or code… Read More »

Filtering error list by Projects to focus on a specific problem in Visual Studio 2015

By | February 26, 2016

Incase there are several errors in your Visual Studio Solution and you have multiple projects, sometime it is quite difficult to figure out for which project actually it is causing. Most of the time as a developer either we sort by the project column to focus on a specific project or start building one my one project.  In Visual… Read More »

You can track Out of Scope Objects by assigning an Object ID during debugging in Visual Studio

By | February 17, 2016

“Make Object ID”, you can consider it as an another hidden features of Visual Studio that can give you lot of flexibility during debugging.  When we set “Make Object ID” for an object,  we are informing the Debugger to keep track of that object no matter it’s within scope or out of scope for the current context.  You… Read More »

Did you know– You can Drag-Drop & Copy-Paste code inside Watch Window in Visual Studio?

By | February 15, 2016

Watch Windows is one of most powerful and commonly used debugging tool inside Visual Studio.  This tool is commonly used to explore the objects, values, properties and other aspect during debugging.  To inspect any object, while debugging we generally right click on the code block and select “Add to Watch” to explore or we can also the keyboard… Read More »