visual-studio-2010

C++ single step in debugger throws an exception

落爺英雄遲暮 提交于 2020-01-12 08:48:42
问题 I have a C++ app that will throw an exception when I try to single step from a breakpoint. For example: 1) Start app from VS2010 0 debugger is attached. 2) Set a breakpoint. It doesn't seem to matter where. 3) Do something in the app so that it hits the break point. ** VS2010 hits the break point 4) Single step the debugger to the next line of code. VS2010 pops up a message box with this exception: "Unhandled exception at 0x087df66f in SimpleGraphSDI.exe: 0xC0000005: Access violation." Note

C++ single step in debugger throws an exception

北城以北 提交于 2020-01-12 08:48:11
问题 I have a C++ app that will throw an exception when I try to single step from a breakpoint. For example: 1) Start app from VS2010 0 debugger is attached. 2) Set a breakpoint. It doesn't seem to matter where. 3) Do something in the app so that it hits the break point. ** VS2010 hits the break point 4) Single step the debugger to the next line of code. VS2010 pops up a message box with this exception: "Unhandled exception at 0x087df66f in SimpleGraphSDI.exe: 0xC0000005: Access violation." Note

Where's the “Allow this precompiled site to be updatable” check in Visual Studio 2010?

旧巷老猫 提交于 2020-01-12 08:14:32
问题 I need to do this but one step leads me to uncheck the "Allow this precompiled site to be updatable" option, but I don't see that in the publish website dialog on Visual Studio 2010. Does anyone know how can I do that on Visual Studio 2010? 回答1: This option is available for ASP.Net Web Site projects not ASP.Net Web Applications . Right click on the solution explorer and select Add New Web Site...against that you will get that checkbox Check out this Web Application Projects versus Web Site

What command line arguments does Visual Studio use for running MsTest?

痴心易碎 提交于 2020-01-12 07:35:28
问题 I'm trying to figure out which is the command line arguments used by Visual Studio when you run the MsTest tests, I guess it starts with: MSTest.exe /testmetadata:%SolutionName%.vsmdi /testlist: But I couldn't figure out how to fill the testlist parameter, because both the test list name and id get the following error: The test list path 8c43105b-9dc1-4917-a39f-aa66a61bf5b6 cannot be found. An error occurred while executing the /testlist switch. 回答1: I'm trying to figure out which is the

Cannot create a TypeConverter for a generic type

馋奶兔 提交于 2020-01-12 06:55:31
问题 I'd like to create a TypeConverter for a generic class, like this: [TypeConverter(typeof(WrapperConverter<T>))] public class Wrapper<T> { public T Value { // get & set } // other methods } public class WrapperConverter<T> : TypeConverter<T> { // only support To and From strings public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { if (sourceType == typeof(string)) { return true; } return base.CanConvertFrom(context, sourceType); } public override bool

How to develop unique GUI's in Visual Studio? [closed]

拈花ヽ惹草 提交于 2020-01-12 06:45:12
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 months ago . All programs that I develop utilize the default Windows Design template: Besides from changing the colors of the form, basically every program I write has this layout. I'm wondering how people create more custom GUI's. I tried looking it up on google but I clearly don't know how

how to make solution visible in solution explorer window of visual studio 2010 or visual studio 2012?

ぐ巨炮叔叔 提交于 2020-01-12 06:35:13
问题 i am using visual studio2010. i am facing a problem that when i create a new web project then visual studio makes project and don't show its solution in solution explorer. And the other thing is that i want to add a project with my existing web project how i can add it with this one, i just know to add another project by its solution right click. first please tell me how i can make solution visible for my existing projects that i made before and for other projects that i will create. 回答1: you

how to make solution visible in solution explorer window of visual studio 2010 or visual studio 2012?

前提是你 提交于 2020-01-12 06:35:06
问题 i am using visual studio2010. i am facing a problem that when i create a new web project then visual studio makes project and don't show its solution in solution explorer. And the other thing is that i want to add a project with my existing web project how i can add it with this one, i just know to add another project by its solution right click. first please tell me how i can make solution visible for my existing projects that i made before and for other projects that i will create. 回答1: you

Create Custom Action to Start Application and Exit Installer

只愿长相守 提交于 2020-01-12 05:44:07
问题 Thanks to StackOverflow I found out yesterday how to add a custom action to the Visual Studio Installer to start my program after an update. The problem I now face is that at the end of the installer the program does open but the installer never finishes until I exit my app. Is there a way to ensure the app starts only after the user clicks finish on the MSI package? Or the program starts at finish of installer but installer completes and exits? I am running Visual Studio 2010 in case it

How to create a single setup.exe with InstallShield limited edition?

孤街浪徒 提交于 2020-01-12 04:01:11
问题 I am trying to create a single .exe file installer. I managed to get all the dependencies in to a .exe file (by setting extract from Setup.exe property). How do i get the .msi also inside the setup.exe file? This is what it looks like now 回答1: I had this trouble too. The way it does is very unintuitive, IMO. Highlight the Set up project On Visual Studio Standard toolbar, choose "Solution Configuration" dropdown. Probably it is selected as "Debug". Change it to "Single Image" Right click on