Category "visual-studio"

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

Google application credentials in azure app service (aspnet core web api)

So I am using Firebase SDK to send push notifications to my android clients. On local IIS this is how I have configured FirebaseSdk. In Startup.cs I have Fir

Visual Studio: ScriptLoggingBuilderExtensions.cs not found when debugging

I am using Visual Studio version 16.7.3 (latest) and recently came upon a problem. I am creating an Azure Function, using .net Microsoft.Azure.WebJobs. Everythi

SEC_ERROR_INADEQUATE_KEY_USAGE on accessing webapp published using Visual Studio

I created a Blazor Server webapp and published it from Visual Studio using right click on the project - publish. I am publishing to a local folder, amongst othe

Is there a way to generate XML-style comments for all methods/classes in project?

When using an IDE like Visual Studio or Rider for C#, writing triple-slashes auto-completes to an XML-style comment, along with fields for input and output (whe

I'm having trouble connecting Visual Studio 2019 to the Microsoft Hololens v2 Emulator for deployment

I am trying to deploy a simple unity app to the Hololens v2 emulator. I followed some tutorials to build the unity files according to the Hololens build framewo

Private Artifactory Package not showing up in Visual Studio

in the past hour I used Visual Studio to package a NuGet .nupkg file, and then used the following commands to push my .nupkg file to a private artifactory repo:

VS 2022 Setup Project Uninstall Registry Key - InstallSource = Package Cache

My IT dept. is telling me that usually apps copy the install MSI to ProgramData\PackageCache and updates the registry key to point to this location. They want m

How can I embed a variable on build from a text file I read?

I am working on C# winform application and I had setup .env files with this package https://github.com/tonerdo/dotnet-env, the problem is I can't access my data

How to install Entity Framework in a .Net Framework v4.6.1 application using Visual Studio 2017

My first steps in C# are horrible. Now I'm trying to install Entity Framework. For doing that, I just go to the NuGet package manager, I type "Entity" and try t

Could not load file or assembly 'System.Buffers, Version=4.0.2.0...'

I'm getting the following exception when trying to call GetDatabase method of the MongoClient class after adding a new configuration using VS config. manager: C

Microsoft Visual Studio 2019: Unable to locate .NET Core SDK

When I try to create an Azure Timer Function in a Function App in Visual Studio Code 2019, I get the following error: Unable to locate the .NET Core SDK. Check

How to recover missing SQL auto-recover files in SSMS (Microsoft SQL Server Management Studio) after unexpected shutdown

My SQL Server Management Studio (SSMS) closed unexpectedly. Many SQL files were open. When SSMS was restarted, it did reopen some auto-recover files, but not al

Connecting an ObservableCollection to Listview for a Windows Application UI (Visual Studio C#)

I'm working on a project where an application displays data by pulling it from a file and displaying a new data value every second. (edit: consolidated code at