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. DO NOT use this tag on questions regarding VS Code.

110,105 questions
0votes
0answers
6views

Unity: How to disable gravity after instantiating and give it gravity back in XR

I am making a VR game using the XR toolkit. I want to instantiate a gameobject and I want it NOT to move and just float in the air. After I grab it, it should have back the gravity/rigidbody etc. ...
-2votes
0answers
21views

visual studio code is not connecting to unity [closed]

I think its not connecting to unity for some reason so far I have tried to restart visual studio restart unity and using different versions of visual studio. when I tried to run it in unity it came ...
0votes
0answers
11views

Create Symlink instead of copy the referenced assembly on Visual Studio build

There is a way of Visual Studio create a Symlink of referenced assemblies instead of copy each assembly to the bin of my application?
0votes
0answers
3views

MSAL Oauth EWS authentication - AcquireTokenForClient forces Visual Studio to skip to end

I'm trying to set up app-only OAuth authentication for EWS to reach O365, following these instructions: https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-...
0votes
1answer
8views

Visual Studio 2019 does not properly convert UTF-8 strings to UTF-16 strings in source files without BOM

I have the following source file (encoded in UTF-8 without BOM, displayed fine in the Source Code Editor): #include <Windows.h> int main() { MessageBoxW(0, L"Umlaute ÄÖÜ, 🙂", ...
0votes
0answers
9views

Visual code and python and venv for linux

I would like to run my program under Visual Studio. To this time i used Atom. I have question regarding to running python program under venv. Does I have to run command python3 -m venv .venv from ...
  • 133
-1votes
0answers
34views

How should I run single c++ file in Visual Studio?

(I should first claim that, since I took part in Olympiad in Informatics, it's very normal for me to run a single file.) I downloaded Visual Studio in place of an old IDE. When I created a project, it ...
-5votes
0answers
26views

freezing for a few seconds after install visual studio [closed]

After I installed Visual Studio 2022. My computer freezes for a few seconds, when I check CPU load in task manager, it is 14-15%, when Windows returns to normal mode, CPU load is 60-70%. how to fix it....
0votes
0answers
7views

NuGet hash validation failed NU1403

I have a solution and it working on other developer's laptops, but on one by some reason during build, I see the next error: Error NU1403 Package content hash validation failed for Lucene.Net....
0votes
0answers
14views

ENTITY FRAMEWORK CORE doesn't load on the package

I have a project on Gitlab which works fine. I have to reinstall the windows and visual studio 2022 and clone it again. but after clonning , none of packages loads find and I get error the project ...
  • 2,616
0votes
2answers
15views

Link external function to C++20 Modules

I would like to reference a non-Module external (extern) function from within a C++ Module. Unfortunately using the normal method pre-Modules doesn't appear to work: extern uint8_t* test(uint8_t*); ...
0votes
0answers
12views

Duplicate data after user doing a second '/start/ and so on or when multiple users are using the bot. The data are uploaded to an online google sheet

Currently this codes are causing duplication of data entry on an online googlesheet. When user enter a second "/start" after the first initiation, it will be uploaded twice. Doing a third ...
0votes
0answers
29views

How to automatically show VSTO Excel Workbook document level Action Pane when opening the Excel Workbook which project was built on

I created my Document-Level project in Visual Studio by selecting one of my existing excel workbooks in project startup wizard and then I designed my action pane and wrote a code as shown below. My ...
0votes
0answers
21views

throwing a warning and treating a error like declared formal parameter list different from definition

void test_leave_aoabound_Responder(uint8_t ranging_data_ntf, uint8_t Angle) { LOG_W( "**************************************************************************************************...
0votes
0answers
11views

Setup FFMpegCore in Visual Studio 2019

I am confused on the basics of using a library. I understand that there is a library called FFMpeg and a wrapper called FFMpegCore so we can use FFMpeg with C#, correct? I downloaded both FFMpeg and ...

153050per page