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

learn more… | top users | synonyms

4
votes
1answer
64 views

Use Coded UI Tests for Integration

I have a couple of users who have a User Interface for an application that they must use to do their job. The UI can be cumbersome to navigate to perform some time critical tasks. This UI does not ...
5
votes
4answers
7k 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
0answers
97 views

What language are Visual Studio solution (.sln) files written in?

I suppose that maybe what made me ask this question is, that every time I do a commit in Git the .sln files comes up whenever there were changes. So, as a person who reviews all my changes when I do ...
0
votes
0answers
20 views

Is there a way to group branches from separate Git repositories [using Visual Studio]?

At my job we are migrating from TFS to VSTS Git, though the VCS types probably don't really matter as much as how we're using them. We use VS2015 for development usually, in case that matters. The ...
-1
votes
0answers
27 views

Linking visual studio with stack overflow [closed]

When an exception is thrown in visual studio it provides sever web links from the MSDN website. The objective of my query is to know is it really useful to provide web links from stack overflow ...
3
votes
2answers
603 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 ...
1
vote
1answer
398 views

Strategies to manage a modular C# framework

Currently I'm building a large framework whose purpose is to run several algorithms in sequence. Many of these algorithms have interdependencies in data structure - the output of one algo is the ...
-3
votes
1answer
85 views

How to incoporate jQuery UI into ASP.NET MVC 5 project that is on an offline system? [closed]

I am having some issues trying to incorporate jQuery UI into my project. I cannot use Nuget or anything else that goes to the internet, so I have downloaded the development package from the jQuery UI ...
5
votes
1answer
544 views

Visual Studio, Git, and common code

I'm looking for some advice on how I should arrange a large new project I'm working on to allow it be more easily managed in Git (using GitLab), and developed in Visual Studio. To give an idea of ...
1
vote
1answer
68 views

Considerations when using Gulp to compile typescript vs using Visual Studio [closed]

We are a Microsoft shop, developing with Visual Studio. We are building a single page app, and we have elected to use Gulp to handle a lot of the script build tasks (javascript minification, css ...
1
vote
0answers
28 views

Viewing binary files in MSVS under Windows 10 [migrated]

For ages I've been using MS visual studio 15 to view binary files, simply by doing file|open. My files have a custom extension, 'SQ3', but VS seemed to happily infer that they aren't text, and display ...
1
vote
1answer
95 views

GitHub with TFS ALM

Is it possible to use TFS Application Lifecycle Management features (ie, user stories, tasks, work items, gated commits, all the good stuff) against a repository stored in GitHub? How would one go ...
-2
votes
0answers
78 views

How to add and use a database in a C# project in Visual Studio 2015? [migrated]

I'm learning C# for about 7 months now, and currently I'm studying LINQ. I worked with local collections, but I'd like to use it with databases too, and learn how to use a database in a program. The ...
-4
votes
2answers
113 views

Referencing a C++ DLL from within a C# ASP.NET project using Visual Studio Community 2015 [closed]

This question might be a little odd, but is there any specific way to import a C++ reference into an ASP.NET C# project? The problem I am having is that VS is giving me the following error: ...
3
votes
4answers
160 views

Why use a local variable over a global variable? [duplicate]

Im a beginner using visual studio 2013, and I know what they are, but I'm puzzled, why would one use a local variable? I would always just use a global variable.
4
votes
1answer
121 views

Have the unit test “using” the project, or just have same namespace?

Background I am working on a project with C# .NET, and I've just added a new unit test project to my solution in Visual Studio. The way that I always have been doing this is: Create a new unit test ...
5
votes
2answers
144 views

Where to put the Angular app in a ASP.NET Web API solution?

I'm starting a greenfield app and I want to use ASP.NET (4.6) and Angular 2. For the backend I have created a project in Visual Studio, and now I'm wondering where to put the Angular app. I really ...
1
vote
2answers
598 views

How can I set a time limit for a game?

I am learning the multi-threading and timer in C# now. But it seems I can't find a good solution. For example, I would like to see how many addition problems that I can solve within 1 min. I would ...
10
votes
4answers
6k views

What is Visual Studio Lightswitch and how does it differ from normal Visual Studio versions?

How is Visual Studio Lightswitch different from regular Visual Studio? In what sort of situations would you use this IDE over regular Visual Studio? I'm trying to decide if this is something that ...
2
votes
2answers
132 views

Relation between projects and solutions in VS

We're about to start with a new software and there are mixed opinions on the organization of software. I'd be delighted to hear what others might have to say in regard to the presented options as well ...
1
vote
1answer
242 views

Does anybody still use TODO for writing code later on? [closed]

Statement I often find myself still writing the following statement all over my code: // TODO: (the work that needs done) I do this in order to flag that I need to come back and do something later ...
4
votes
4answers
5k views

How to treat “The field is never used” warnings?

Warning 1 The field 'MCS_SPS_School.Fees.DiscountAmt.rtvalue' is assigned but its value is never used G:\Jagadeeswaran\Nov 17\MCS-SPS School\MCS-SPS School\Fees\DiscountAmt.cs Warning 2 The ...
3
votes
2answers
161 views

Write unit tests for the libraries, or just the application?

Background I am fairly new to unit testing, and have been recently using the Visual Studio Test Manager to create my Unit Tests. The way that I have currently been doing things is as follows: ...
16
votes
2answers
3k views

How can I target both Windows 10 UWP and Windows Phone 8.1 in the same app?

Background From a developer's viewpoint, the main selling point of Windows 10 is its new Universal* Windows Platform (UWP). * Where "Universal" really means "universal to all devices that run ...
1
vote
2answers
66 views

Circular Reference Between Data And Model Classes

I have my C# project separated in several projects, so each will become a separate .dll after. I have one project for my Model and one for my Data. Model is responsible for Business Logic and ...
0
votes
2answers
143 views

How to get a good overview of an Agile backlog?

We are using Visual Studio Team Services to host our code in a Git repository and to manage our Agile planning through iterations (sprints), user stories in a backlog, a taskboard for the current ...
4
votes
1answer
258 views

Starting to use TFS - handling internal dependant libraries - local nuget?

Approach I'm trying to get up and running with TFS 2013. This is my priority order for implementing it. Start using it for existing Git Repo projects. Then get automated builds working from check ...
2
votes
2answers
3k views

How to see bits of an integer in Visual Studio [closed]

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 ...
5
votes
3answers
5k views

What's the difference between ASP.NET Web Applications and Websites? [closed]

Currently, I am reading Pro ASP.NET 4 in C# and in it, two ways of creating a web application are described: Website Web Application Project In which scenarios should I choose the former over the ...
0
votes
2answers
253 views

Trust .net compiler after Microsoft updates

Microsoft releases upgrades and changes to .net, msbuild and Visual Studio quite frequently. How can I be sure the MSIL code created by msbuild or the Roslyn compiler in VS 2015 will be the same or ...
2
votes
2answers
98 views

Pull requests and work item linking in Visual Studio 2015 with non-TFS remote Git repo

We use TFS and Visual Studio 2015 at work but don't get full benefit from the ALM features as we have code in non-TFS Git repos. We would like to integrate these products in with all the TFS goodies ...
3
votes
1answer
149 views

Project structure: Where to put object factories

I am working on a C# programming project in Visual Studio. I have created various VS library projects inside the VS solution containing the various components of the solution. Without giving it too ...
-1
votes
3answers
177 views

.Net Project architecture and DB connection

I'm looking at a new project to be developed in .Net, and I'd like to do it the right way. I'd like to create a solution with 3 parts : a front- and a backoffice, both using a the third part as ...
3
votes
1answer
101 views

Do MSBuild project files serve the same purpose as NMAKE makefiles in a build process? (practically equivalent)

I'm finding it difficult to understand Microsoft's motive behind building conceptual "projects" like this. They ship MSBuild.exe and NMAKE.exe together with a Visual Studio 2015 install but they both ...
21
votes
10answers
6k 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 ...
14
votes
5answers
6k views

Visual Studio Setup - why is solution explorer on the right? [closed]

Every time I install VS (whichever version going back years) it installs with the Solution Explorer on the right. Now as most UIs have the navigation in a left hand column (and at the top of the ...
0
votes
0answers
52 views

Do I have to put copyright info in every file of my project? [duplicate]

Do I have to put a copyright phrase on every file that is used in my visual studio projects? does it even make any sense? example: file.cpp // Copyright Company Name 2000-2015 code code code ...
1
vote
0answers
48 views

How to keep xml view and designer view in sync?

My task is to create a designer for a Visual Studio Shell application to edit a specific file format that is based on XML. One of the requirements is that the designer has to support a split view, ...
0
votes
0answers
31 views

Organising client-server projects

I am about to spin up a new development in my shop. It will be our first client-server application. It will be written for .NET 4.6 using C# and visual studio. WCF will be used for interprocess ...
5
votes
2answers
179 views

Is it acceptable to define a “module” and “class” within a single .VB element?

Experiment: I have found it is possible to define both a "Module" (Namespace?) and a "Class" (Namespace?) within a single .Vb element (Module??). You can try this at home: Create a new Console ...
1
vote
0answers
51 views

Is marking members as static against object-orientated programming? [duplicate]

Me and my co-workers are having a bit of a discussion about one of the code analysis issues thrown by visual studio: CA1822 Mark members as static The 'this' parameter (or 'Me' in Visual Basic) of '...
1
vote
2answers
406 views

Run coded UI tests on different projects

With little or none previous experience of testing, I'm looking into adding automated testing to a continuous integration process of SharePoint applications. I've learned how this can be achieved ...
14
votes
4answers
1k views

How can I be most productive in Visual Studio when limited to small screen space? [closed]

I'm a student, and I do a lot of code on a small (12.5", 1366x768) laptop screen that I carry from class to class. Most programming environments are designed with the idea that someone has large ...
3
votes
1answer
541 views

Can I do commercial web development with the Community edition of Visual Studio?

A friend of mine has a small company that needs a new website, and I am interested in helping him, since I have worked a bit with Asp.net MVC. However, I am not sure if I'm allowed to sell or give ...
0
votes
1answer
77 views

Testing a windows game application against older versions of windows

If I were to build a game using Visual Studio 2015 and (Most likely) SDL2, I think I'm right in assuming that in order for that game to run, the user's target windows version needs to have Visual C++ ...
1
vote
0answers
63 views

Metrics for when to use a hash value?

I am working on a project that requires a series of flat files. I will be doing some data checking against simple date like: ID;StatusCode So a typical file might be like: 13993;R 38293;A 19349;I ...
1
vote
0answers
46 views

One or multiple visual studio solutions for all my projects [duplicate]

Admittedly that's a bad title, but the full title would be far too long. To give some context. I volunteer at a charity where I maintain a MSSQL Database and an MS Access client application and I'm ...
1
vote
1answer
200 views

Visual Studio VC Project With Multiple Output Versus Multiple Projects

I am working in Visual Studio 2012. I have several C projects in a single Solution. Each project currently produces a single production output (dll/exe) and a single test (exe). I manage the multiple ...
53
votes
3answers
146k 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, ...
0
votes
0answers
57 views

How to write class libraries that work with DB

I have programmed a library in C#, which process some EDI into meaningful data based on the DB structure of a table. I have used a typed dataset in the class library project. Now I run into an issue (...