Associating test cases in Visual Studio, how to fix VS30063: You are not authorized to access https://dev.azure.com
I have been trying to associate test cases to an automated test plan in Azure devops. I follow the same steps outlined here: https://video2.skills-academy.com/en-us/azure/devops/test/associate-automated-test-with-test-case?view=azure-devops I have been able…
visual studio,why some Method never show in hint list?
It took a long time to find out why the CheckAccess Can't use in my project, The reason is below. just want to know why? It's so unreasonable
Cant see typescript spec files in test explorer
I have solution with c# projects. On of these c# projects containt angular application. There are many tests files with tests. (sometest.spec.ts) - jasmine/karma is used. Problem is that in test explorer i can see only c# tests. I think that…
Gitlab Extension in Visual Studio
Is there any extension's for GitLab in Visual Studio 2022 community edition.
Can't find Targetserverversion as Sql server 2016 in VS 2022
Hi, I have SQL 2016 and VS2022, recently upgraded visual studio to VS2022 and trying to edit the package compatible with version 2016. But, I can't find the targetserverversion as SQL 2016, only I can see SQL 2017, 2019, 2022. Please suggest the…
Error on Visual Studio
System.Collections.Generic.KeyNotFoundException: Unable to find UniqueTest VSTestAdapter I needed assistance on this error. When I run Test Automation. The Test does not show me message about the test I am running.
Could not run Code Coverage with VS2019 Enterprise
I'm not able to run unit test with code coverage using Visual Studio 2019 Enterprise. I have Version 16.11.21 running on my system. Observed the following error message: Failed to set up the execution context to run the test
Azure Devops-Visual studio Test Task , Fails to recognize Automated Test cases from Test Suite
I Have some automated Test cases (with automated Tag) to be run from Pipeline by using a Visual studio test task. Test cases are maintained in a sperate test plan and if it is imported to the current testing plan , Automated testing will work If the same…
How to automate testing for WPF application and wcf services?
Hello! I want to test an WPF application in Visual Studio -Test Explorer, but nothing happens. Can you suggest an open source/ free application for automated tests which supports WPF and/ or WCF services? Best regards,
I keep getting a "Could not find the module Az.Accounts with given version." error with a very simple DevOps release pipelines
I'm testing a very simple release pipeline that simply copies part of a project's repo in Azure DevOps to an Azure Windows VM. I've gone through the Deployment Group setup several times, registering and installing the agent, along with installing the…
Could not load file or assembly 'Azure.Core, Version=1.0.2.0, Culture=neutral, PublicKeyToken=92742159e12e44c8' or one of its dependencies. The system cannot find the file specified
Describe the bug We are implementing some changes in our Web load test and performance testing project (in Visual Studio) to enable webtests to fetch passwords from an encrypted SQL DB by using master key stored in Azure key vault. For this we have…
Unit test cases failing for async method
Hi Team, I have one method like below. private async string ProcessMonitor_OnProcessStopped(object sender, ProcessDetails processDetails) { await Task.Delay(500); return "Value"; } and i am writing the unit test case for the above method. Since…
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
Breakpoint does not work during the test either with NUnit and MSTest. Visual Studio 2022, Net 6
Hi, I've created test project in my solution and when I want to debug my code set breakpoint it doesn't work when I click debug and it whole flow looks the same when I click run. I don't have idea what should I do. I tried everything what I found in…
HOW TO FIX THE EDIT AND CONTINUE OPTION IN C#? WHEN I PRESS START ITS NOT SHOWING OUTPUT
StreamJsonRpc.RemoteInvocationException: New debugging session can't be started until the existing one has ended. at StreamJsonRpc.JsonRpc.<InvokeCoreAsync>d__139`1.MoveNext() --- End of stack trace from previous location where exception was…
Modular programming, running an external application .exe from a menu item of my own app
Hi everybody, first at all, many thanks for reading my post. I’ve developed an application to graph mathematical functions and expressions. This application has been developed using Visual C++ ’22 in a Windows 10 environment. This has been implemented…
![](https://techprofile.blob.core.windows.net/images/oxdIwX36V0CrpXit8UL0kA.png?8D9A28)
Ejecutar WebAPI desde VisualStudio
Saludos a todos. Recientemente cree un proyecto ASP.NET Core Web API, la aplicación se creo sin problemas junto con el ejemplo Weatherforecast. Al ejecutarlo desde VisualStudio (F5) funciona perfecto, el navegador se levanta y se muestra la interfaz de…
TextPatternRange.GetText() UIAutomation throws AccessViolationException on Windows 11
TextPatternRange.GetText() method throws AccessViolationException on Windows 11 TextPatternRange is giving problem in Win 11 and working absolutely fine in Win10. Even we have updated our Win 11 to Edition Windows 11 Enterprise Version 22H2 Installed…
How do I Open Test Explorer with a Keyboard Shortcut?
Is there a way to open the Test Explorer window with a keyboard shortcut? I can't find this option.
How to exclude certain lines by regex in runsettings file
I have many asserts scattered around the codebase to check for invalid situations. I want to exclude them in code coverage reports but I have not figured out how to do so. In gcovr I can do something like --exclude-lines-by-pattern '.*assert.*'. It would…
Why I can't Fake-Mock "System" in .net core 6.0(VS Enterprise 2022)
Why I can't Fake-Mock "System" in .net core 6.0(VS Enterprise 2022), I don't know what happened? I was trying to use "using System.Fakes; " , But it alert "missing an assemly reference" after following …