Questions tagged [visual-studio]
Use this tag if you have a specific question about Visual Studio features and functionality. DO NOT use this tag on questions regarding code which merely happened to be written in Visual Studio. Consider tagging the exact technology area your question links to and also tagging a more specific version of Visual Studio. Please mention your exact VS version, edition, and update level in your question.
After deploying and debugging orchestrated microservice-containers in Visual Studio 2019 for several days without problems, all of a sudden, one microservice did not build correctly anymore:
While ...
I am trying to add column with percentage of column total in existing matrix report.
I am kinda new to building reports in Visual Studio, so I'll appreciate your help, no matter how basic the ...
I need to build project B before building project A, using MSBuild.
I've tried to write "D:\Visual Studio\IDE\MSBuild\Current\Bin\MSBuild.exe" $(SolutionDir)\FeedBack.App\FeedBack.App.csproj -...
I need a directory named configuration at
Src/test.Workflow.UnitTests/bin/Debug/netcoreapp3.0/Configuration
I'm trying to create it with MSBuild and here is what I tried
<Target Name="...
For more than 2 decades that I am writting code (several programing languages) and in all I had always used design patterns and several kinds of architertures..... Layers, separation of ...
asked 2 hours ago
Dryadwoods
3,11944 gold badges3232 silver badges6262 bronze badges
Is there a way to export the whole data in one table from SQL Server 2012 directly using ASP.NET and VB.NET using datagridview to PDF file?
I have made(designed) a program in Visual Basic 6.0,it consists of around 100 checkboxes ,the program does not require any code just a yes/no checkbox type program , but I want to save the checkbox ...
Here are my classes:
I want to display in @Html.DisplayFor the CityName which is should be a match in CityID of the Office class.
How can I do that?
The MSDN says PackageReference format is the way to go, for many reasons. Being convinced by the benefits, I have set the default format to PackageReference in Tools -> Options -> Nuget Package ...
asked 4 hours ago
Sнаđошƒаӽ
9,4641111 gold badges5252 silver badges7474 bronze badges
Errors as:
The lib files and the project are all generated by /MD,I don't know what else cause this error.
https://github.com/JanX2/xlslib
I use vs2008 sp1,unfortunately I can't make the any part ...
Recently I see my VS2017 is not showing the full call stack . what did I change ?
It shows them as External Code !
asked 5 hours ago
Sara N
72511 gold badge1010 silver badges3838 bronze badges
I'm trying to create a function that send the input written the TextInto by using BlueTooth.
I thought to save the input in a txt file and send it, but I don't know how to create the aforementioned ...
Apologies in advance for any formatting errors
A friend & I followed the steps MR Basics 100: Getting started with Unity and everything is fine until building the solution in Unity and deploying ...
I'm trying to insert datetime value. It works, but when I open the excel file, in the column I see only date. To see time I must click on cell and look at the formula bar
DateTime valueDate = ...
asked 12 hours ago
amplifier
99399 silver badges2626 bronze badges
I can't display new "windows".
Images 1
Images 2
I dont know what to do. I tried a lot of thing but nothing is working...
Ty for help.
I'm using VS 2012, before I got the error below, I was getting a 9009 error which I resolved by putting my post build in quotations. Now I got this belowerror and I'm not understanding what it means ...
asked 14 hours ago
Masterolu
17711 silver badge1010 bronze badges
I'm trying to use the matplotlib-cpp package in my c++ environment in Visual Studio 2019. I installed Python, but besides that I have no experience of using\programming with it.
What should I be doing ...
Hello I've installed MSVC++ 6.0 in my computer so it has set the environment variables.
No I've installed MSVC++ 2019 but when I go to Computer properties->advanced system settings->Environment ...
asked 16 hours ago
Maestro
79511 silver badge1515 bronze badges
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is ...
I have a class which is meant to create a PictureBox on a Panel in the form 'Form1'.
For example, somewhere in my code, an instance of the class 'Object' is created:
Object Object = new Object(1, "", ...
Goal:
Upload a picture and then save it to the path "C:\test\"
Problem:
The main problem is that HOW should .net core code be constructed that the code shoud retrieve the incoming data (post data ...
asked 17 hours ago
What'sUP
10.8k1717 gold badges6262 silver badges105105 bronze badges
Visual Studio Ultimate IntelliTrace dose a fine job capturing generated SQL from small Linq queries. However with large Linq queries, the generated SQL in the IntelliTrace Window is always cutoff with ...
I got this problem, I create a new page then it says : "
Object reference not set to an instance of an object"
I tried different solution but they doesn't work
I didn't do anything in ...
All I want to ask how can I open a new tab in my program. Because after I open a new tab once with a button the other button isn't working and doesn't do anything.
private void BtnCheckRules_Click(...
after i have upgraded my C# project from Visual Studio 2005 to 2017, and i'm trying to editing any form in the project and save it, the Designer file is changing and deleting the InitializeComponent ...
I am trying to create a program which has html editor (richtextbox), elements box or list and a potentially canvas area which will show the the webpage. The user will drag an html element and drop it ...
I have built a sample ASP.NET Core MVC app, the project was setup from the command line. I was able to run the app using dotnet watch run command, but I could not start the app from Visual Studio by ...
I have a windows Form application in which I need to show the Doc file inside of it. In order to view the doc file which are stored in my DB in visual studio 2010, I use Web Browser
I Create the file ...
asked yesterday
nnmmss
2,08444 gold badges2222 silver badges4242 bronze badges
I am trying to get QT to work on my maschine (to be more precise in VS2019) and it does not work, I am trying to describe my steps and errors as precise as possible I hope it does not get too chaotic.
...
#pragma once
#include "Point.h"
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include "Image.h"
#include "mywindow.h"
#include <vector>
class Circle {
private:
...
My project depends on CefSharp, among other libraries compiled into dlls, and I'd like to keep my build directory organized. How can I add references directly to the project without Visual Studio ...
enter image description here
I want to get the returned string, but I never get it, what should I do?
I have a project for artiticial cognition, and wrote a python numpy extension called twit (Tensor Weighted Interpolative Transfer) and it has a C code piece for speed. The main twit is called twit, ...
I have a software that upon installation asks for the IP address of my server and stores that address into multiple config files in different folders. This code that I have updates the config file's ...
asked yesterday
Masterolu
17711 silver badge1010 bronze badges
I want to ask about this error, I am using visual studio 2013 website and when save any form by .html and try to browse it only thing I show code and nothing else.
What is problem and how can I solve ...
Briefly I had to make a program emulating a shell, with some basic functions on it.
My problem is I handle the SIGINT signal with signal() and redirect it to this handler:
void ctrlc(int signum)
{
...
I accidentally deleted the certificate from my Keychain Access and now I can't restore it.
I try to download it again using visual studio but it won't work. it would just ask me to repeat the ...
I want to use my Google Pixel 3a for Debugging on VS because the built-in emulator is slow, and crashes all the time, and using physical debugging has a lot of advantages.
It worked one time but after ...
I am trying to recreate a Visual C++ Solution that had about 30 projects so that the general organization will be cleaner.
The original "solution" was in fact a Visual C++ 6 workspace from the turn of ...
asked yesterday
user1741137
3,50911 gold badge1515 silver badges2121 bronze badges
NOTE: Problem exists on UWP projects only. But it works fine on both WPF - .NET Framework or .NET Core 3.0 projects.
Environment: VS2019 - version 16.4.1`, Windows 10 Pro - version 1903.
Before ...
asked yesterday
nam
9,9991717 gold badges6969 silver badges161161 bronze badges
I want to make a custom type of tab, specifically for RDP client display. Much like in the way you would create a custom form. I realize this question might be vague, please let me know if I need to ...
When a line is partially selected, this results in /**/ C-style comment:
#include /*<assert.h>*/
#include <stdlib.h>
#include <node.h>
When one or several lines is partially ...
asked yesterday
Estus Flask
105k2929 gold badges178178 silver badges295295 bronze badges
I'm try to get some options settings value like Nuget Package Manager\Package Source
I tried ShellSettingsManager, it return a GUID value:
var manager = new ShellSettingsManager(ServiceProvider....
I have a task where I must write C# code in Visual Studio that connects to Windows Media Player. I know that there are libraries for connecting to Microsoft Word or Excel in C#. How can I connect to ...
I can click it once but after that, it is stuck on Darkmode and I can't switch back
public static bool i = false;
private void BtnDark_Click(object sender, EventArgs e)
{
i = true;
if (i == ...
I`m using Unity 2019.3 and Visual Studio 2019. So studio autocomplete classes ("Rigidbody", "Input", etc), but not complete methods like Start() Update() OnTriggerEnter...
I'm looking for a way to set smart intendent in Visual Studio Code.
I would like VS to format the sequence of defines as in a picture below or at least don't format it at all.
Right now every format ...
I'm mainly an C# programmer and would like to create attractive and interactable GUI's or frontends for some programs.
I've created programs with visual studio's windows forms but I think it isn't ...
I am trying to debug .netcore api's which I wrote. I was able to debug, but now Visual Studio does not open safari.
When I try to run the project and enter https://localhost:5000/projectname, it ...
Every time I run debugger debugging console shows it's "prefered" font "lucida console" instead of "console" ... and always ignores diacritics from any european language characters over 0x7f are ...