95 questions with Developer technologies | Visual Studio | Testing tags

Sort by: Updated
0 answers

IAP is not initialized in a sideload UWP Unity app

I am developing a Unity UWP build in Visual Studio, which has in-app purchases from the Microsoft partner center. When I upload my packages to the partner center and install the app from the store, IAP is working fine. But for testing, I create a…

Developer technologies Visual Studio Testing
asked 2025-05-30T11:12:51.3466667+00:00
ayush shreshthi 0 Reputation points
0 answers

How to 'publish' a test exe for a DirectX Game project in Visual Studio 2022

I'm attempting to publish an executable file to my disk to learn more about exporting and sharing projects from Visual Studio. I've modified the "DirectX Game UWP" project template, and followed part of the tutorials associated with the…

Developer technologies Visual Studio Testing
asked 2025-05-24T05:02:40.5333333+00:00
Andrew K 0 Reputation points
0 answers

VB 2010 , when create new EXE , why windows 10 security say its not virus and windows 11 say its virus file

VB 2010 , when create new EXE , why windows 10 security say its not virus and windows 11 say its virus file I create a new exe in vb 2010 or vb 2019  I use this setting also  <requestedExecutionLevel level="requireAdministrator"…

Developer technologies Visual Studio Testing
asked 2025-04-20T11:47:53.8666667+00:00
SPACE SOFT 0 Reputation points
0 answers

"INTERNAL COMPILER ERROR" CL.exe exited with code -529706956

VS2019 was fine on my small project. I found my problem to be close to https://godbolt.org/z/Y1xoGPMba reported one year ago without answer here…

Developer technologies Visual Studio Testing
asked 2025-04-10T13:16:27.4166667+00:00
Laurent Le Faucheur 5 Reputation points
commented 2025-04-10T13:50:13.4466667+00:00
Laurent Le Faucheur 5 Reputation points
0 answers

Change on the existing VS project for running it on Android

Hi, We built mobile app project to DLL file. How to ensure that the executable file is fine to be run on Android or the other OS? How to do the relevant change on the existing VS project for running it on Android or the other OS?

Developer technologies Visual Studio Testing
asked 2025-04-07T06:24:33.07+00:00
Peter_1985 2,736 Reputation points
edited the question 2025-04-08T04:25:09.7533333+00:00
Peter_1985 2,736 Reputation points
0 answers

How to fix LNK1181 error (including libs)

Severity Code Description Project File Line Suppression State Details Error LNK1181 cannot open input file 'C:\6money\libs.obj' Dll1 C:\6money\Money\Dll1\LINK 1 Hello, I'm currently facing an issue when trying to link the lua54.lib library in my…

Developer technologies Visual Studio Debugging
Developer technologies Visual Studio Testing
Developer technologies C++
Developer technologies Visual Studio Other
asked 2025-01-15T17:57:11.9633333+00:00
Yuri 0 Reputation points
commented 2025-01-17T07:12:29.2533333+00:00
Minxin Yu 13,501 Reputation points Microsoft External Staff
0 answers

why I cannot login server for hotmail email by python?

i got error when logging in the server by python coding for hotmail account even I created a new one. server.login('******@hotmail.com', 'password')

Developer technologies Visual Studio Testing
asked 2024-10-04T14:25:49.2466667+00:00
friend 0 Reputation points
commented 2024-10-10T09:17:04.22+00:00
Friend 0 Reputation points
0 answers

Microsoft Fakes and real object constructor

I'm using .NET 4.8 and Microsoft Fakes to create Shim object for unit testing. This class (KRSampleManager) is using Lazy initialization to create an instance and implements IDisposable interface. namespace SampleManager { public class…

Developer technologies Visual Studio Testing
Developer technologies C#
asked 2024-10-01T09:08:03.5166667+00:00
Raja, Kushal 0 Reputation points
commented 2024-10-03T04:51:34.86+00:00
Raja, Kushal 0 Reputation points
0 answers

How to get Code Coverage in Visual Studio 2022 with CMake Cpp Projects with a Windows Compiler

I have a Cpp project that is being built with the MSVC compiler and using CMake. I need a code coverage solution, preferably one that either provides detailed reports or in Visual Studio code highlighting that is possible using CMake. So far I have tried…

Developer technologies Visual Studio Testing
Developer technologies C++
asked 2024-05-28T09:01:11.2366667+00:00
Hoad, Tom 0 Reputation points
commented 2024-05-28T13:37:45.93+00:00
Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
0 answers

Visual Studio 2022: Error reopening files (error code 0x80004005)

I have the above error when I rebuild a solution. I used Resource Monitor to see who has the file in question (ABC.exe type) and it shows nobody has it. Following this issue's comments from others, I see no solution.

Developer technologies Visual Studio Testing
asked 2024-05-16T15:05:39.61+00:00
Robert Glover 1 Reputation point
commented 2024-05-17T03:31:06.8833333+00:00
Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
0 answers

vb.net Unit Test Project .NET Framework 4.8 has stopped seeing all subroutines and function in the project being tested.

I have created a vb.net project using .NET Framework 4.8 with a single public subroutine. Also, created a Unit Test project within the same solution and set the references in the Unit Test project pointing to the project being tested. I was able to…

Developer technologies Visual Studio Testing
Developer technologies VB
asked 2024-04-22T05:25:41.7233333+00:00
John Smith 0 Reputation points
edited a comment 2024-04-23T03:00:30.9933333+00:00
Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
0 answers

Unit test command line arguments

How can I get the arguments specified in the following dialog: [TestMethod] public void Test1() { // How get the command line arguments? }

Developer technologies Visual Studio Testing
asked 2024-04-02T08:22:34.0433333+00:00
杨岑 171 Reputation points
commented 2024-04-03T06:52:24.2533333+00:00
Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
0 answers

Visual Studio 2022 issue on DevBox - Status 400(Bad Request)

Hi, we are trying to run build on visual studio on DevBox. When opening VS it is asking to re-enter credentials. Entering credentials gives error 53003.  When account was removed and added again, it asks for 2FA and login in successfully. BUT! Running…

Developer technologies Visual Studio Testing
Developer technologies Visual Studio Setup
Developer technologies Visual Studio Other
asked 2024-03-20T14:15:46.74+00:00
Alina De-Monti 20 Reputation points
commented 2024-03-26T13:56:34.1066667+00:00
Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
0 answers

DevOps Build. How to build a multi-project solution (Windows Service) that has a windows forms test harness

We have an old Windows service I am trying to move to GIT and DevOps (on prem). The service project builds off of 3 other projects in the solution however there is a 5th project which is a windows forms app that we use to develop and debug. I would…

Developer technologies Visual Studio Debugging
Developer technologies Visual Studio Testing
asked 2024-03-23T23:11:01.74+00:00
McAninch, Robin 51 Reputation points
commented 2024-03-25T09:50:21.5566667+00:00
Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
0 answers

How would you test a minimal api that uses a dictionary for saving entities?

Here's my Program.cs file (I've actually simplified it to some extent). using StudentsMinimalApi; using StudentsMinimalApi.Validation; using System.Collections.Concurrent; WebApplicationBuilder builder =…

Developer technologies ASP.NET ASP.NET Core
Developer technologies Visual Studio Testing
asked 2023-08-14T23:00:51.0533333+00:00
aspnetcorelearner 0 Reputation points
edited a comment 2023-11-28T15:39:05.67+00:00
Mahmudul Hasan 0 Reputation points
0 answers

How to install Visual Studio in a minimal way

I have already installed VSCode and .NET 7.0 X64 in Win10. I can already use C# for code debugging in the current environment. My main use of Visual Studio is to debug unit test C# code related to the NUnit framework in the book, and print program…

Developer technologies Visual Studio Extensions
Developer technologies Visual Studio Testing
Developer technologies Visual Studio Setup
Developer technologies Visual Studio Other
asked 2023-11-20T01:39:47.3866667+00:00
wu sheng 20 Reputation points
0 answers

Test Coverage Definition - Unit Testing

Well! I was having an argument on test coverage for a project with a friend and below are the points that I stick to. As am a novice in this area, would expect few clarifications on the points that I am up to and if these are valid. Test Coverage,…

Developer technologies Visual Studio Testing
asked 2022-03-18T13:44:49.97+00:00
Amit Kanti Barua 1 Reputation point
commented 2023-10-13T17:48:29.1+00:00
Ran Halprin 0 Reputation points
0 answers

i am getting this error : [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Details below

Hi, these are the full errors : Configuration Error *Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file…

Developer technologies Visual Studio Debugging
Developer technologies Visual Studio Testing
asked 2023-10-11T19:23:39.65+00:00
iqworks Information Quality Works 331 Reputation points
commented 2023-10-12T03:28:49.6366667+00:00
Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
0 answers

How does time in diagnostics session counters file is calculated?

Hi, I need exact values of performance of my program from performance profiler, for documentation of my program, the problem, I need values that have been collected from my program in order to data organize and document it, I have already extracted the…

Developer technologies Visual Studio Extensions
Developer technologies Visual Studio Debugging
Developer technologies Visual Studio Testing
asked 2023-09-14T10:38:15.2666667+00:00
Rambod Mokhtari 0 Reputation points
edited a comment 2023-09-18T08:16:59.3966667+00:00
Rambod Mokhtari 0 Reputation points
0 answers

Is there a way to change the preprocessor directive based on the testEnvironment of a unit test?

Hello, I'm a developer using remote configurations for unit tests. I'd like the preprocessor to change every time I modify the environment defined in the testEnvironment.json file from the Test Explorer. Is there a way to do this? thank you.

Windows for business Windows Client for IT Pros User experience Remote desktop services and terminal services
Developer technologies Visual Studio Testing
Developer technologies .NET Other
Developer technologies Visual Studio Other
asked 2023-08-24T09:00:54.2933333+00:00
Anonymous
commented 2023-08-25T07:02:16.83+00:00
Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff