Publishing with x64 runtimeidentifier (windows 11 framework), on arm64 machine
I've been trying to publish my .net maui application (sideloaded MSI), such that it would run on a Windows x64 machine. My development machine is a MacBook Pro (m3 chip), but I'm running a windows 11 VM (using parallels) - which (I believe) creates an…
Why does my .NET8 web API app throw FileNotFoundException: Could not load file or assembly ***.dll when accessing C++/CLI dll in Docker?
I need to use the .NET CLI in my .NET C# web application. I created a basic app for troubleshooting https://github.com/v-klepko/Sandbox When I run it locally on my machine it works without issues. However, when I run the app in a Windows OS Docker…
Error in building .net source code with msbuild or visual studio with proxy
I am having issue in building a source code . It uses nuget public repo and private . both of them fails to build and gives error of certificate . i have tried adding config in nuget.config file but unable to find path to solution . Here is msbuild…
Error in building .net source code in visual studio with proxy in virtual machine
I am having issue in building a source code. It uses nuget public repo and private. both of them fails to build and gives error of certificate. Package 'System.Security.Cryptography.Csp 4.3.0' from source 'https://api.nuget.org/v3/index.json': SHA256…
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…
C++/CLI dll could not be loaded in WinUI3 app
When I called (i.e. instanciated) my class object (e.g. MyTest) which is declared as a managed class in my C++/CLI dll, I saw the following error: System.IO.FileNotFoundException: 'Could not load file or assembly <MyTest>' I am sure that the…
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…
Azure CLI ERROR when add extensions: An error occurred. Pip failed with status code 1
Hi everyone I'm trying to add extensions in Azure CLI with the command: az extension add --name subscription however I get the following message: An error occurred. Pip failed with status code 1. Use --debug for more information. Here the debug…
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…