Visual Studio 2022 won't connect to NuGet
Visual Studio 2022: [nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. An error occurred while sending the request. The underlying connection was closed: An unexpected error occurred on a send. Unable to read…
How do I enable docker for a .net application with dotnet cli/powershell?
Hi How do I enable docker for a .net application with dotnet cli/powershell? This is how I create my app: dotnet new sln -n blazortest dotnet new blazorserver -n blazortest dotnet sln add blazortest\blazortest.csproj How do I enable docker/Add docker…
Cannot reference System.Windows.Forms.DataVisualization in a console app
Hi, I'm in a Console App (.Net Framework) project and cant use windows.forms, I'm using a .Net Framework Console App because I was not able do it in a .Net Core app either. Specifically trying to call a class from…
NU1102: Unable to find package Microsoft.Extensions.Logging.Abstractions with version (>= 8.0.0)
I get a problem from Microsoft.Extensions.Logging.Abstractions version 8.0.0 I get this problem: "NU1102: Unable to find package Microsoft.Extensions.Logging.Abstractions with version (>= 8.0.0)". All I do is: $dotnet new console Demo1…
MSMQ in .NET 6
In.NET 6 (C# 10), I'm creating a console/worker service. In order to store and retrieve messages, I intend to use Microsoft Message Queuing. Like when one service queues up a message and another service retrieves it from the queue. Recently, I read that…
No Access to the PartsUnlimited website
Who can I discuss the pre-requisite below with? The site in the pre-requisites instructions does not exist. https://microsoft.github.io/PartsUnlimited/testing/200.5x-Testing-SeleniumCodedUITestinVS.html Pre-requisites: • Visual Studio 2017 …
cli in c# How to catch an error of a required option
var languageOption = new Option<string>("--language", "file path and name") { IsRequired = true }; אז איך אני עושה שאם המשתמש לא מקיש את השפה זה לא יזרוק לן הודעת שגיאה ברירת מחדל אלא הודעת שגיאה שאני אחליט
Deploy Azure function app with private endpoint results gateway error
I am trying to do ZIP deployment of azure function app that has private endpoint enabled. As a part of this, I created azure resources as follow: Function app with private endpoint enabled and disabled Allow public access on. Storage account with…
Restore Azure SQL Managed Instance DB from One Server to Another
All, I need to automate the restoration of a few databases from a higher environment to a lower environment in Azure SQL Managed Instance. The databases are hosted in two different resource groups under the same subscription. Is there an out-of-the-box…
how to post Stream as parameter to dllImport function?
If the c++ function need Stream? how to post it ?
Allow the all Azure APIs on my firewall or proxy server
Hi all, We would like to know required firewall/proxy settings for accessing Azure using all of APIs. Especially we would like to know which URLs should we allow in our firewall/proxy. We are going to use third-party product that is developed some of…
how to fix dotnet core build issue on new jenkins windows agent server
Hi Team, I'm building new jenkins agent on windows 2019 server for dotnet core build . the dotnet SDKs installed are same as old server which is working fine . but on new server the post build package microsoft.extensions.dependency.model.dll is…
Requested security protocol is not supported - at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
Hi, I am working on a project where I am using a .NET library in native C++ via C++/Clr. I can execute the code and the dialog from the .NET library starts correctly (https://www.bimcollab.com/en/resources/developers/developer-sdk/). But it seems that…
RTSP streams that use Media Foundation stop loading.
I'm writing an application that uses Media Foundation to read and parse RTSP streams. The stream will be in H.264 codec at 25 fps. I can get images using Media Foundation's SourceReader, but it stops at ReadSample() after about 1-2 minute. There's no…
Unable to start the Cloud Shell. not able to connect Cloud Shell. on azure portal
Not able to start Azure CLI ,not working on azure portal , please advise. this is the below error message Unable to start the Cloud Shell. Take a look at the troubleshooting guide.
How to find backup vaults for an Azure blob container and file share using AZ CLI?
I'm working on an automation project where I need to find the backup vaults configured for blob container and file share. I searched Microsoft documents but couldn't find anything to achieve my goal. Could anyone please help? Thanks.
Which tool can I use to see which DLLs a DLL contains?
https://learn.microsoft.com/en-us/sysinternals/downloads/listdlls Like this C:\Test\App\InterfaceSolutionCppWrapper\Debug>listdlls -v mfcclient Works not. Which tool can I use to see which third DLL contains which other DLLs and which version? How…
the outputData has some unrecognized text?
var processInfo = new ProcessStartInfo { FileName = "cmd.exe", Arguments = "", UseShellExecute = false, RedirectStandardError = true, RedirectStandardInput = true, RedirectStandardInput = true, …
Console StdOut ans StdErr redirection is only partial. Why and how to redirect full Console output to memory (stream, TextWriter, ...) ?
The problem occur in a WPF application. Console StdOut and StdErr redirection does not works for C++ library, it only works for C# code. This is code used to redirect in my WPF app: Outputter = new StreamWriter(@"C:\temp\test.txt"); …
Side by Side MAUI possible?
I am getting increasingly aggravated and defeated by this new distribution method. Basically from what I can tell, every release of the .NET SDK brings with it a new version of maui workloads that need to be installed via dotnet maui install / update /…