Category "visual-studio"

Do a Raycast after Raycast-positioned object

I have a code that allows to position an object onto the other object by Raycast. Obviously, I am using Mesh Collider so everything works fine. Ray ray = new Ra

How to open a C# call stack (string) in Visual Studio 2019 Professional?

OK, suppose I have a C# string for a callstack for a runtime Exception (copied to the clipboard from Azure Application Insights - but it could be from everywher

How can I get the the Microsoft Access Database Application Title via C#

I need to get the Application Title from an access database via C#. I have seen some samples using Office VBA: I.E: https://docs.microsoft.com/en-us/office/v

Visual studio 2022 crash on start debugging

Can anyone help me find why my visual studio 2022 crash everytime I start debugging? If I only run app it works fine. Also I have visual studio 2019 on the same

Checking for any code updates Visual Studio 2019 and 2022

Sometimes (often) I am getting the message Checking for any code updates during debugging: This makes productivity down. I did some research and find a post on

Why am I getting this error/warning whenever I try to use MediaPicker.PickPhotoAsync?

Whenever I use the following code in order to select a photo from my Library using my iOS simulator I get an error/warning. The image is then selected and shown

Trying center a tower on tilemap

Iam making a placement system using tilemaps, its almost done but have a small problem. Placement System As you can see the tower never be on middle of tiles, i

Why folders in VS 2019 shows red cross 'X'?

My Observation: Its for empty folders or for empty folder hierarchy. If I add the folder again then cross is removed. (I have re-sharper installed, and don't k

visual studio can't apply clang-format 13

I'm expecting to use AlignArrayOfStructures, however it's only available in clang-format 13. So I set Custom clang-format.exe to C:/Program Files/LLVM/bin/clang

How to autoincrement version number for a stand alone VB Class Library? (VS 2022, .NET 6)

I'm trying to design a REST API Service and Client that shares a common library (set of public classes that the Service and Client both reference). This common

Can I use EnvDTE and VisualStudio.SDK in a .Net 6 project?

With VisualStudio 2019, I used to be able to use EnvDTE80 that comes with VS2019 installation. It worked fine within my .Net 3.1 project. Then I upgraded my pro

How do I fix SQL Server Database Project Ambiguous References?

I am having trouble getting Visual Studio 2022 (and 2017) to work with a simple Database Project. I have extracted a data tier application and stored it as a .

Is it possible to use Visual Studio 2022 Test Explorer to run C unit test?

I would like to run ansi C unit tests in VS by mean of Test Explorer (not only with Console). I saw that it's possible for C++ projects (https://docs.microsoft.

SSRS Nested IIF statements in expression throwing error

I keep getting an error [, is invalid. InvalidSyntax] when deploying this report in Visual Studio. I can't find the incorrect [ , ], also not sure if the bracet

How to solve "error: Microsoft Visual C++ 14.0 or greater is required" when installing Python packages?

I'm trying to install a package on Python, but Python is throwing an error on installing packages. I'm getting an error every time I tried to install pip instal

Visual Studio 2019 create NuGet package that includes NetStandard and updates web.config

Recently, I created a NuGet package in Visual Studio 2019 by following the steps here to create the package using the "Pack" command. The problem is when I tri

How do I remove these annoying error labels?

VS 2022 How do I get rid of these annoying error popups while I'm typing? They even appear over the text I'm currently typing sometimes. I'm not exactly sure w

Why is Windows Defender scanning my code?

I am compiling C++ code using Visual Studio 2019. The code ranges from simple projects to learn C++ features to game dev. But no matter the scope of the project

Unity gyroscope reads only two axes

I want to make it so that the gyroscope will only change the x and y-axes of an object. There is code for one axis and for three axes (mostly used), but I could

How to develop ms excel ribbon functions

how to develop ms excel ribbon functionality not COM add-ins or VSTO add-ins. Using visual studio Thank you I want to implement excel ribbon functions to valida