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
-
4
votes2
answers820
viewsAccept only numbers in the C#console app
Good evening, I’m trying to get the Console.Readline() command to read only numbers, ignoring characters, there’s a way ? example: static void main() { int x; Console.WriteLine("INSERINDO VALOR PARA…
-
4
votes4
answers1049
viewsChanging HTML does not reflect on page - Asp . NET Core 3.0
I recently decided to test the ASP .Net core 3.0, I always changed HTML without the need to recompile the project, but in this version, I can’t change anything in HTML without the need to recompile…
-
3
votes0
answers582
viewsIs there a tool that manages documentation similar to MSDN?
Is there a program that transforms the documentation of my code (I can generate .xml) into MSDN-style pages? Or a wiki format?
-
3
votes2
answers2290
viewsCan I use the same WPF view for Desktop and Web?
Dear ones, I have never programmed with WPF but soon I will have the opportunity and already thinking about the future, which is now, in which desktop applications will be/are being migrated to the…
-
3
votes2
answers351
viewsAlways need to do clean and rebuild in visual studio
I have a problem in my Solution in visual studio 2012. Whenever I need to debug and fall into a break point, I need to clean and rebuild in my Solution, otherwise it runs, but not for us break point…
visual-studioasked 10 years, 8 months ago Rod 9,412 -
3
votes1
answer895
viewsEdit data from a combo box
I’m having a problem with my Asp.net mvc application. What’s going on is that when it comes to saving the data, my combo boxes carry data from enums. These combo boxes are from an application to a…
-
3
votes2
answers2435
viewsGenerate reports in c#
someone can tell me a free report generator for .Net. For example, in Java I know Jasper who is very good, but for . net I’m not finding anything. What I need is a simple report, looking at a table…
-
3
votes1
answer130
viewsError in Visual Studio
EDIT: Problem solved, after changing much of the code, not only in the functions mentioned here, the error stopped occurring. I’m getting this mistake and I have no idea what might be causing it,…
-
3
votes2
answers303
viewsVisual Studio - 64bit Software
I would like to know how I do for a software I made in visual studio is executable on Windows 64 bits. I’ve looked in the options somewhere to compile for 64 bits but I’m not sure. Does anyone know…
-
3
votes1
answer256
viewsIs it possible to leave the <Summary> in English?
It is possible to leave in Portuguese the tips of <summary> methods existing in . NET or third-party components in Visual Studio?
-
3
votes2
answers626
viewsEncrypt ini files
I need a script that Compile a .ini to avoid an easy read. The file should be read with PHP. It seems that C# has a similar feature. The question is how do I do it and then read the .ini with PHP.…
-
3
votes1
answer93
viewsMSI Installer - customizing the installer
Good people, first I need to know if it is possible in an MSI installer (I use the setup project itself you have in VS) to select which application I want to install. For now I have an installer for…
visual-studioasked 9 years, 11 months ago Enzo Tiezzi 1,194 -
3
votes1
answer247
viewsHow to remove an extension from Visual Studio 2010?
What is this? How to remove/disable this VS2010 resource? What are these 3 points that appears?…
-
3
votes1
answer305
viewsHow to configure which folder the software should be installed/updated in?
I followed suit of that question where it is explained how to configure my software to be updated automatically. I would like to know how to change which folder this installation/ update should…
-
3
votes1
answer67
viewsRemove namespace or full names
My question is if there is any shortcut, command or Visual Studio function that removes namespace or full class names, for example: for you to add a Data Annotation without doing a using vc you have…
-
3
votes1
answer186
viewsMeaning of class member icons in Visual Studio
I wonder if there is any documentation that deals with the meaning of images/ icons of Visual Studio (obviously some are explicit (salvar = disquete) or whose function is shown when positioning the…
visual-studio-2013 visual-studio visual-studio-2012 visual-studio-2015asked 9 years, 5 months ago rubStackOverflow 7,372 -
3
votes2
answers8139
viewsShortcut to create constructor with parameters
Is there a shortcut in Visual Studio, which creates a constructor, with all attributes created in the class? class Alimento { public int ID { get; set; } public string Titulo { get; set; } public…
c# visual-studio visual-studio-2012 builder resharperasked 9 years, 4 months ago Eduardo F. Santos 449 -
3
votes2
answers14713
viewsHow to change Visual Studio background color?
How do I change the background color of my Visual Studio? It’s white I want it to be with black background. See an example below:…
-
3
votes2
answers784
viewsVisual Studio 2015 Hangs and not back when accessing cshtml page and inserted "<"
Guys this very strange. In any project when I insert in a cshtml file a "<" visual studio 2015 crashes and restarts, this occurs in any WEB project, already reinstalled it 3 times and always…
-
3
votes0
answers330
viewsConnect Xamarin to Mac
I’m trying to connect Xamarin to Mac using Visual Studio. The Mac is listed in Xamarin User Agent, but when informing the user and password I get this message: Starting Broker 4.0.1.96 in port…
-
3
votes1
answer133
viewsBookmarks Specific Lines Visual Studio
Is it possible to place bookmarks on any line of code? style as Ides ta Inteliji? I took a legacy code here that has 12k lines a report class, I spend a lot of time finding the main methods, even…
-
3
votes4
answers343
viewsWhy not always use Optimize Code?
In Visual Studio there is the option Optimize Code which has the function of creating optimizations performed by the compiler to make your output file smaller, faster and more efficient. Why can’t I…
-
3
votes1
answer1367
viewsConvert MER (Entity Relationship Model) diagram to VB.NET or C#
I developed the diagram of the tables of the layout of the XML of Nfe, are 58 tables with its relationships. I would like to generate the classes automatically from the diagram or it can be through…
-
3
votes1
answer588
viewsMy software is being blocked by Windows Smartscreen
I am developing a software and, while testing the executable on another computer gave me this message from Windows Smartscreen. I don’t know what it’s about, I’ve done some research and I haven’t…
-
3
votes2
answers145
viewsdataGridView1_CellDoubleClick does not work!
I have the simplest function in the world and I can’t make it work. By giving 2 clicks on any cell of my datagridview I want to display the message "1" but it’s not working! What’s wrong? Look at my…
-
3
votes1
answer557
viewsVisual studio does not recognize html from . aspx
When opening any file . aspx, the visual studio does not recognize the code, everything is black. I also realized that when trying to create a new project, the web option does not appear, and I…
-
3
votes0
answers901
viewsCompiler crash with error code 255. bin Roslyn csc.exe
Build Error Description: Error when compiling a resource needed to meet this request. Examine the specific details of the error and modify the source code appropriately. Compiler Error Message:…
-
3
votes1
answer427
viewsHow to configure Appium using Selenium Web Driver (C#) - Visual Studio
Good afternoon, I read some blogs about setting up Appium, but I’m still a little lost. I need to set up Appium using the Selenium Web Driver in the VS (C#). Currently working with Eclipse and…
-
3
votes1
answer181
viewsIs it possible to synchronize my Visual Studio projects with another computer?
I use Visualstudio at work and at home. I wonder if there is any way for my projects I develop on the work PC to be synchronized in my profile and I can access them on the home computer…
-
3
votes2
answers58
viewsVisual Studio 2005, can I replace it?
I have a machine in the company that has a version of Visual Studio 2005, for a kind of web system. The machine had to go through a format and on the network not to a copy VS2005. I can replace…
visual-studioasked 8 years ago Marzine 99 -
3
votes1
answer391
viewsValidate data from an object with Dataannotations C# Winforms
Good afternoon, I have the following Entity class marked by Data Annotations: public class Cargo { [Key] [Display(Name ="Código")] public int Codigo { get; set; } [Required(AllowEmptyStrings =false,…
-
3
votes1
answer180
viewsHow to get a string from an hbitmap
I have a function that captures the monitor image and creates a bitmap file with the result, but I would like you to return a string with the content that the file would have, instead of writing it…
-
3
votes1
answer615
viewsError creating Xamarin cross Plataform project in Visual Studio. "The project requires a Platform SDK (UAP, version=10.0.10.586.0)"
When trying to create a project Cross Platform App with the template Master Detail I get this mistake: The SDK he claims to be absent is installed. I’ve reinstalled it several times. When I try to…
-
3
votes1
answer54
viewsIs it mandatory to rebuild?
Whenever I pressed the Start button to run my program and test, it ran correctly. From time to time, whenever I change something and run the program, it does not update, I need to right click on the…
-
3
votes2
answers5090
viewsError localhost Visual Studio
My VS was working perfectly, today I bought and installed the antivirus Kaspersky, when I went to run a site ASP.NET (MVC) the following error appeared: UNABLE TO START PROGRAM 'An operation is not…
asp.net asp.net-mvc-5 visual-studio entity-framework-6 localhostasked 7 years, 9 months ago Jefferson Souza 379 -
3
votes1
answer447
viewsHow to keep MVC application running on IIS express (in Visual Studio) after debugging?
I’m doing a project on ASP.Net MVC. On the company machine I run the project once (F5), stop the debug and continue accessing the application pages normally. On my personal machine if I stop the…
-
3
votes1
answer1020
viewsMysql connection does not appear in Data Connection
I updated my Visual Studio to 2017 version and am trying to connect to a Mysql database through Entity Framework. What happens is that the option for connection in Mysql does not appear: Only SQL…
-
3
votes1
answer230
viewsShould I add the . suo file to my source control?
Visual Studio has a file with the extension .suo that saves some project options. What is this file and what options it stores? This file should be added to the project in TFS, SVN or any other…
-
3
votes1
answer23
viewsAdvantages of Watch compared to Break point
Since it is possible to evaluate the value of a variable by inserting a break point where it will be used, I see no apparent advantage. Is there any advantage to using watch instead of break point…
-
3
votes4
answers1252
viewsWhat are ASAX extensions for?
Finally, I started working with C#. I am working on a SITE project and I am using Visual Studio. I came across a file where apparently you should put the global settings there, which is the…
-
3
votes1
answer168
viewsHow to skip all breakpoints without removing them?
Is there a shortcut/configuration to ignore all breakpoints without necessarily deleting them from the code?
-
3
votes0
answers92
viewsOptimization of poorly compiled
I set up Visual Studio to compile VC++ with /Ox and compiled this code (with more others that were omitted to simplify). union { unsigned long long u64 ; unsigned short u16[4] ; } x ; union {…
-
3
votes1
answer43
viewsVisual Studio has shortcut to navigate to a similar file in Sublime Text, when we press CTRL+P?
In sublime Text, we can use the shortcut CTRL+P to type the name of a file and select it directly, without having to look for it in the folder structure. For example: Already in Visual Studio, there…
visual-studioasked 7 years, 2 months ago Wallace Maxters 102,340 -
3
votes2
answers590
viewsIs it possible to develop a C++ application in Visual Studio to run on Linux?
I have to develop an application for Linux in C++ and wanted to know if it is a good use Visual Studio 2017 in Windows for such task? I wanted to know the pros and cons, because I saw that the VS…
-
3
votes2
answers257
viewsWindows Forms Application - Visual Studio 2017
I realized I don’t have the choice of a project in Windows Form Application in Visual Studio 2017. I searched, and saw that there is the possibility to select the option during the installation.…
-
3
votes3
answers56
viewsVisual Studio Variable View does not work
Good afternoon, you could help me, it’s been a while since my Visual Studio is like this I know I should be with a little arrow to visualize the object, this is very disturbing, I thank you already…
-
3
votes1
answer84
viewsWhat is the fastest way to build text?
I have a large text (1000 lines) with formatting. Briefly (not this text but I will use an example) I have 2 ways to build it: StringBuilder sb = new StringBuilder(); sb.append("oi" + "meu nome" +…
-
3
votes2
answers76
viewsFailed to display Address class fields when using object creation method expressed in C#
Visual Studio 2017 suggested something that I was surprised, the creation of object without using the new operator, I was surprised, because I’m coming from Java and it’s been a year since I stopped…
-
3
votes2
answers72
viewsTextbox changes the value to decimal (EN) when pressing the TAB, however I want to leave currency (REAL) the field
I have a field <TextBox x:Name="TbTotalICMS" Style="{StaticResource MeuTextBoxValor}" Text="{Binding Vicms}" /> My Vicms is a decimal. By pressing the TAB key, the value that is 1.00 (example)…
-
3
votes0
answers99
viewsHow do I use the Visual Studio Authentication feature for an ASP.NET MVC project?
Gentlemen, I need an orientation to begin an ASP.NET MVC development project at Visual Studio. It relates to the implementation of the Authentication feature when creating a new ASP.NET project. My…