Questions tagged as 'visual-studio'

2
answers

How to count lines of code in a .NET solution?

What are all (free or not) solutions for counting lines of code in a .NET solution? Use two Visual Studios: 2012 and 2013.     
asked by 13.03.2014 / 20:04
2
answers

How to shorten the build time?

I have a solution with 20 projects, and most have a dependency relationship with each other. Compilation time takes a long time (6-8 minutes - may seem minor, but it hurts a lot when testing), even with changes to only one of the projects. The...
asked by 25.12.2016 / 14:07
2
answers

Do 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 a bit run out and does not run Visual Studio well, but with Visual Studio Code it's fine, do I need Visual Studio to program in C #? I would like to know if this is the...
asked by 14.10.2018 / 02:52
2
answers

Error: 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 , I was working normally on the 2013 version of Visual Studio, now I'm trying to work with Visual Studio 2015 and my Views do not recognize some properties for example...
asked by 18.11.2015 / 13:07
1
answer

Change template classes in Visual Studio

Is there a way to configure Visual Studio to create classes with public ? When you create a class by template, either from the dropdown menu of a mouse over a class name that does not exist yet, or by adding a class to a project, they a...
asked by 13.11.2014 / 01:01
1
answer

Setup.msi prompts the user to install the .NET Framework 4.6.1

I have a * .msi package of software developed by me with the Visual Studio Setup Project. When a user attempts to run the installation package on their machine and the installation package does not have version 4.6.1 of the .NET Framework, a...
asked by 08.07.2016 / 09:10
0
answers

Organization of requirements using the Visual Studio Online backlog [closed]

Recently I started using Visual Studio Team Services, mainly because of the availability of private Git repositories for free. After a while I realized that it has several features to manage requirements and the work being done. As I work alo...
asked by 14.07.2016 / 17:41
4
answers

How to check the variables that are not used?

There is some way to check which variables are not used within the scope > of a class? As in the example below, the variables test1 and test4 have no utility within the application, how could it find such variables? using System; using...
asked by 26.10.2016 / 20:27
4
answers

How to make a Hello World in ASP.NET MVC?

I already program but I'm starting with C # and ASP.NET MVC. I wanted to make a Hello World program and add things gradually as I always did with any language I've learned. I thought creating a project in Visual Studio would create a Hello...
asked by 29.12.2014 / 17:44
2
answers

Projects of a Solution C #

I have a question about projects and solutions in visual studio. Assuming I have a solution that has three projects, two WinForms (exe) projects and one of class libraries. Is it okay to have two "exe" projects in a solution that uses the sam...
asked by 23.01.2017 / 17:34