Questions tagged [visual-studio-2010]

Visual Studio 2010 is the version of Microsoft's Visual Studio line of development environments. It is released on top of .NET 4.0 Framework.

MS Visual Studio 2010 comes in several versions. The "Express" edition is a free edition that is limited to a single language, and single development platform (web, desktop, azure, mobile, etc.).

51 questions
23
votes
13 answers

How does one meaningfully measure maintainability?

Context: I'm an enterprise developer in an all-MS shop. Can anyone recommend a good way of objectively measuring maintainability of a piece of code or an application? Why maintainability: I'm tired of "quality" metrics in my group revolving only…
nlawalker
  • 3,002
  • 20
  • 21
21
votes
2 answers

How to prevent my executable being treated from AV like bad or virus?

I'm creating a piece of software, that will run on windows and will act like launcher for the game, to serve as an auto-updater and file verifier in client side PC. One thing I don't understand, why my antivirus software (Avast) is considering my…
Deele
  • 391
  • 1
  • 3
  • 8
19
votes
1 answer

How to set up Unit Testing in Visual Studio 2010?

I'm doing my first big project and I don't have a lot of experience in a professional programming environment. While researching anything programming-related I often see references to Unit Testing, but I am still unclear as to how to set those up or…
Rachel
  • 23,979
  • 16
  • 91
  • 159
18
votes
21 answers

How do you remember where in your code you want to continue next time?

When you interrupt the work on some code (be it because you have to work on something else or go on vacation or simply because it is the end of the day), once you close that Visual Studio project, what is your preferred way to remember what you want…
bitbonk
  • 211
  • 2
  • 8
18
votes
8 answers

Is local "User" rights enough or do developers need Local Administrator or Power User while coding?

We have an offshore development crew who has a bad habit of installing nonsense software on corporate desktops (which has nothing to do with their job function) and so are considering removing their local administrator rights. Is Local…
makerofthings7
  • 6,038
  • 4
  • 39
  • 77
18
votes
13 answers

What are the practical uses of Windows Services?

I am new to working with Windows Services. Although I have learnt to create Windows Services in VS2010 I would like to know some practical ways in which windows services could be used? I tried Googling with the current context in mind only to…
Karthik Sreenivasan
  • 1,025
  • 2
  • 10
  • 22
17
votes
5 answers

Can I do anything to improve performance in VS 2010?

I'm using VS 2010 since we're developing an app in .Net 4 and the performance is driving me crazy. It's mostly bad when I don't view the IDE for a while (such as when I get pulled away for a help desk call or come in in the morning). I realize it's…
Rachel
  • 23,979
  • 16
  • 91
  • 159
16
votes
4 answers

Shortcomings of using dynamic types in C#

I have been recently studying more on the dynamic types in C#. With some examples I understood once the code is compiled, it does not need to be recompiled again but can be executed directly. I feel the flexibility provided by the keyword to…
Karthik Sreenivasan
  • 1,025
  • 2
  • 10
  • 22
12
votes
2 answers

How can I keep my visualstudio database project in sync with my database?

I'd like to have my database schema synchronized with my Visual Studio .dbproj database project. Right now, I'm using SSMS for most of my database development work, and I've to manually use the schema compare tool of visual studio when I need the db…
11
votes
3 answers

Why doesn't Visual Studio auto increment your version number?

This question asked how to auto update version number in VS 2010 : https://stackoverflow.com/questions/4025704/publishing-in-net-produces-application-files-myapp-someversionnumber-how-to-ge The answer was, You have to update both Assembly Version…
patrick
  • 1,028
  • 1
  • 9
  • 23
10
votes
4 answers

Best practice with branching source code and application lifecycle

We are a small ISV shop and we usually ship a new version of our products every month. We use Subversion as our code repository and Visual Studio 2010 as our IDE. I am aware a lot of people are advocating Mercurial and other distributed source…
Toni Frankola
  • 201
  • 2
  • 7
10
votes
3 answers

How to deal with merging of Visual Studio projects

Visual studio projects, as opposed to makefiles or other projects I know, have some quirks: The directory structure of the project has no real connection to actual directory structure - all directories are purely virtual - this makes it harder to…
Tomáš Zato
  • 853
  • 1
  • 10
  • 20
9
votes
4 answers

Increase Performance of VS 2010 by using a SSD

After searching on the internet for performance improvements when using Visual Studio 2010 with a solid state hard drive, I heard a lot of different opinions. A lot of people said that there isn't really a benefit when using a SSD, but in contrast…
System.Data
  • 215
  • 2
  • 3
8
votes
4 answers

How to Console.WriteLine from [TestMethod]?

I am trying to show some information from a [TestMethod] method. Usually we use NUnit and a line with Console.WriteLine runs fine and we can see it in 'output' window, but on this project we must to use Testing tools embebed with VS2010 and…
hello B
  • 207
  • 1
  • 2
  • 2
6
votes
2 answers

Which language was used to create Visual Studio 2010?

In order to produce a plug in and incorporate it (merge) easily with Visual Studio 2010. I was wondering which language was used by Microsoft to create it? In order to offer our product to Microsoft, we must know which language is better to…
Junior Mayhé
  • 1,842
  • 2
  • 17
  • 35
1
2 3 4