Is there a way to put a breakpoint on any function in Visual Studio, sort of like bm kernel32!LoadLib* in WinDbg?
I know one way is to break at application start, find the required DLL load address, then add offset to required function you can get via Depends, and create a breakpoint on address. But that's really slow, and switching to ...
I would like VS2010 to ignore an error in XAML Code. The Reason is, it's not a real error, I have a own class of Windows and VS is not able to create an instance of it. So now it always shows "Can not create an instance of "ChildWindow"". This would not be bad, but it marks the hole file as error, and this looks realy ugly.
So: I would...
Basically what I would like to know is if there is any way to add new 'statements' to the .net based languages?
An example of what I'm looking for would be something like introducing a public class MyClass decoratorOf ClassWithLotsOfMethods and in pre-compile time changing that to be a normal class that overrides everything by default bu...
Hey guys,
Anyone know if there is a keystroke shortcut or option to autogenerate a try/catch block around a statement in Visual Studio 2010? I can see what exceptions are thrown if I look at the overlay documentation when I hover over a statement. I'd like to right click -> generate try/catch, as it would save a lot of time in handling ...
How do you print 'nicely' in LEDA?
I am looking for the equivalent to
fixed
setprecision(3)
...
I've got a bunch of useful Project Item templates for Visual Studio 2010 and I'd like to share them with the developers in my team. At the moment the zip files are sitting on a network share with an instructions text file telling users to copy the zips deep into their Documents folders.
I'd much rather have Visual Studio look in the s...
As we all know, in Visual Studio there are two predefined configurations - Debug and Release. I have been using them since I started programming and soon learnt their differences. However recently I had to create my own configurations and now I have a question: Are those two configurations defined/determined solely by their parameters/op...
Hi,
We're setting up a TeamCity build server for continuous integration. To keep things clean, we don't want to install Visual Studio on the build server. I'm wondering how we can build Silverlight 4 apps without it?
I'd expect there to be a Silverlight 4 SDK which installs separately from VS - but so far I haven't found one. There's ...
Hi!
Programming Java in Eclipse, I'm used to having to deal with exceptions. In C# with VisualStudio it seems I can not say "throws exception" on a method... After a lot of coding I found lots of exceptions, and had to catch them as I found them during testing. I'd like to be forced to handling them, so that VisualStudio can say that he...
I have a SQL Server CE database I am developing with and would like to downgrade the version so that 2005 Management Studio will open it. Currently, I have to use VS 2010 to open it, but it is a real pain to use that way.
I know I could install the 2008 version of SSMS, but the machine I use has serious problems with all installs. There...
I was debugging an application and somewhere in the code, a thread tries to reach a listbox that was created by another thread. On attempt to access the listbox, the application throws a "Cross-thread operation not valid: Control 'listbox' accessed from a thread other than the thread it was created on" exception while debugging. However,...
Is there a component that presents the user a graphical design a layout like VS does? (Only graphical display functionality needed)
That is, he/she could place a label, Image or any 3rd party component that draws something (important!).
Thanks!
...
I am normaly using Visual Studio 2008 Express, which is quite powerful, but some geeks in head of competition in programming said that we are allowed to use only Dev-C++ as compiler ( I know it's smaller but I think that competition should be about testing your skills in writting code not using all kind of compilers). Anyway in VS2008, e...
I am trying to save my SSD from to much thrashing.
...
Hi,
Visual Studio code coverage produces a .coverage binary file which can be converted to xml. Is there an xsl transform available that can convert that xml to a formatted report similar to the one produced by emma coverage tool for java. Any other transformations that would produce a meaningful report are also welcome.
...
I'm searching for a tool that let me generate a flow chart for a given project. It is difficult understand others code by looking at code, a flow chart can be very helpful.
My Project is in VS 2010 Professional Edition.
...
Hi,
I have a problem to merge assemblies and signing the combined assembly with password automatically when building the project.
The visual studio built-in sign in function is pretty good that once you entered the password for the .pfx, you don't have to enter it anymore and the password seems to be well hidden (that's what I think at...
i try to create task for another users Task class needs Contasct with StringList format. How can i do that. i think that i do what i need to make it? Look please
StringList list = new StringList();
foreach (string item in obj.RecipientsList)
{
list.Add(item);
}
public class MyOu...
I'm learning my way around visual studio at the moment. If I've turned set /Wall -- I'll be greeted with a seemingly unhealthy amount of warning messages although my application will compile just fine.
Is this normal? Changing the error level will stop the messages. It looks as if they are all related to the C++ STL or its header files ...
Is there any way in VS that I can make it stop building the solution if ANY project in the build step fails to build?
I have a solution that has cca. 100 projects. I want build process to STOP if it encounters build error on any of the projects.
Failing build means that there were build errors while building that project.
...