2018-04-27

TargetInvocationException – How to break on the correct line

In many modern applications, you use Task or Threads to optimize your code. But when an exception occurred, you receive a generic exception like System.Reflection.TargetInvocationException: ...
Posted in MVVM, Thread, Tips and othersLeave a Comment on TargetInvocationException – How to break on the correct line

[Tip] Windows 10 – Display Menu to the Left or to the Right of your hand.

If like me, your PC is configured to display Visual Studio menu to the left of my hand. Of course, your are using Visual Studio ...
Posted in Tips and others, Visual StudioLeave a Comment on [Tip] Windows 10 – Display Menu to the Left or to the Right of your hand.

Quick tip about SqlCmd.exe 13

Some days ago, I’ve installed Visual Studio 2017 and today, I’ve try to execute a simple SQL query with SQLCMD.EXE. What’s the problem ? No ...
Posted in SQL Server, Tips and othersLeave a Comment on Quick tip about SqlCmd.exe 13

Tip to optimize SQL Queries

Identification of the problem. Some days ago, a customer call me to try to solve a performance problem into an existing application connected to SQL ...
Posted in General, SQL Server, SqlDatabaseCommand, Tips and othersLeave a Comment on Tip to optimize SQL Queries

Configure a Visual Studio Online (VSO) Build Agent

When using Visual Studio Online (VSO) in your team or for your personal projects, it is very useful to integrate a compilation and a continuous deployment ...
Posted in General, Team Foundation Server, Tips and others, Visual Studio1 Comment on Configure a Visual Studio Online (VSO) Build Agent

How to migrate EntityFramework 5 to EntityFramework 6 with Visual Studio 2015

If you have developed your application with EntityFramework 4 or 5, using the graphical model designer EDMX… May be you received a compilation error after some ...
Posted in Tips and others, Visual Studio2 Comments on How to migrate EntityFramework 5 to EntityFramework 6 with Visual Studio 2015

How to transfert a file from Host to a Hyper-V Virtual Machine?

Each time I need to copy a file from my PC to a Virtual Machine hosted by Hyper-V, I don’t remember the best way. If ...
Posted in Formation, Hyper-V, Tips and othersLeave a Comment on How to transfert a file from Host to a Hyper-V Virtual Machine?

Windows 8.1 : How to boot on a VHDX disk

To create a dual boot on your physical PC: 1. Create a Hyper-V Virtual Machine with a bootable VHDX disk file. 2. Via Windows Explorer, ...
Posted in Hyper-V, Tips and othersLeave a Comment on Windows 8.1 : How to boot on a VHDX disk

How to solve “Hypervisor is not running” error?

If like me, you use often HiPer-V to validate products or to develop in the same environment as your customer, so you could be receive ...
Posted in Hyper-V, Tips and othersLeave a Comment on How to solve “Hypervisor is not running” error?

TFS – How to set the default Work Item State to “Associate”

By default, in Visual Studio, when you want to check-in some pending changes, the default State value of related work items are to “Resolved”. You ...
Posted in Team Foundation Server, Tips and othersLeave a Comment on TFS – How to set the default Work Item State to “Associate”