Save the key file password in Visual Studio
When you have already set up the project signing of the C# application for ClickOnce deployment, and move the solution to another workstation you may get the following error message when you build the solution: Severity Code Description Project File Line…
No Entity Framework provider found for the ADO.NET provider with invariant name ‘System.Data.SqlClient’
When one of the projects in your solution is referencing the Entity Framework to access a database the Entity Framework NuGet package is added to that project. In the Visual Studio IDE your application may work fine, but when you deploy it to the test or…
There is already an open DataReader associated with this Command which must be closed first
When your MVC 5 web application page tries to read the database using the Entity Framework in a loop you may get the following error message: InnerException: System.InvalidOperationException HResult=-2146233079 Message=There is already an open DataReader…
How to add tooltip to a Windows Form
In Windows Form applications the tooltip functionality is not built into the controls as in HTML objects. To add tooltip to your controls on Windows Forms Open the Windows Form in the designer Drag the ToolTip control from the Common Controls section of…
Microsoft .NET Framework source code
The Microsoft .NET framework source code is available at the address below. You can search the source code by class name. http://www.dotnetframework.org
How to handle “The target version of the .NET Framework in the project does not match…” warning message in Microsoft Visual Studio
When you build the setup project in Microsoft Visual Studio 2010 you receive the following warning message: The target version of the .NET Framework in the project does not match the .NET Framework launch condition version ‘.NET Framework 4 Client…
How to solve “The version of the .NET Framework launch condition ‘.NET Framework 4’ does not match…” warning in Microsoft Visual Studio
When you build the setup project in Microsoft Visual Studio 2010 you receive the following warning message: The version of the .NET Framework launch condition ‘.NET Framework 4’ does not match the selected .NET Framework bootstrapper package.…
Solving “The type or namespace name … could not be found” error in Microsoft Visual Studio
When you compile a .NET 4.0 C# application the following error message appears: The type or namespace name … could not be found (are you missing a using directive or an assembly reference?) There is also a warning message : The currently targeted…