Hi there,
I have been using MS VS2010 debugger for quite some time now and didn't came across any problems untill today.
As a tester I start my debugger in testing mode (single test debugging) right after loading the project and it starts a whole batch of tests written.
Despite starting all the tests the debugger itself works properly...
All,
I have a project that was originally written in vs 2005 or earlier (don't remember bc I didn't write it). I opened it in vs2008 and converted it although it still has the csproj file. sln file states:
Microsoft Visual Studio Solution File, Format Version 10.00
Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"...
I know that if I mark code as DEBUG code it won't run in RELEASE mode, but does it still get compiled into an assembly? I just wanna make sure my assembly isn't bloated by extra methods.
[Conditional(DEBUG)]
private void DoSomeLocalDebugging()
{
//debugging
}
...
When I double click an item in the find window, the C/CPP file opens in a tab next to the find window. I want it open in the main window (center) along with the other c/cpp files. Is there a setting to get this behaviour ? Thanks
...
The default ASP.NET web server that launches from within Visual Studio (Casini) is a little buggy on my development machine, so I like to publish to a local IIS instance on my dev machine and look at the web application there. However, I'm not automatically in "Debug Mode" when I launch the application this way.
I know that VS 2010 has...
I have an application that I'm developing in Visual Studio 2010 that utilizes a SQL Server database. As such, I am using a VS SQL Server 2008 Database Project.
The database project requires a target connection for which is used to build the database.
Problem:
This project is under source control for a team of developers and a build s...
Is there a way for one to export or save a webpart created in Visual Studio 2010 in such a way that it can be imported via the browser to a Sharepoint 2010 site? I am working on a development server and would like to migrate one of the webparts that I deployed there onto an active Sharepoint site.
...
I can't get VS2010 to auto-pop after i type a period.
I'm programming in C#, and i've tried playing with the settings under Tools > TextEditor > C# > Intellisense, with no luck.
I've also tried 100 different ways to google it with no luck.
...
C# Visual Studio 2010
I am loading a complex html page into a webbrowser control. But, I don't have the ability to modify the webpage. I want to click a link on the page automatically from the windows form. But, the ID appears to be randomly generated each time the page is loaded (so I believe referencing the ID will not work).
Thi...
I like the named arguments feature of C# 4.0, I noticed that in some circumstances it greatly improves the readability of my code. Is there a refactoring extension to VS, which would convert a normal method call to a call with explicit argument names? Like this:
Before:
cmd.Parameters.AddWithValue("Foo", "Bar");
After:
cmd.Parameter...
I made a program with Visual Studio 2010. It required .NET Framework 4.0 to run, and the machine it needs to run on is not connected to the internet, so I found the redistributable online on my own machine and copied it over.
I installed the software on the machine (it's a very simple program, I just made up an installer to do the .NET ...
I'm checking out the SQL Debugger using Visual Studio 2010 (connecting to a SQL 2005 Enterprise Server), and I can successfully debug a stored procedure by going to Server Explorer -> Right clicking on the procedure -> "Step Into Stored Procedure".
However, once I'm in, I can't step into or set any breakpoints inside any subsequent func...
I have a few RDLC files in my WPF application. When I publish the project, the report files don't get published, and when I try to access them with the client I get an error saying that they're not found. I've checked the publish folder, and indeed, they're not there. I call the RDLC files with the following code:
Microsoft.Reporting.Wi...
Hello,
I am using multiple monitors and I prefer to have my Visual Studio open in the center one and I would like the application that I am testing / running through Visual Studio open on either left or right side, rather than on top of my code.
Do you think there is a way of doing that, that is automatic ? Can this be set somewhere in...
In the game I'm making, I'd like to be able to display and have the user input Unicode characters. However, I'm having problems with using SpriteFonts to handle this task. Including all of the Unicode characters uses up WAY too many resources (it even causes VS2010 to crash!), so that's out of the question. But I'm not sure what other op...
I have a WPF windows application that makes a call to a DLL for registration.
I need this code to be called only when the application is run outside of visual studio.
In other words, when clicking run from within the visual studio, I dont want this code executed but want it executed if EXE is called outside of visual studio.
Is there a ...
Instead of a regular progress bar, how can I make a circle with spokes that rotate telling the user that that my program is loading?
EDIT: I want it in Windows Forms
Ok thanks Tim, your solution works. I had to set the image by code since importing it in the designer froze it up.
...
I have an executable project A, which references to a Class Library project B. However, when I build A, it does not automatically rebuild B. The only way to get B rebuilt and used by A is to rebuild B then build A.
Is there a way I can get B to be rebuilt automatically and then used by A when I build A?
...
I want to delete some image resources depending on what build I'm releasing using MsDeploy.
I have three builds for different clients which are basicly another theme and a lot of configuration transforms to setup their environments correctly.
I don´t want to include the image resources for client1 when deploying to client2.
Been using ...
Recently I've been getting a very strange error from visual studio 2010, which has been stopping me from building/running or building/debugging projects at all. I do not know why.
It is quite obscure, and a search on google revealed 5 results, of which only 2 were english and relevant.
However it seems to work fine for other users (win...