Category "visual-studio"

Visual Studio's "go to definition" goes to a wrong function/line?

So this happened after my project got to around 6-7k lines of codes, for some reason go to definition goes to a wrong line for some of the functions, mostly old

strdupa() implementation for Visual C

I am trying to port a C (not C++) program from GCC to Visual Studio. The GCC specific function strdupa() is widely used in this program. Is there any way to imp

Where is the Class Library for .Net Core template in Visual Studio Community 2022 or Visual Studio Community 2022 Preview?

As the title asks, I can't seem to find this template. Help please. TIA

How to disable git for some project and other project not disable git in Visual Studio Code?

some project i don't want use git monitoring , but in other project i want to keep use git monitoring , i use setting "git.enabled": false, "git.path": null, "

Publishing WPF application fails du to unauthorized .NuGet service index (Azure DevOps)

I want to publish one of my WPF applications (to a folder). The app needs some NuGet packages that I published via Azure Devops. I signed in with Visual Studio

Importing exported project templates in Visual studio does not restore packages

I created an project template according to microsofts docs. The project itself requires 3 packages that I installed from Nuget. However upon importing the proje

Why does my visual studio closes automatically without any errors

it is the latest version of visual studio pro 2019 and there is new folder on my desktop named .vs and the desktop folder contains a folder named v16 and it c

How to compile Less/Sass files in Visual Studio 2017+

In VS <= 2015 we can use a WebEssentials extension that takes care for compiling the less/sass files for us, but currently it does not support VS 2017. Is th

Install .NuPKG on VS 2017

I have seen 4+ different answers, some of which say "But doesn't work on VS 2017" (which I have). Sshould be straightforwad, but nothing is. I have FluentFTP.N

Typescript error "Cannot write file ... because it would overwrite input file."

In my Typescript 2.2.1 project in Visual Studio 2015 Update 3, I am getting hundreds of errors in the error list like: Cannot write file 'C:/{{my-project}}/

Execution failed for task ':app:signReleaseBundle'

I have this error at the moment to make flutter build appbundle this is the error: FAILURE: Build failed with an exception. * What went wrong: Execution failed

Programmatically get the list of the ribbons using VSTO add-in

I have created a C# VSTO add-in with Visual Studio 2019 that receives commands from a socket connection and it can insert text, modify buttons only in my ribbon

"C:\Microsoft.Cpp.Default.props" was not found

I have a project created in Visual Studio, 2013. The project file has the following properties: ToolsVersion="12.0", PlatformToolset = v120. I have Visual

How to deploy minimal ASP.NET/Razor WebApp with Github Workflow using VS 2022 CI/CD feature to generate YAML?

Background: I'm trying to use that Visual Studio (2022) CI/CD feature (part of the publish feature) that automatically generates the workflow YAML file in the .

HMR tls issues with Visual Studio 2022 Vue template

I am using the Microsoft Vue tutorial to create a solution with separate frontend and backend projects. I am using the default configuration that enables tls an

Use C# for Catia V5 Automation

I want to write Macros/Programs for Catia V5 with the programming language C#. How is it possible to access the Catia applicataion via c#(and Visual Studio). I

How to find phpcs current default standard

I want to know my current PHPCS standard in Visual Studio e.g: { "phpcs.standard": "PSR2" } how to set it is given in the documentation phpcs --c

TypeScript type definitions IntelliSense errors

With Visual Studio 2022, I have a lot of IntelliSense errors in the error list window about type definitions of the node_modules folder. In my tsconfig.json fil

T-SQL C# CLR Execute permissions being lost on assemblies when are redeployed

I have inherited a VS2015 .NET C# project that deploys C# assemblies as CLR stored procedures to SQL Server 2016. It has worked seamlessly for many years. Howev

.NET 6 how to add webservice reference

How can I add reference to SOAP web service (.asmx) in .NET 6. In .NET Framework there is Web references in VS with autogenerated proxy classes. How to can I mi