Category "visual-studio"

How to deal with SQL server error: The database cannot be opened because it is version 904. This server supports version 852 and earlier [closed]

While connecting to SQL Server database by attaching to an MDF file, the following error is returned: The database cannot be opened because it

MSBuild on NET 5 Core projects produces different bin/x64 and bin/Debug folder structures

I am having an awful time understanding how MSBuild works with NET Core project files (csproj) on Windows 11. I have 71 NET Core C# project files (executables,

form.show doesn't show all the content on the form like forms.showdialog

I am currently developing a GUI that helps users pick a test to run for a DUT. The program controls a bunch of lab equipment via visa com drivers and logs the d

Master branch disappeared from my local code

I have a repo that I cloned a long ago and I use the master that I push to create my branches to then merge with master. I opened visual studio and now I don't

VS2019 Online Extensions list is empty. Then full. Then empty again

A colleague is having a bizarre problem with Visual Studio. I am literally watching this happen live while we're on a Teams call and she shared her screen. In

Android AGDE in Visual Studio - how to package an AAB?

I'm using the Google Visual Studio plugin AGDE to generate an APK - which works fine. I'm trying to get it to output an AAB file - but not having much luck. Doe

Incompatible Target Framework on Visual Studio Community

I`ve been trying to make a unit test in my project following this tutorial: https://docs.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-

How to import functions from an external namespace onto my project in c sharp

I want to import functions from a different namespace in an external file into my c sharp project. But what's the right method to do it. I copied the .cs file w

How do I programmatically click "Submit" on a Google form using Visual Basic?

I'm coding an A.I. in Visual Basic and when it when it doesn't know something the user inputted, it'll send the user's input into a Google form and submit it au

Is anyone else experiencing issues using Cloud Tools for Visual Studio to deploy GKE workloads?

For the past week we are seeing the error "Could not determine if the selected GCP project is ready for deployment, please close the dialog and try again", imag

c# check value at design time

Is there any way, perhaps by use of Contracts, to check whether a variable's value conforms to some rules during design time in Visual Studio 2022? I.e. int is

how to create list of lists in c#

I am trying to create list of lists, where the large list represent paper contain collection of small list represent question, list of question consist of quest

Visual studio window sometimes hard to restore from being minimized

When I have a visual studio window that is minimized, clicking its button in the taskbar sometimes makes nothing happen. I can click as many times as I want and

Visual Studio 2022 .razor code block is flickering

I am using Visual Studio 2022 Enterprise. While working with .razor files I have a strange flickering. Since a while my syntax highlighting is broken. As you ca

Pure OpenGL on Windows? [duplicate]

I want to use OpenGL without GLFW, the docs say that I need to add opengl32.lib to linker dependencies. How do I specifically import OpenGL an

Visual Studio SSAS Tabular Model does not show existing connections

I'd like to write a SQL Query to extract data from a SQL Table into the SSAS Table. I do not have this option available, as normally I should go over 'Model' &g

VS Reversing FatalExecutionEngineError address

I'm working on very large piece of software that dynamically loads and uses a handful of dlls at runtime. VS 2022 compiles and runs this software without any is

No module named 'telegram' error after installing python-telegram-bot

I have installed the python-telegram-bot from cmd using this: pip install python-telegram-bot and also I tried this pip install telegram but after I run a code

EnforceCodeStyleInBuild true does not fail the build when errors are present

I'm using VS 2019 16.9.0 Preview 1.0 and have a project with the following PropertyGroup <PropertyGroup> <OutputType>Exe</OutputType> <

EnforceCodeStyleInBuild true does not fail the build when errors are present

I'm using VS 2019 16.9.0 Preview 1.0 and have a project with the following PropertyGroup <PropertyGroup> <OutputType>Exe</OutputType> <