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

learn more… | top users | synonyms

-3
votes
0answers
60 views

Writing C# Class on ASP.NET Website [closed]

I've created a website using ASP.Net on Visual Studio 2013, I want to add CMS(Content Management System) to the project with classes developed in C#. I started by changing the development platform ...
2
votes
1answer
102 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
vote
1answer
20 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 ...
-1
votes
3answers
126 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 ...
2
votes
1answer
50 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 ...
0
votes
0answers
47 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 ...
0
votes
0answers
36 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
22 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 ...
0
votes
0answers
47 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 ...
2
votes
1answer
336 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
73 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
60 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
44 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 ...
11
votes
2answers
2k 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
1answer
145 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 ...
5
votes
2answers
110 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 ...
0
votes
0answers
56 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 ...
0
votes
1answer
1k views

How to prepare for INTERVIEW with PAIR PROGRAMMING (C#) [closed]

I have a stage in an interview process where I am supposed to do pair programming, or at least they want to see me working in Visual Studio with an experienced developer. This is a company promoting ...
0
votes
1answer
313 views

Step-by-step functional testing automation

I have a basic class in C# from which I create inherited classes for databinding scenarios. You can think of it as a substitute for .NET's DataRow class. I want to automate testing of a typical row's ...
0
votes
0answers
136 views

Class to manage EEProm Memory for microcontroller in .netMF

I've got a working driver to access the EEPROM chip, but looking for much better management and access of the memory. I've been racking my brain about what's the best or correct approach to do this. ...
1
vote
0answers
50 views

String Rearrangement Algorithm in Visual Basic

Beginning programmer here (mostly engineer). I'm making trapezoids in layers. We begin with the small length layer, and end with the longest length layer. I want my user to input in a desired ...
1
vote
1answer
229 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 ...
2
votes
2answers
376 views

Abstract Property In Base Class To Force Programmer To Define It

I'm coding with a state pattern for an embedded device. I have a base/abstract class called State and then each discrete(concrete) state class implements the abstract State Class. In the State Class ...
2
votes
0answers
199 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 ...
1
vote
1answer
188 views

Does Microsoft still have C++ container limitations when passing to DLLs? [duplicate]

Microsoft has had a fair amount of trouble in the past when passing STL containers like string and vector pointers and references to DLLs. See, for example, You may experience an access violation when ...
0
votes
0answers
41 views

Should I Exclude references to the bin\..project..dll in TFS or Visual Studio Online Builds? [duplicate]

One of our customers uses Visual Studio Online which is based on capabilities of Team Foundation Server (TFS) We were researching how to do automated Builds and automated Unit Tests using the Visual ...
1
vote
1answer
136 views

Using and referencing external executables in a solution

I have an application written in AS3 which I need to be able to start up from my C# application. I have a prototype that does this just fine but my question is in relation to how I would arrange my ...
3
votes
0answers
361 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 ...
3
votes
2answers
2k views

Best practice to include XSD in C# project

I have an XSD schema I need to include within my program, to validate some user input XML. The schema will need to be regularly updated. (By the programmer.) My current method to include this is hold ...
2
votes
1answer
374 views

Tips for understanding big project fast? [duplicate]

I've got a job and many new things to be learned. The first thing is to understand big project, writtened mostly in C++, using Visual Studio. So, I see a statement, and I want to find its definition. ...
1
vote
0answers
378 views

GitFlow with TFS 2013, bumping versions

We have TFS 2013 only for version control, Team City for building, a Nuget server and Visual Studio 2013. Little late in the game but we haven't set guidelines for getting code from development into ...
15
votes
2answers
1k views

Is there some sort of systematic strategy for designing and implementing GUIs?

I am using Visual Studio to create a GUI application in C#. The Toolbox serves as a nifty component palette that allows me to easily drag and drop buttons and other elements (for clarity I'll say ...
4
votes
3answers
434 views

Enforcing manual inclusion of a specific header file (banned.h)

Banned.h is a list of ANSI C functions that Microsoft is trying to persuade programmers to deprecate. I already know how to enforce automatic inclusion of banned.h (such as the answer to Ensuring that ...
0
votes
1answer
368 views

Handling generated files in a Visual Studio Project

I have a Visual Studio Project that is using a MSBuild task to generate some code files. (The basis are xml files, and the generated code is quite lengthy, but noting special, just a lot of ...
22
votes
2answers
26k views

Understanding Visual Studio Community Edition license

Recently Microsoft has released a free version of Visual Studio: Visual Studio Community Edition the license says IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. ...
1
vote
2answers
1k views

Is there a way to sort code properly into regions dividing methods and events? [closed]

I'm using ReSharper and CodeMaid, both have their own "organize" code option but the problem is that i have no idea how to tell them what is an event and what is a method/function that i coded. If i ...
-1
votes
1answer
700 views

What are guidelines for a Win/Mac/Linux C++ source tree? [closed]

I'm learning C++ (C++11), specifically for cross platform game development using SDL. on Windows, I use Visual Studio 2012 (Considering buying '14' once it's out), on Mac OS X and iOS I'll be using ...
0
votes
1answer
429 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 ...
-3
votes
1answer
484 views

When using Visual Studio 2012 do you have to use the drag and drop system? [duplicate]

I am fluent in most of Java and have thought about moving on to a .Net language. Obviously C# and Java are very similar so I have chosen to learn C#. When programming in Java I would always use ...
1
vote
1answer
90 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 ...
0
votes
2answers
2k views

Organizing solution / project structure and classes for Line of Business Application (LOB)

The question how-do-you-organize-your-projects already has a few good answers. I would like to get a better understanding about this suggested structure: MyApp.Core MyApp.Model MyApp.Presenter ...
-1
votes
3answers
684 views

Programming with emacs instead of a debugger-integrated IDE [closed]

There's a question that might be deemed a duplicate of this one (I use an IDE (Eclipse) to develop software. Why should I switch to vim or emacs?) but I don't think answers my question. I usually ...
0
votes
1answer
260 views

Microsoft Visual C++ Redistributables, Software Requirement? [closed]

When compiling with Visual Studio C++, I noticed that you need a specific MSV C++ Redist, depending on the version of Visual Studio you compile with. The required redistributable is necessary on ...
0
votes
2answers
155 views

How to deal with a new version of visual studio's directory?

When upgrading Visual Studio to a newer version, a new directory is created e.g. "Visual Studio 2013". I understand that that makes sense as we want to differentiate between code targeting different ...
2
votes
1answer
179 views

Should XmlDocument.xml be Included in Source Control

In a Web API 2 project, in the project properties, I have enabled the output of an XML documentation file. By default, Visual Studio 2013 wants to check this into TFS. I'm pretty sure that I'm going ...
1
vote
1answer
205 views

Collaboration between a Graphic Designer and Expression Blend developer? [closed]

I'm new to the programming world and also a little bit confused. My brother would like to work with me on some program. I'm a graphic designer so he asked me for UI and all it's elements. I would ...
2
votes
1answer
777 views

Release management with Azure and Visual Studio Online (Cloud TFS)

What strategy would you use to manage the releasing of versioned software to Azure cloud services (web and worker roles)? We are not looking for continuous integration. We are using Visual Studio ...
8
votes
1answer
9k views

Suggested setup for angularJS development in Visual Studio 2013 [closed]

I am starting with AngularJS. The back end will be Web API (which is new to me as well) and I'd like to use just one IDE, so I'm trying to figure out how to setup a project in Visual Studio 2013 for ...
2
votes
0answers
684 views

Creating an automated test framework for UI smoke testing

I am doing my thesis on the subject of automated UI testing at a company that applies continuous integration to their projects. The company builds intranets in Microsoft SharePoint 2013 and my task is ...
0
votes
2answers
3k views

What is the difference between C# and Visual C#?

So let's say I want to start learning C# so I can program Unity with it. I look for a good reviewed book and it says "Learn Visual C#!". I ask myself, what is the difference between Visual C# and C#? ...