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
-
0
votes0
answers38
viewsHow to make a history
Hi, I have a question and I don’t know how to begin to resolve it. I’m using the Asp.net mvc and I have to create a history table, where it makes a copy of a certain part, even if I delete the…
-
0
votes0
answers634
viewsUnassigned local variable C#
Hello, I am at the beginning of my programming learning and I am having problems with this error "use of unassigned local variable" in the code below presents this error related to variable…
-
0
votes0
answers1629
viewsCreate installer in Visual Studio 2019
I created an installer for my solution in Visual Studio 2019 using the Setup Wizard (component of VS itself), and configured it so it was to my liking, I changed the debug application for release…
-
0
votes0
answers13
viewsPerform task after debug
I’m using Visual Studio Professional 2019, and I’m applying Transform in the Web.config, similar to that answer: https://stackoverflow.com/a/3994081/4720858 I understood well that it is possible to…
-
0
votes0
answers74
viewsFolder Reset does not appear the folders of my code (Visual Studio)
All these folders are inside my visual studio, I’m trying to move to github but at the time I access "Source > Repos" they don’t exist there what I can do to solve?…
-
0
votes0
answers19
viewsError trying to create Sql Server database in Visual Studio (C#)
I’m trying to create a database in Visual Studio, but returns error as the capture screens even with active services. From now on, thank you.…
-
0
votes0
answers41
viewsView API call in visual studio
I am starting programming using Xamarin Forms and developing first call using a basic API, I want to see if the call to Endpoint is correct and return of it, there is some screen in Visual Studio…
-
0
votes1
answer42
viewsstring in C returning symbols instead of characters
I have this simple code in C language that gets an input value and returns the value on the screen. Instead of showing the string on the screen, it shows symbols like bars. When I do the procedure…
-
0
votes0
answers32
viewsVisual Studio - Xaml expanding alone
Visual Studio 2019. When I type "<" to include a new component, all of the tags below are expanding, probably by generating an unopened tag error, how to solve this problem so my code doesn’t…
-
0
votes0
answers13
viewsFile Recovery after Deforestation
I have a project where I needed to upload what I had to the Azure cloud then did the process of removes Mapping to map again, when I went to see, after this procedure, one of the report Reports did…
asp.net-mvc visual-studio windows-azure report team-foundation-serverasked 3 years, 10 months ago Andrey Cadilhe 11 -
0
votes1
answer85
viewsError pushing Github via Visual Studio
Hey, I got a problem! I can’t push Visual Studio to Github. When I try to get back "Error found while publishing to remote repository: Git failed with a fatal error. Unable to access…
-
0
votes2
answers521
viewsRemove Auto Indentation from Visual Studio
good afternoon, I’m using Visual Studio a little while ago (for changes in the company) and I want it to stop "fixing" the code automatically, I made a gif trying to exemplify (the version I’m using…
visual-studioasked 5 years, 4 months ago Mateus Mattielo Nickhorn 93 -
0
votes0
answers26
viewsProblem with temporary visual studio changes
Hello, I am migrating from TFS to GIT, I have imported into the Archive itself from a new repository giving rise to my TFS project... Made the import, I opened the project in visual studio, but…
-
0
votes0
answers148
viewsI cannot check 'Mark Clickonce manifests'
I have a Visual Studio project where I need to sign Assembly this way: For the Phoenix_panel project (example print above) marking this item is optional. But for the Phoenix_communication project I…
-
0
votes0
answers11
viewsHeroku command on the visual basic terminal or cmd does not work
Although Heroku bin does exist. It only works at the root. How to solve?…
visual-studioasked 3 years, 10 months ago SERGIO 1 -
0
votes0
answers8
viewsOption "Web Package Management" VS 2017
I’m trying to add this menu, but I can’t find where. My VS meets like this:…
-
0
votes1
answer57
viewsError filling cascading combobox: Failed to load Resource: net::ERR_CONNECTION_RESET
I am trying to create a method to register a coefficient, this coefficient is linked to a table, which in turn belongs to a Concourse, the idea is to select the Concourse in the first combobox and…
-
0
votes0
answers114
viewsChange format Date of a JSON statement of a Controller
I have a Controller that generates an output in Json format, below indicated. The date is returning this in Json 2019-07-22T16:00:04.8579075, I want you to return 22/07/2019 16:00 { ordemChegadaId:…
-
0
votes2
answers214
viewsHow to perform a search with an interval between one and two dates in Asp.Net Core 2.2
How to perform research with interval between one or two dates in Asp.Net Core 2.2. I have the following form below containing Start Date and End Date @using (Html.BeginForm("Index",…
-
0
votes1
answer246
viewsHow to show all the numbers of a loop at once in C#?
I’m seeing loop loop on C#, but i always need to press Space Bar to display each loop number, for example by typing the number 100 and need to press 100 times the Space Bar to show an increasing…
-
0
votes1
answer48
viewsDoes anyone know how to convert int variable to bool?
The L variables would be sides of a triangle, I put them as int and I’m trying to convert to bool, I saw some people saying that this is not possible, so what kind of variable will I use and what…
-
0
votes1
answer62
viewsXamarin.Android does not update Resource.designer in C# Visual Studio 2019
When I insert a button (for example) into the file Activity Resource.desigenr.cs does not update to add the item Botao and the data (like id for example) so I can’t access it by command…
-
0
votes0
answers29
viewsHow do I publish a process-dependent application together?
Is there any way to publish an Aplication console with dependency on other consoles ? Today I have a screen of Windowns Form that is my login screen, I select which console application should be…
-
0
votes0
answers31
viewsIs it possible to make a static library (.lib) with inline function?
Uso Visual Studio 2019 Community. I asked on the forum and received no answers. I want to know if it is possible (if yes, how) in VC++ to declare (no body) a function or methods in a class in a ".…
-
0
votes0
answers22
viewsError when trying to Add MVC Controller with views, using Entity Framework
Hello, when I try to create a Controller gives the error attachment. Does anyone know how to fix it? Thanks.…
-
0
votes0
answers12
viewsHow to open Visual Studio 2019 directly from the prompt
Being in the repository folder, I would like to run a command that opens Visual Studio 2019 with the project of the folder that is located at the prompt, directly from the prompt. Similar to the…
visual-studioasked 3 years, 6 months ago Camila 1 -
0
votes1
answer42
viewsPass values from a Usercontrol to the parent Form
I own a Form main and 4 UserControl with some TextBox, those UserControl is inside this Form and my intention is to take the values of the fields of these UserControl from a button on Form main, for…
-
0
votes0
answers18
viewsMultiple ranges in Excel with Vb.net
I am trying to set a range in Vb.net to write data in the blue marked fields: I tried to use this code I found on the Microsoft help pages but I think it is intended for VBA only: Sub ClearRanges()…
-
0
votes1
answer102
viewsHow to create a select in the database that runs two tables with a single primary key?
I’m new to programming and I’m developing a note system. The case is as follows: There is a form that registers the notes, where it uses 2 tables of mysql, the notes table (where the code of the…
-
0
votes1
answer17
viewsConvert Year to two digits
How to convert Datetime.now.year to two digits? Ex: 2021 to 21 My code: Dim ok As String = DateTime.Now.Year.ToString("yy") shortyear.text = ok Prints "yy"…
-
0
votes0
answers27
viewssum the values of the repeated names in Datagridview
Hello, folks all right, I have an application where I add the items in Datagridview, however I want to add the volume values, the lines that are with the same name, I want to create a variable to…
c# sql-server entity-framework winforms visual-studioasked 3 years, 4 months ago Mecleudio Queiroz 31 -
0
votes1
answer16
viewsLoad Visual Studio Projects to Vscode
Good night to you all! I always developed my web applications in C# with Visual Studio, but now by necessity I need to go to Visual Code. Could you give me some tips on how to use Visual Code in…
-
0
votes0
answers42
viewsProblem: Python 3.8 in Visual Studio Code in terminal Does not accept Accents, How to Resolve ? Linux Ubuntu 20.4
I’m with this problem, I tried to change the settings in visual Studio Code and nothing, I did not find anything on the internet about it, outside the terminal the Apare accent normally now in the…
-
0
votes1
answer223
viewsHow to get information from a tr in HTML code using Htmlagilitypack from Visual Studio
Good night, I’m doing a C# project at Visualstudio 2019 using Htmlagillypack to capture site information https://www.infomoney.com.br/cotacoes/ibovespa/ which contains the values of the stock…
-
0
votes1
answer1534
viewsError opening C#project files
Last night I had Visual Studio open with the source code of my application. However, a power outage occurred and the computer suddenly shut down. Soon after turning it on again, start Visual Studio…
visual-studioasked 5 years ago Matheus Oliveira. 356 -
0
votes1
answer50
viewsDifficulty with Clickonce c# Wpf
I have an application and recently I had to implement the Webdriver Phantonjs, which simulates a browser but in a way that is invisible to the user. In my application everything is ok, it works…
-
0
votes1
answer39
viewsGet x:Name of control by clicking
Hello, I have a stackpanel with a sequence of Abels and would like to capture the x:Name of the controller in the Label Mouseup event. XAML: <StackPanel Background="#FF405089"…
-
0
votes2
answers235
viewsHow to convert MM/dd/yyyy to dd/MM/yyyy?
I think because my computer is from the USA it always saves the dates in American format, anyway, I have a Date Time Picker that on the client’s computer is in Brazilian format, but when he saves…
-
0
votes1
answer48
viewsI have a conversion error running a C#code
Running the code says the following: If I ok the application runs normally but the data entered in the database does not appear in Datagridview. What would be my error? using System; using…
-
0
votes1
answer46
viewsButton to insert records into the Database
Great, I’m running a project for my PEF that consists of creating a BD for a company. However, I decided to put a button to add records and when I click to add, the following error appears: Failed…
-
0
votes1
answer147
viewsCors Error - Visual Studio . Net Web API React
I have a project where the back is in . net and the front in React. I can do all CRUD operations with Postman, however in React I get Cors error. I understand the cause of the problem, but I cannot…
-
0
votes1
answer380
viewsVisual Studio Code does not mark functions
Hello, someone could help me, I’m learning JS using Visual Studio, but my VS is not automatically parenting after functions... For example, in my VS appears the options with the names of the…
-
0
votes1
answer39
viewsButton to enter Records in Database
Good, I am conducting a project for my PEF that consists in creating a Database for a company. However, I decided to put a button to add records and when I click to add, the following error appears:…
-
0
votes1
answer30
viewsButton to enter Records in Database
Good, I am conducting a project for my PAP that consists in creating a Database for a company. However, I decided to put a button to add records and when I click to add, the following error appears:…
-
0
votes0
answers31
viewsDependency Errors
I have a problem with the project dependences, yesterday I worked normally and today, as soon as I opened the project and built, the errors appeared... I tried to accomplish the clear, reinstall the…
-
0
votes2
answers40
viewsHow to do JSON function return Monthly amount of liters fueled in one year period
The function should return this Example: { "January": 500.00, "February": 514.00, ....} My table has the following fields. Km of supply Liters Abastecidos Valor Pago Date of supply I developed an…
-
0
votes0
answers69
viewsTest in anonymous window on Seleniumwebdriver
I’m trying to get Selenium to run the tests in Firefox’s private window, but the execution is still done in the default window. Something is missing? private IWebDriver driver; public…
-
0
votes2
answers210
viewsError trying to access ASP NET MVC page C#: "HTTP 404. The Resource you are Looking for (or one of its dependencies) could have been Removed"
Hey, guys, a problem I can’t seem to solve. My project is ASP NET MVC5 with C#. I went to create another page in my project and simply when I run it is not recognized. I did the same way I always…
c# asp.net-mvc asp.net asp.net-mvc-5 visual-studioasked 4 years, 2 months ago Rafaela Marraschi 123 -
0
votes1
answer71
viewsJavascript code gets all white in Visual studio, no syntax highlighting
I found a similar situation but referring to "Visual Studio Code" as follows in this link: Code gets all white in VS Code, no syntax highlighting or suggestions but my problem occurs in "Visual…
-
0
votes0
answers160
viewsHow to Generate Qrcoder Image on screen using C# . NET Aspx with Qrcoder library
Metodo utilizando a biblioteca QRCoder. using QRCoder. public class GerarQRCoder { public static void GerarQR(TextBox txtQRCode) { string Cd = txtQRCode.Text.ToString(); QRCodeGenerator qrGenerator…