visual-studio-2012

What are skipped tests in visual studio?

做~自己de王妃 提交于 2020-06-11 16:15:57
问题 I tried to run Visual Studio tests in ASP.NET MVC by pressing "Run All" but all tests were skipped. Why did this happen and how can I run all tests? Here is a screenshot: 回答1: Check if the test has a Ignore attribute. 回答2: Tests which use the Inconclusive result will appear as skipped. So VS 2010 inconclusive == VS 2012 skipped ex: Assert.Inconclusive("This test didn't exactly fail, but we can't be certain the results are good.") Will read as skipped in the test window 回答3: I got this in VS

How can I switch themes in Visual Studio 2012

ぃ、小莉子 提交于 2020-06-06 08:40:06
问题 The Visual Studio 2012 offers two themes, Light and Dark. I want to switch the theme to Dark, but I'm not able to find any menus or options to do that. I found out a way importing settings from: Microsoft Visual Studio 11.0\Common7\IDE\ FontsAndColorsThemes\1ded0138-47ce-435e-84ef-9ec1f439b749.vssettings and the code editor is now in Dark theme but other windows are still in Light theme such as the Solution Explorer, Toolbox, and Toolbars. What should I do to switch themes? 回答1: In Visual

VS2012 intellisense Icon meaning (Play Icon with vertical lines)

天大地大妈咪最大 提交于 2020-05-28 09:11:37
问题 1) I looked read the article on microsoft's page where icons are described but I couldn't find the icon "Play Button with vertical lines" (it is accentuated with a red line in the image below). What does it mean? 2) Further more the purple Cube has according to the provided link two meanings: Method or Function External Declaration So isn't that confusing? 回答1: It seems to be a "Group Macro" glyph: 来源: https://stackoverflow.com/questions/23488335/vs2012-intellisense-icon-meaning-play-icon

VS2012 intellisense Icon meaning (Play Icon with vertical lines)

自闭症网瘾萝莉.ら 提交于 2020-05-28 09:04:47
问题 1) I looked read the article on microsoft's page where icons are described but I couldn't find the icon "Play Button with vertical lines" (it is accentuated with a red line in the image below). What does it mean? 2) Further more the purple Cube has according to the provided link two meanings: Method or Function External Declaration So isn't that confusing? 回答1: It seems to be a "Group Macro" glyph: 来源: https://stackoverflow.com/questions/23488335/vs2012-intellisense-icon-meaning-play-icon

VS2012 intellisense Icon meaning (Play Icon with vertical lines)

眉间皱痕 提交于 2020-05-28 09:02:55
问题 1) I looked read the article on microsoft's page where icons are described but I couldn't find the icon "Play Button with vertical lines" (it is accentuated with a red line in the image below). What does it mean? 2) Further more the purple Cube has according to the provided link two meanings: Method or Function External Declaration So isn't that confusing? 回答1: It seems to be a "Group Macro" glyph: 来源: https://stackoverflow.com/questions/23488335/vs2012-intellisense-icon-meaning-play-icon

How to include all dll's in exe?

时光总嘲笑我的痴心妄想 提交于 2020-05-25 17:25:00
问题 I have a Visual Studio 12 project; source code written in C++; it's an OpenCV project. I want to give my compiled program to someone else, but, on other PC, I getting an error message about missing some dlls. My program using many OpenCV (maybe, not only) dll's. How can I resolve that problem? Maybe in VS 12 available an option to include all dll's in .exe? It's a pretty similar question without proper answer: include dlls in visual studio c++ 2008 回答1: DLLs themself can not be "statically

How to include all dll's in exe?

£可爱£侵袭症+ 提交于 2020-05-25 17:22:04
问题 I have a Visual Studio 12 project; source code written in C++; it's an OpenCV project. I want to give my compiled program to someone else, but, on other PC, I getting an error message about missing some dlls. My program using many OpenCV (maybe, not only) dll's. How can I resolve that problem? Maybe in VS 12 available an option to include all dll's in .exe? It's a pretty similar question without proper answer: include dlls in visual studio c++ 2008 回答1: DLLs themself can not be "statically

How Do I Trigger An Event on the press of a key in VB?

感情迁移 提交于 2020-05-16 20:05:47
问题 I have an app in visual basic that displays a message box with a text range from A - F upon user integer input in a textbox. I have a button control on the form that triggers the event, but the user has to press the button every time to get a result, that's cool, but what if I wanted the event triggered by say the B key on my keyboard? I know of a way of assigning the AcceptButton property to my button in visual studio 2012 which accepts just the Enter key alone. I want the same effect as

“Object reference not set to an instance of an object” when creating a new Web API controller with EF Scaffolding in Visual Studio 2012

旧时模样 提交于 2020-05-09 05:07:09
问题 I have an MVC4/Web API project, with an Entity Framework, Code First data model. When I try to create a new API Controller with read/write methods using a data context & model, I get an alert saying "Object reference not set to an instance of an object". I've done a bit of searching and found that some causes are incorrect project type Guids in the .csproj file, incomplete installation of the MvcScaffolding nuget package and one suggestion of installing Powershell 3. I have made sure all my

Visual Studio Express: fatal error c1060, the compiler is out of heap space

做~自己de王妃 提交于 2020-05-09 02:19:30
问题 I'm trying to build a program from its source code with VC 11 and when the compiler is going to finish, it raises the error in title. As I've read here and in other forums, I've alteady tried both to close as many programs as possibile and to enlarge the size of the swap file in Windows...they don't work. I've read about a parameter called \Zm but I don't understand how to use it. Can you please help me? 回答1: Take a look at this documentation which gives possible solutions: I also had that