Category "visual-studio"

Why does CMake default to Program Files x86 when compiling 64 bit program?

I am trying to build and install a basic program with CMake 3.17.2 for 64 bit windows with Visual Studio 16 2019. CMakeLists.txt: cmake_minimum_required(VERSION

Unity - Make character look at mouse with New input system/Character Controller

Been following this guide https://youtu.be/bXNFxQpp2qk?t=1280 for Character Controller. This got me getting basic movement working and at time 21:20 he creates

litstudy Package Installation Python

I am Trying to do Co-Citation Network analysis and have to install package called "litstudy" in Python but I am getting an Error installing it in Jupyter and Py

PrincipalContext works only with server defined

At work I am getting a new computer, and I have problems with PrincipalContext: PrincipalContext principalContext = new PrincipalContext(ContextType.Domain);

How can I get Time.time as a fixed integer after an event happens in Unity

I want to display on the screen that the player has achieved their goals in this much time after playing the game. But when I display Time.time it keeps changin

ASP.NET Web Service template not exist in Vsiaual studio 2022?

I have installed Visual Studio 2022 with .Net frameworks. I am unable to create my first web service because web service template does not exist. In visual stud

Duplicate keystrokes on cshtml editor

I'm having a strange problem in Visual Studio 2022, and would like to know if someone else faced it. It only happens when editting .cshtml files, on Asp.net MVC

visual studio error e1696 -"cannot open source file iostream"

When I build a cmake project in visual studio and this error occurs, I tried to uninstall and reinstall visual studio but it did not work. the Build succeeded a

How to add a post build event in MSBuild for .Net 6.0 on Mac?

How do I need to edit a *.csproj file to add a PostBuildEvent on Mac? I am trying the following but it doesn't work: <ItemDefinitionGroup> <PostBuild

C# Function Overloading in the New .NET 6 Console Template is Not Working

I am getting errors trying to overload the function Print(object) in the new .NET 6 C# console app template (top-level statements). void Print(object obj) =>

Visual Studio 2022 - Add HTML file and Add Javascript File options are not available

I have upgraded to VS 2022 recently. Now in the solution explorer, when I right-click a folder and want to add an HTML file or javascript file, the options are

Visual Studio 2022 MVC Object Reference Error with @Script.Render(~/bundles/bootstrap)

I'm a beginner college student working on a group project in MVC. Things had been going relatively well until our most recent code update. When testing the app

Errors when "Update model from database" VS2022 and EF5

I am trying to sync EF5 w/ the database by: stackoverflow.com/questions/9708189/… Issue is that after I choose "Updates model from Database" there are er

Why live share not work on visual-studio code-oss?

I have installed in my arch system code-oss following this guide https://wiki.archlinux.org/title/Visual_Studio_Code i have also modified product.json ,installe

Automate Artifactory NuGet download during build in Visual Studio

I have been working with Artifactory NuGet packages in Visual Studio 2019 recently, and have a workflow which looks sort of like this: Add private Artifactory r

Hot reload does not work with .NET MAUI starter project

I'm using Visual Studio 2022 (17.2 Preview 4) to use .NET MAUI for windows. When trying to hot reload with the default project it gives the error "Hot reload ca

Why when i'm using Show method on another form the window form stuck and won't open

Where i'm opening the other form using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; us

Error in selenium c# witch WebDriverException

OpenQA.Selenium.WebDriverException: "The HTTP request to the remote WebDriver server for URL http://localhost:61601/session/bf47076dd5340edf30b904f946dae6f2/url

Is there a way to obtain the same LaTeX output as one gets in Jupyter, but in Visual Studio?

For some unbeknownst reason which I have not been able to identify, and I already proposed in the form of my first programming question, I can not get the resul

Error when installing necessary packages on Node js

I was installing Node.js on Windows. It installed successfully, and I also selected the option to install necessary files (such as chocolatey) in the node.js in