tagged [visual-studio-2010]

What does it mean to attach to process in Visual Studio 2010?

What does it mean to attach to process in Visual Studio 2010? I have seen this option under the debug menu, but I don't completely understand what it means. Could somebody explain it to me? Thank you ...

2 Aug at 19:42

Remove unused cs-files in solution

Remove unused cs-files in solution I have a big solution and there are many *.cs-files that actually don't belong to my solution (not included to csproj-files) any more. Is there any way to find all o...

15 Jan at 07:49

Visual Studio Change from general development settings

Visual Studio Change from general development settings In Visual Studio 2010, is there a way to change from `General Development` Settings to `C#` Development Settings? I forgot to select it when I in...

Calling .NET/C# from R

Calling .NET/C# from R I'd like to use an API from R that is only available in .NET. Is there a standard method that can be used to call .NET C# code from R? If so, how can I do so?

13 Sep at 16:12

how to navigate to pasted stack trace visual-studio

how to navigate to pasted stack trace visual-studio I remember I used to navigate to pasted stack trace by clicking `ctrl + E + T` is it a resharper utility? What's the build in equivalent for visual ...

Visual Studio, debug one of multiple threads

Visual Studio, debug one of multiple threads I have an application with 4 threads working the same code. However, when I step it jumps between the different threads. How can I lock it to one thread so...

Error deleting folder 'bin'. The system call level is not correct

Error deleting folder 'bin'. The system call level is not correct What does this error mean and how do I solve it? visual studio 2010, windows 7, in case it matters. I tried closing and opening the s...

8 May at 01:41

Visual Studio starting the wrong project

Visual Studio starting the wrong project I have a solution with 5 projects. When I set a project to be the startup-project and hit the debug button, one of the other prjects is started. Is that a bug?...

4 Oct at 18:49

How to convert an existing assembly to a ms unit test assembly?

How to convert an existing assembly to a ms unit test assembly? In Visual Studio 2010 Pro, how can I easily convert a classic assembly to a ms unit test assembly ? It there a flag to activate in the ....

how to change file & product version of a exe file

how to change file & product version of a exe file I am using Microsoft Visual C# 2010 Express. I have to change the version of my exe file. Please tell me how to do it, either by my C# code, or by ba...

9 Jul at 13:19

"This expression causes side effects and will not be evaluated". How to suppress?

"This expression causes side effects and will not be evaluated". How to suppress? I'm getting this message in watch box. Actually, my expression doesn't have any side effect, and I need to re-evaluate...

31 Jul at 19:29

Indentation shortcuts in Visual Studio

Indentation shortcuts in Visual Studio I'm using Visual Studio 2010 and C#. How can I indent the selected text to left/right by using shortcuts? ![enter image description here](https://i.stack.imgur.c...

Tag control like stackoverflow's

Tag control like stackoverflow's Is anyone aware of a Winforms control for c# similar to the Tags control that stackoverflow uses (see below)? ![tag control example](https://i.stack.imgur.com/aAF4q.pn...

14 Jun at 22:59

Way to determine whether executing in IDE or not?

Way to determine whether executing in IDE or not? In `C#/VB` in `Visual Studio 2010`, is there way in the code to determine whether the program is currently running in the IDE or not?

MembershipProvider in .NET 4.0

MembershipProvider in .NET 4.0 How can I add the MembershipProvider class to my .NET 4.0 project in VS 2010 B2? I want to customize a MembershipProvider, but I cannot without adding this class. Please...

Is there a format code shortcut for Visual Studio?

Is there a format code shortcut for Visual Studio? In [Eclipse](http://en.wikipedia.org/wiki/Eclipse_%28software%29) there is a shortcut, ++, that re-indents code and fixes comments and blank lines. I...

How can I build Debug and Release at once?

How can I build Debug and Release at once? When I select menu → or anything else, it only builds the currently selected configuration (Debug or Release). How can I make it build, for example, Release ...

Override Paste Into TextBox

Override Paste Into TextBox I want to override the paste function when in a specific textbox. When text is pasted into that textbox, I want it to execute the following: (Changing from multiline to sin...

Visual Studio, How to change the color of classes?

Visual Studio, How to change the color of classes? I'm trying to change the color of the classes in the text editor. I am using Visual Studio and C#. I've been able to change all the other colors, but...

23 Jun at 22:28

Breaking single thread

Breaking single thread Is it possible to break a single thread in Visual Studio, while other threads will continue their execution? I have one background thread that does simple data sending/receiving...

pdb files appear in website publish folder

pdb files appear in website publish folder I have asp.net website which when published using build > publish website option in VS2010 and even when checking omit debug information option in website pu...

22 Aug at 02:30

Create a parameter in rdlc report

Create a parameter in rdlc report I am a newbie to rdlc reports. I need to create a parameter that i will pass to a subreport. However I cannot find where in the report designer to create parameters.I...

Visual Studio 2010: Keyboard Shortcut to "Override Method" in C#?

Visual Studio 2010: Keyboard Shortcut to "Override Method" in C#? In Visual Studio 2010, what is the keyboard shortcut to drop-down a list of C# virtual methods, and clicking them will generate an "ov...

How to download a file to a specific path in from a given url in a windows form?

How to download a file to a specific path in from a given url in a windows form? I need to download pdf files from a specified links(url) to a specific folder in a windows application using winforms p...

1 Feb at 12:54

Error "A template containing a class feature must end with a class feature"

Error "A template containing a class feature must end with a class feature" I was developing a C# T4 pre-processed template, under Visual Studio 2010, when I have got the following compilaton error: >...