Category "visual-studio"

How to make MSTest grab all console output from unit test? Output behind WebHost.CreateDefaultBuilder() goes missing (VS2022, .NET 6, MSTest 2.2.10)

I'm creating an integration test for a Web API, so I'm starting an entire application in a unit test using WebHost.CreateDefaultBuilder() and the usual setup bi

pls HELP ME HELP ME HELP ME HELP ME [closed]

i was making a game in unity and i got this error: Assets\PlayerController.cs(37,21): error CS0120: An object reference is required for the no

Xamarin - Error: dsymutil exited with code 72

Recently upgraded to VS for Mac 8.10.21, when building apps, I'm getting: /Xamarin.Shared.targets(3,3): Error: dsymutil exited with code 72 This is with Xcode

Remote debugging suddenly stopped working, and troubleshooting yields no clear culprit where the problem could be

My remote debugger suddenly stopped working. This morning, it worked fine. This afternoon, I can't use it, and neither can at least 2 other members of my team

Is there a free version of SQL server that has Integration Services Catalog too?

Trying to understand what free version of sql server allows to create Integration Services Catalog for SSIS pacakges. Any help is appreciated. Thanks.

Xamarin UWP release freezes at 'Compilation of [number] methods'

I have a big issue. I use an obfuscation solution to protect my solution. When I try to build the solution in "Debug" mode, it finishes in less than 2 minutes.

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