Most voted "visual-studio" questions
Visual Studio is an integrated development environment (IDE) by Microsoft that supports several different programming languages. Use this tag for questions about any version of Visual Studio and the specific tags of each version when the question is for something that only applies to that version. Do not use this tag for problems that are not directly related to the IDE or its tools/extensions.
Learn more…852 questions
Sort by count of
-
29
votes2
answers17231
viewsCan Visual Studio Community be used in commercial projects?
I read this week that there is now an edition of VS called Visual Studio Community. Already has the 2013 version to download and will have the 2015 as soon as it comes out. From what I was reading,…
-
28
votes3
answers38239
viewsHow to change the language of Visual Studio 2017?
If you follow the step by step installation of Visual Studio 2017, it installs the operating system language. How to change language to English?
-
20
votes2
answers540
views+ 3 overloads - What would that be?
In some functions appears such a quantity of overloads, That means the higher that number, the slower it is? Note: I used tag C++ and C# why I saw these overloads in these languages. Microsoft…
-
18
votes1
answer1702
viewsWhat’s the right way to call the C#versions?
There seems to be some confusion with the nomenclature of the versions of C# and the technologies that are related to it. Is there a C# 2005? Or a C# 3.5? How do C# versions relate to . Net, Visual…
-
17
votes2
answers74027
viewsConfigure shortcut in vs code for indentation
I’m new at this, so forgive me if I miss the post. My doubt seems to be simple, but I’m not unraveling. Basically, it’s like setting up a shortcut in VSCODE for indentation in my codes.…
visual-studioasked 8 years ago Isk4_ 173 -
15
votes3
answers5859
viewsDevelop for multiple platforms using C# and Xamarin Studio
To not have to learn various technologies to develop for the various mobile platforms, wanted to use only C#. However I have some doubts, namely: Xamarin Studio is free? With the same code, the…
-
14
votes2
answers306
views#Region is an antipattern or a Smell code?
The #region from Visual Studio he hides the codes, everyone says he’s bad, because he exists? It’s a antipattern or a code Smell?
-
13
votes1
answer671
viewsVisual Studio 2010 lag
I’m a beginner in programming and got a very good study material for Visual Studio 2010. My question is whether this version of the package is too outdated compared to 2013. For now, I’m only…
-
13
votes3
answers1482
viewsWhy does Visual Studio suggest simplifying names? - IDE0001 Name can be simplified
Visual Studio 2013 suggests name simplifications, as you can see below: The suggestion is: IDE0001 Name can be simplified Translation : IDE0001 Name can be simplicate Example: var obj = new…
c# string visual-studio-2013 visual-studio encoding-styleasked 9 years, 4 months ago Guilherme de Jesus Santos 6,566 -
13
votes3
answers41730
viewsDifference between Visual Studio Community, Enterprise and Code
Intending to learn how to program C# and .NET for web and I came across a situation at the time of downloading the Visual Studio. I don’t know exactly which version to make download. What real…
-
12
votes2
answers1715
viewsBack previous position in Visual Studio
When we want to see some method, we press F12 and then we are "transported" to the said method. It turns out that this method can be in another project or other form or in one user control etc and…
-
11
votes1
answer3531
viewsHow to change the Namespace of a C#project
The project was created with the name Windows and I want to change. The problem is that if I just right-click the project and rename it, the project gets full of error. I tried to change Assembly…
-
11
votes2
answers13280
viewsWhat are the differences between the available versions of Visual Studio 2015?
Last year it was announced 3 versions of Visual Studio 2015: Community, Professional and Enterprise Based on the tools available in each version: what I miss between using one and the other in part…
-
11
votes3
answers649
viewsWhat is the Target Framework and what is it for?
I work for a while with .NET and I was asked about the target framework of my projects. I understand what it’s for but I couldn’t explain it simple and clear what exactly is.…
-
10
votes2
answers1301
viewsDifferences between compiling and recompiling?
Some Ides like Visual Studio have the options to compile and recompile the project, what is the difference between the two and what do they perform differently? And when each should be used?
-
9
votes3
answers2321
viewsIncrement version automatically, and get version number via code
In the software in which I am working there are users, whose doubts should be met by observing the version number of the software. Something like 10.0.1.1000 configured in project properties. I…
-
9
votes1
answer260
viewsDocumentation in XML
I develop a framework in PHP and would not like to comment on the code of the framework directly in the classes, for several reasons. So I wonder if there is an editor that reads the documentation…
-
9
votes1
answer871
viewsChange class template in Visual Studio
There is a way to configure Visual Studio to create classes with public? When creating a class by template, either by menu dropdown mouse over a class name not yet existing, or by adding a class in…
-
9
votes1
answer3112
viewsDebug and Release mode in Visual Studio, what is it for?
In my Visual Studio I’ve noticed that there are two configurations that I can’t understand what they’re for, it’s them Debug and Release, is part of the option Solution Confugurations. Could someone…
-
9
votes1
answer298
viewsFind slow point in code . NET
I need to analyze a code that is taking too long to execute, the method code is extensive and makes several calls to other methods, I was thrashing to try to identify the point of slowness, but so…
-
9
votes2
answers955
viewsHow to manage approval and production environments with Team Services?
I’m on an ASP.Net C# project that’s starting now, but I come from ASP Clássico, where things are very different. In this new project we need to create and manage approval and production…
-
9
votes1
answer325
viewsSetup.msi prompts the user to install . NET Framework 4.6.1
I have a *.msi package of a software developed by me, with the Visual Studio Setup Project. When a user tries to run the installation package on his machine and he has not installed version 4.6.1…
-
9
votes2
answers5167
viewsWhat is "stdafx. h" and what is its importance?
When creating a C++ project in Visual Studio, it automatically brings a line into the main file: #include "stdafx.h" How I am at the beginning of the study of language, seeing some "hello world",…
-
9
votes1
answer1024
viewsGenerate classes with XSD or import WSDL [ANS / TISS]
To ANS provides the files .XSD, and the .WSDL for the implementation of the protocol TISS. Sand I type the code by . XSD, I have the classes structured correctly. Example: namespace TissV3 { class…
-
9
votes2
answers674
viewsDo I need to use Visual Studio to program in C#?
I want to learn C# to become one of my main languages, but my current PC is kind of outdated and ends up not running Visual Studio well, but with Visual Studio Code it’s okay, I need Visual Studio…
-
8
votes2
answers3377
viewsHow to count lines of code in a . NET Solution?
What are all solutions (free or not) to count lines of code in a solution. NET? Use two Visual Studios: 2012 and 2013.
.net visual-studio-2013 visual-studio visual-studio-2012asked 10 years, 9 months ago Leonel Sanches da Silva 88,623 -
8
votes3
answers779
viewsPassage of parameter C#
I have the following code in js function consultaSolicitacao() { id = getVar("id"); serviceURL = "/Solicitacao/ConsultaSolicitacao"; $.get(serviceURL, null, function (data) { var aux = data.length;…
-
8
votes3
answers19310
viewsAlternatives for developing in C# on Linux?
My notebook has installed the Ubuntu 14 operating system. I have great desire to enter the development in the language Csharp. But I wonder if there is a good alternative in OS like Linux, since it…
-
8
votes2
answers1863
viewsHow to decrease compilation time?
I have a Solution with 20 projects, and most have a dependency relationship with each other. The build time takes a lot (6-8 minutes - may seem small, but it does a lot of damage when testing), even…
-
7
votes3
answers546
viewsRun program inside Try/Catch
Working with Visual Studio, when an error occurs while the program is running the program hangs and you can’t see where the program crashed and only appeared that error screen. To catch where these…
-
7
votes1
answer330
viewsIs it recommended to use C# 6 in Visual Studio 2013?
In the Visual Studio 2015 I see that it is possible to define the version of C#: Source: http://www.codeproject.com/Tips/865579/How-to-change-targeted-Csharp-version-in-Visual-St But in the Visual…
c# visual-studio visual-studio-2013 ide .net-compiler-platformasked 9 years, 4 months ago rubStackOverflow 7,372 -
7
votes3
answers183
viewsVisual Studio 2013 no install in windows 7
I can’t install Visual Studio 2013 on Windows 7, I know it’s possible because in college we have Visual Studio installed on Windows 7. So I don’t know why he complains about the Windows version.…
-
7
votes2
answers1872
viewsError: The name 'Viewbag' does not exist in the Current context
Good morning, I have projects using System.Web.MVC na versão 4.0.0.1, worked normally in the 2013 version of Visual Studio, now I’m trying to work with Visual Studio 2015 and my Views no longer…
-
7
votes0
answers139
viewsOrganizing requirements using Visual Studio Online backlog
I recently started using Visual Studio Team Services, mainly for the availability of free Git private repositories. After a while I realized that it has several resources to manage requirements and…
visual-studio software-project project-management requirementsasked 8 years, 5 months ago SomeDeveloper 18,074 -
7
votes1
answer4748
viewsVisual Studio Indentation Configuration
I’m starting to program C# in the VS (if anyone knows a better IDE, thank you) and he has a peculiarity that is irritating me: I use key indentation as follows: for(;;){ //code } But the VS, when…
-
7
votes2
answers613
viewsCreate shortcut of type 'prop' or 'propfull' in Visual Studio
I would like to create within Visual Studio a shortcut of the type prop or propfull to automatically create a code snippet. the prop + TAB + TAB public int MyProperty { get; set; } the propfull +…
-
6
votes1
answer1941
viewsChange the . NET 4.5 project to 4.5.2, how to do it?
I installed . NET 4.5.2 on the machine, restarted Windows 7 and, after opening the project, went to Debug > Projeto.Properties > Application and tried to change the version by combo Target…
-
6
votes2
answers5551
viewsGenerate random CPF in C#
I need a generic class to generate valid CPF to send value to fields with the webdriver Selenium. Someone has the code? Thank you.
-
6
votes1
answer631
viewsC# Mobile Development Need Mac?
I was researching tools for mobile development (iOS, Android) and came across Xamarin. I found the proposal interesting, especially for working together with Visual Studio. I downloaded and…
-
6
votes1
answer699
viewsWhat tools are available for code coverage in . NET in Visual Studio?
I have developed systems using TDD in .NET. Recently, the company I work with, bought the version of Visual Studio 2013 Pro and, in this version we do not have the code coverage tool (code…
-
6
votes4
answers3066
viewsHow to make a Hello World on ASP.NET MVC?
I already program but I’m starting with C# and ASP.NET MVC. I wanted to do a program Hello World and gradually add things as I’ve always done with any language I’ve learned. I thought creating a…
-
6
votes1
answer183
viewsCreating Properties, Summary and Custom Colors for Methods and Types
Is there a way or attribute that puts in a Class, Method, Structure or anything else that changes its color? Example of the function CType: Notice that she is colorful, and her arguments instead of…
-
6
votes1
answer323
viewsDeveloping in Python with Visual Studio 2013
I want to develop in Python using Visual Studio 2013 or 2015 because I’m already used to the IDE, but I have no experience with the language. In the English OS there is a question that lists Visual…
-
6
votes4
answers931
viewsHow to verify variables that are not used?
Is there any way to verify which variables are not used within the scope one-class? As in the example below, the variables teste1 and teste4 has no utility within the application, as could locate…
c# visual-studio variables visual-studio-2015 warningsasked 8 years, 1 month ago Marco Souza 12,304 -
6
votes1
answer99
viewsHow to automatically add namespaces in Visual Basic?
When creating any class in C#, using Visual Studio, it automatically adds the namespace, as can be seen below: namespace Aplicacao.Modelo { class Cliente { } } In Visual Basic, he doesn’t do the…
-
6
votes2
answers1041
viewsWhat is the difference between "step over" and "step into" in Debugger mode?
I wonder what the difference is between F10 (step over) and F11 (step into). When should I wear F10 and when to use F11?
-
6
votes2
answers332
viewsDesigns of a C#Solution
I have a question about projects and solutions in visual studio. Suppose I have a solution that has three projects, being two Winforms projects (exe) and one of class libraries. It is correct that I…
-
6
votes1
answer6325
viewsProblem with Nuget Packages Visual Studio
Trying to compile the application, I come across the error: Severity Code Description Project File Line Suppression State Error This project References Nuget package(s) that are Missing on this…
-
6
votes3
answers2361
viewsHigh consumption of RAM
My Visual Studio 2015 when I use to debug a WEB C# MVC project has the following RAM consumption: Is this consumption normal? My computer gets very slow when I have to test some modification on a…
-
6
votes1
answer1613
viewsHow to Add DLL to Visual Studio? (Unconventional form)
I’m trying to add a few DLL's to my project at Visual Studio (Unconventionally). What I mean is, within my project, but outside References ! According to the image below: The reason you use Dlls…