Microsoft Visual Studio is an IDE for the .NET family of languages.

learn more… | top users | synonyms

1
vote
2answers
766 views

Is it a good practice to choose the highest warning level in C++ programming? [closed]

I used to select the default warning level in C++ programming. For example, in VS, the default warning level is Level3 (/W3) and No (/WX-) (don't treat warnings as errors). I am wondering is it a ...
0
votes
1answer
476 views

Limitations of using Hyper-V Virtual Machine as .NET Development enviroment

I've been thinking of using a Hyper-V Machine as instead of physical computer for installing my .NET / Azure / Xamarin / ASP.NET / Windows Phone development tools. That way I could easily move from my ...
-1
votes
2answers
249 views

How should I structure my namespace tree so that I have a Math class and Math namespace?

I don't know if this is a good or bad idea, or if it's technically even possible... but I'd like to have something of the following sort: public class Math { public int gcd(a,b) // Method for ...
1
vote
3answers
494 views

Is it good to create static method at Visual Studio refactoring?

There are various refactoring options in Visual Studio to use at the time of coding. When we extract and create a new method. Then Visual Studio decide whether the new method will be static or ...
3
votes
1answer
323 views

How to do structured code reviews [duplicate]

We need to do pre-check-in code reviews. We are using Visual Studio and TFS. The built in code review functionality, is a bit odd to me. If I "reject" a check-in and comments what needs work, the ...
1
vote
1answer
433 views

Commit projects individually or whole solution?

I am working (alone) on an application that is a music portal where you can search for artists, songs etc ... The C# solution consists of: a class library that contains all the stuff to access the ...
6
votes
4answers
603 views

Visual Studio versions and Team Etiquette

I have a project on CodePlex that I have opened to basically anyone to join and help out on. I am mostly an enthusiast coder, although I have done some programming work as part of my job it has always ...
3
votes
1answer
3k views

Visual Studio's Developer License duals as a personal license? [closed]

I can be completely wrong but I vaguely remember hearing from a podcast that according to Visual Studio's license, a developer who works with Visual Studio professionally at their work place ...
5
votes
3answers
9k views

Why should I use MSBuild instead of Visual Studio Solution files?

We're using TeamCity for continuous integration and it's building our releases via the solution file (.sln). I've used Makefiles in the past for various systems but never msbuild (which I've heard is ...
0
votes
2answers
7k views

Want to create a simple gui app using C++ but dont know what to use [closed]

I have learned C++ to an intermediate point and now I'd like to create something beyond a console program. I would like to create a simple program that grabs info from specific text files and displays ...
8
votes
2answers
6k views

Multiple applications in a single Visual Studio solution [closed]

I am doing work for a company that is wanting to put all their .Net applications (web applications, Windows applications and console applications) together in a single Visual Studio solution. I am ...
1
vote
1answer
186 views

C# basic window content convention

I'm learning C# using visual studio express 2012, and I cannot find a source online that explains window content convention. What I mean by this is, what's the appropriate way to change the context / ...
2
votes
1answer
178 views

Why does the tool offer to change the code - just because it can?

Resharper (or is it Visual Studio - it's a yellow light bulb with a tiny red filament in it) offers to "invert if" on this code: if (tItems >= 0) { return tItems; } SetTotalItemsAndTotalAmt(); ...
1
vote
1answer
115 views

Subversion permissions and Visual Studio projects

I have a quite specific question regarding Subversion structure, different permission levels and Visual Studio projects and solutions: We develop a framework with external partners with functionality ...
0
votes
4answers
619 views

What are good reasons to drop Windows XP support? [closed]

Recently the software team in my company decide to use VS2012 (upgrade from VS2008) but we found out that VS2012 does not provide a nice support for Windows XP (e.g. really hard to deploy .Net 3.5 ...
0
votes
1answer
138 views

Does the VS version setting in Settings.settings matter?

Looking through the server vs local code on a humongous legacy project, I see this in Settings.settings: <?xml version='1.0' encoding='utf-8'?> <SettingsFile ...
1
vote
1answer
1k views

Are there any benefits to removing unused script files in a web site/project?

VS Web sites/projects come loaded with several .js files, most of which I don't use (e.g., I use a CDN for newer versions of jQuery and jQuery-UI). I know it's safe to remove these unneeded .js files ...
10
votes
3answers
3k views

Are there any benefits to removing unused using statements in a VS project?

Are there any benefits to removing unused using statements in a VS project (such as can be done using Resharper), or will VS automatically take care of that when building/deploying?
1
vote
1answer
107 views

Multiple visual studio projects/solutions on the go

I am working on a large asp.net app as a single developer. I will often work on a number of change requests concurrently. For example, a change required to the Finance component and a change ...
28
votes
4answers
13k views

Why would anyone invest time in Microsoft “Roslyn”?

I have just been reading through some of the white papers & examples from Microsoft "Roslyn" and the concept seems very interesting. From what I can tell, it opens up the black box that is the ...
0
votes
0answers
57 views

Document existing Visual Studio Project [duplicate]

I am a small business owner and my sole developer quit. Cold. I am not a coder. He developed an existing application that works .net, c#, javascript, sql, visual studio based, 250,000 lines of code. ...
1
vote
6answers
1k views

Wise way to implement a website login and database tables for a small shop

Im building this website for a small store and I was told that its better not to keep the login and the rest of the users information on the same table. Now im wondering, what is the best way to ...
2
votes
2answers
461 views

When people work in different countries and need to work together how to keep code in correct language

I'm a member of a small new team and with one of our latest builds I noted that, VS2010 code files don't contain language formatting. So for example when I write down a Euro symbol in my code or ...
3
votes
1answer
2k views

How to see bits of an integer in Visual Studio

As far as I know it is not possible to see the bits of an integer in Visual Studio, you can see variables in decimal or hexadecimal format in the Locals and Watch windows in the debugger. Why is this ...
2
votes
1answer
181 views

What type of projects should each of these projects be given their particular purposes?

I'm working in a creation of a new system that should be able to change the presentation layer without trouble, also be able to comport web-services, shop areas, internal control of data, creation of ...
4
votes
1answer
318 views

How to properly diagram lambda expressions or traversals through them in Architecture Explorer?

I'm exploring a piece of code in Architecture Explorer in Visual Studio 2010 to study the relations between methods. I noticed a strange behavior. Take the following source code. It generates a hello ...
2
votes
1answer
228 views

Is it a good idea to include Installer Project within single solution?

I have pretty large code base for the client product I am working on. I am using Visual Studio 2010 for my development and it's hectically slow. I can get rid off this by disabling the installer ...
1
vote
1answer
1k views

Environment Variables and Visual Studio 2012

I have a problem with Visual Studio 2012 and Environment Variables under Windows 7. I added a variable called {LIBS} with the value C:/libs/. In C:/libs/ are folders containing C++ libraries. So far, ...
2
votes
3answers
369 views

RESTful Design: Multiple Relationships Between the Same 2 Entities

I am in the process of designing RESTful web services and got stuck at one point. The design is very simple with 3 entities: - Project - Status - Employee The part I am having trouble with is ...
5
votes
3answers
5k views

How to organize MVVM files in solution

I'm fairly new to the MVVM concept but like a lot of the flexibility it gives me so far. However, I'm struggling to find a good way to manage my code. I have several classes that are just sitting in ...
0
votes
1answer
871 views

How to test a localized WPF application in visual studio 2012

I am trying to create a localized application in C# / WPF in Visual Studio 2012. For that I created two resource files and changed one string in a (XAML) window to use the resource files (instead of a ...
11
votes
2answers
7k views

Is Resharper still a significant improvement for Visual Studio 2012 [closed]

I currently use Resharper with VS 2008 Pro. I find it almost a necessity to be as productive as I can be due to lack of some of the basic refactors/shortcuts in VS. However I was wondering if since ...
0
votes
1answer
285 views

Using Visual Studio as a Task-Focused IDE

Are there patterns or libraries or any official Microsoft SDK for using Visual Studio as a specifically Task-Focused UI? For example, both Revolution R (IDE for the R language) and SQL 2012 (and I ...
-2
votes
6answers
241 views

How do you safely work around broken code? [closed]

Once in a while, a co-worker will check-in bad code which blocks my application from initializing properly. To get around this problem quickly, I comment out the offending code. I then forget to ...
3
votes
2answers
189 views

Taking a Projects Development to the Next Level

I have been looking for some advice for a while on how to handle a project I am working on, but to no avail. I am pretty much on my fourth iteration of improving an "application" I am working on; the ...
50
votes
3answers
136k views

Visual Studio 2012 - Express vs Professional [closed]

I'm having trouble finding a feature comparison between Visual Studio 2012 Express Edition and the professional edition. I'm using the trial Professional version at the moment, but it'll run out soon, ...
3
votes
2answers
2k views

Do you use ReSharper full time, or only enable it when needed? [closed]

Based on a multitude of questions related to temporarily disabling ReSharper, and also on certain research data, I can see that a considerable share of ReSharper users have it disabled most of the ...
2
votes
1answer
291 views

Best thing to do about projects supporting multiple versions of Visual Studio?

I have an open source project that works on .Net 2.0 and up. The thing is though that I prefer to use Visual Studio 2012, which forces the solution and project files to only work with VS2010/2012. ...
18
votes
10answers
4k views

Declaring interface in the same file as the base class, is it a good practice?

To be interchangable and testable, normally services with logic needs to have interface, e.g. public class FooService: IFooService { ... } Design-wise, I agree with this, but one of the things ...
4
votes
1answer
786 views

Writing scripts for Visual Studio project

What is the best way to write and run small scripts and tasks that are specific to a particular .Net project? Such things as configuring a database or confirming proper connections to servers. In ...
5
votes
2answers
2k views

Define which tests are run after build in Visual Studio 2012

Visual Studio 2012 has a new feature where it automatically runs your unit tests after every build. I would like to use this feature, but I have a number of tests that should not be run after every ...
0
votes
2answers
323 views

Approach on Software Development Architecture

I am planning to standardize our way of creating project for our new projects. Currently we are using 3tier architecture where we have our ClassLibrary Project where it includes our Data Access Layer ...
2
votes
1answer
3k views

Port numbers in Visual Studio projects and IIS

I have a few questions about localhost and port numbers as this is an area where I do not have a lot of knowledge, and because I recently had to work with setting up Visual Studio projects and IIS and ...
2
votes
2answers
366 views

Best approach for utility class library using Visual Studio

I have a collection of classes that I commonly (but not always) use when developing WPF applications. The trouble I have is that if I want to use only a subset of the classes, I have three options: ...
4
votes
3answers
604 views

How much should I rely on Visual Studio's Auto Generated Code?

I'm reading about ASP.NET (VB.NET) and I want to built my professionally website. I'm wondering though; I'm still using the basics so I'm really just a novice, but how much should I rely on Visual ...
7
votes
4answers
9k views

Is there a downside to installing Visual Studio Ultimate if I don't need all the features?

Microsoft released today the final builds of Visual Studio 2012 on MSDN. I'm trying to decide from this version comparison page which edition to install (I can install any edition I want for free). ...
8
votes
3answers
2k views

Pair programming remotely with Visual Studio?

What tools exist to facilitate pair programming with Visual Studio when the programmers are not in the same physical location? At the moment we are thinking voice (Skype?) plus remote desktop (VNC? ...
2
votes
1answer
3k views

Developing Razor Web Pages - Visual Studio and/or WebMatrix?

When I started learning about Web Pages I followed several of the Microsoft tutorials, all of which utilized WebMatrix. I did this until I realized that WebMatrix offered no debugging. Wait? What?? No ...
0
votes
3answers
216 views

How to port this architecture to .net?

My team is currently locked into using a tool we dislike that takes the form of a Eclipse plugin and a .jar; the plugin gives us a button to quickly run a single file's code (via invoking the main ...
3
votes
2answers
675 views

Add a second developer to the team

In my company, I'm the only developer, but we plan on expanding the team by hiring a second programmer. I know there are a lot of implications to that (especially around source control). I've Googled ...