A list of Entity Framework providers for various databases

Which providers are there and your experience using them I would like to know about all possible native .NET Framework Entity Framework providers that are out there as well as their limitations...

Copy object values in Visual Studio debug mode

In Visual Studio debug mode it's possible to hover over variables to show their value and then right-click to "Copy", "Copy Expression" or "Copy Value". In case the variable is an object and not...

Debugging a C# executable that crashes on launch

I'm trying to remotely debug a C# program. Connecting to the host is not problem and I can see all the processes on running on that machine, and can connect to the msvsmon.exe. However, the...

Why doesn't Console.Writeline, Console.Write work in Visual Studio Express?

I just open a console application and I type Console.WriteLine("Test"); But the output window doesn't show this. I go to the output window with Ctrl+W,O But nothing shows up when I run my...

How to dump or search in call stacks of ALL threads in Visual Studio

How to dump or search in call stacks of ALL threads in Visual Studio? We have a server process to debug and it has hundreds of threads running, so it should be hard to manually check each...

"The selected file is not a valid solution file" error when trying to open source safe database

I recently re-built my development machine which now uses windows 7. On this new machine, VS 2010 can no longer open sln files directly from SS 2005. These are valid 2010 solutions (orginally...

What is output at the different MSBuild output verbosity levels?

What is the definition of what is output at the different levels of MSBuild build output verbosity? Quiet Minimal Normal Detailed Diagnostic

"You must add a reference to assembly PresentationFramework" -- but why?

I am really newbie to c# and VS2010. :-\ I have a "pure" Winforms application. Or at least I think so. But suddenly (with the last changes to the source code) I have this error when build an...

Display the current line and column numbers in Visual Studio 2010

I just installed SP1 and now I don't see the text editor line and column number at the bottom of each source file in Visual Studio. Does anyone know how to turn this back on?

Custom web part deployment produces 'Cannot import this webpart' error

I have built an empty SharePoint project in Visual Studio 2010 with some custom web parts in it. When I've tested these on my local development machine they can be added to a page without any...

Can I view what build commands are actually executed with MSBuild?

I use MSBuild to build the project file. By default, MSBuild just prints out the compilation results, but I need to check what commands are being executed. Can I view what build commands are...

Publishing my web application can take long time to accomplish because of the .suo file

I have a web application project that I publish via Visual Studio 2010 to my server. My problem is that it can take very long time before it can actually publish it. Maybe 10 minutes! It doesnt...

In CMake, how do I work around the Debug and Release directories Visual Studio 2010 tries to add?

I'm trying to build one of my CMake-based projects from a couple of years ago with Visual Studio 2010 and I'm running into problems to do with the output directory for a project. Visual Studio has...

Unexpected collision with std::hash

I know hashing infinite number of string into 32b int must generate collision, but I expect from hashing function some nice distribution. Isn't it weird that these 2 strings have the same...

how to know which cpu to use in build (x86 x64 or AnyCpu)?

I'm using Windows 7 and x64 cpu. Does it mean that I should always compile with "x64" option in Visual Studio? What about "dll", can I use x86 dll from x64 application? Probably there are other concerns?

Fatal Error HRESULT=0x80131c08 while debugging in Visual Studio 2010

I am running Visual Studio 2010 in Windows 7 Professional 64-Bit in VMware 4.1.1 running on 2 processors and roughly 2GB of ram. On debugging a simple application Visual Studio seems to...

ASP.NET publish trying to copy a non-existant file

I'm trying to publish an ASP.NET project in VS2010, and am getting the following error: Copying file bin\CKFinder.pdb to obj\Release\Package\PackageTmp\bin\CKFinder.pdb failed. Could not find...

How exactly does "Visual Studio Version Selector" chooses a Visual Studio version?

For extensions like .sln or .csproj, the default application is Microsoft Visual Studio Version Selector. I've got two versions installed, 2010 SP1 and 2012 RC. How exactly will this application...

MySqlCommand Command.Parameters.Add is obsolete

I'm making an C# windows Form Application in visual studio 2010. That application is connecting to an mysql database, and I want to insert data in it. Now do I have this part of...

Unable to connect to any of the specified mysql hosts. C# MySQL

I am getting the above error when I execute the code - MySqlConnection mysqlConn=new MySqlConnection("server=127.0.0.1;uid=pankaj;port=3306;pwd=master;database=patholabs;"); mysqlConn.Open(); I...

How to "activate" c++11 standard in visual studio 2010?

I am new to c++ programming and I need to use the Thread class in my VS 2010 project. I've found this reference, but when I try the following: #include <thread> VS 2010 obviously tells me...

Visual Studio Redo shortcut Ctrl + Y stops working after copy

I am working on Visual Studio 2010 . I did some changes in code but then wanted to see how a block of code looked like before editing . So I did Ctrl + Z undo and then proceeded to copy the...

Debug error - vector subscript out of range - PCL

I get a 'Debug assertion failed' error message where it says 'vector subscript out of range', between the two prints in the code snippet below. I am using PCL 1.7.1 on a 64bit machine, Win7 and...

How to record WAV in c# WPF?

I can get this code to work in a console application. But I want this to work on a Windows Forms application in c# visual studio 2010. Here is my code: public partial class MainWindow :...

Projects load failed in Visual Studio 2015

When I am opening a .sln in Visual Studio 2010, projects are loading properly. But when I open the same solution with Visual Studio 2015 (Professional with Update 1), projects are not getting...

Search through memory in VS2017

I have opened a minidump file of my C++ application in Visual Studio 2017. The dump is of a program crashing with an access violation. I am suspecting heap/stack corruption, so I am spending a lot...

CMake Error: Could not create named generator Visual Studio 15 2017 (while running Verification Scripts for intel openVINO toolkit)

i have installed all dependencies as requires for Intel OpenVINO Toolkit. as shown in guidelines of installation of OpenVINO toolkit for...

VS Code IntelliSense not working for Unity3d

Problem: IntelliSense is not working for Unity specific methods and functions (i.e., Update, FixedUpdate, Awake, etc.). It does work, however, for non Unity specific methods (i.e., IEnumerator,...

Excel Connection Manager Failed to Connect via SSIS VS19

New to the SSIS world and I got it working before on Excel Version 2016 & Version 2007-2010 [after ages of troubleshooting] but then it just stopped working [endless testing on various solutions...

Getting error "CUDA backend requires cuDNN" when configuring OpenCV cmake build with cuda backend turned on

My goal: My goal is to configure a build of OpenCV 4.5.1-dev with support for cuda, tesseract and QT without any cmake error.. The problem I am having: I am getting the following error when I...