Questions tagged [visual-studio]
Microsoft Visual Studio is an IDE for the .NET family of languages.
254 questions
8 votes
4 answers
2k views
Entity Framework - Is there a safety mechanism to prevent accidentally running Update-Database?
When using Entity Framework and running the Update-Database command, non-updated applications that rely on the database crash due to database context changes. Usually teams have a production database ...
16 votes
6 answers
10k views
Unstable output C++: running the same thing twice gives different output
So, the problem: When I run the same C++ code in Visual Studio, with the same input and parameters, I get either the correct output, or an output that is completely messed up (99% of values go to zero)...
0 votes
0 answers
532 views
Porting a 32-bit Win32 DLL driver to 64-bit when a 64-bit DLL is unavailable in C++
I have a legacy 32-bit Win32 DLL driver that interfaces with a test equipment. I possess the API header file for this driver, and I dynamically load the DLL at runtime within my C++ test application ...
1 vote
1 answer
236 views
Newbie: OOP working with different class-datatypes and loop through them
I'm relatively new to OOP. Let's say I have three different objects/classes defined, like: Public Class Part Private m_Name As String = "" Public Property Name() As String ...
5 votes
1 answer
8k views
What is the benefit of using "filters" instead of "folders" in Visual Studio C++ projects?
I noticed that the default behavior for Visual Studio C++ projects is to organize files using filters instead of folders on disk. Essentially all the source files within the project are stored in the ...
3 votes
2 answers
785 views
1 Central Development Server vs. Individual Workstations
Alright so here's the situation... All of my coworkers are used to RDP'ing into a Windows server and doing all of their work there. Whether it be coding, SQL work, etc. Multiple developers connecting ...
1 vote
2 answers
352 views
How to reuse production code - for writing supporting tools?
A little history - skip to the TL;DR if you so wish to. So I have an UWP application written in C++ that utilizes V8 and have synthetic module which allows calling native methods from the embedded JS ...
0 votes
0 answers
649 views
Structuring a "Large" Windows Forms Project and Solution To something with Multiple Sub-Projects
I've willingly inherited a VB.Net forms project based on .Net 3.5 last edited with VS2012. I was able to open it up and up-convert it to VS2017. I can compile and run it and make some little tweaks. ...