Questions tagged [dotnet]
The dotnet tag has no summary.
25 questions
1 vote
1 answer
163 views
Linux 24.04.1 LST, NugetCommand@2 stop working
I have a DevOps issue while publishing packages. I am a user of Azure-Repository, Azure-CI, and Azure-Artifacts. I have defined an Organization with 7 projects, one assigned for storing artifacts in ...
0 votes
0 answers
18 views
Dat file not apply to an older version of my production database
I have a docker compose file like this, it will create 2 containerized app tsm and redis, the tsm app will link with redis, the database script will apply update to the database. services: tsm: ...
0 votes
1 answer
177 views
dotnet-monitor v5 works ok but v8 can't find processes in AKS Kubernetes
I am having a weird issue with dotnet-monitor. One of our developers asked me to prepare in our AKS cluster a dotnet-monitor pod to assess memory counsumption issues with our application. I went with ...
1 vote
2 answers
535 views
Docker gets stuck when running 16 tests
I'm running my dotnet 7.0 tests using "testcontainers" on windows machine. The tests are parallelized integration tests which use SQL Server inside a Linux docker container. Each test ...
1 vote
0 answers
387 views
How to combine multiple projects on publish into one folder in .NET, with ready to run and standalone?
I'm working on a solution containing multiple projects outputting executables (Avalonia Apps) and they need to be distributed within one artifact. I'm using centralized package management to ensure ...
0 votes
1 answer
252 views
MAUI build failing with "Microsoft.Android.Sdk.Tooling.targets(20,5): error XA0031: Java SDK 11.0 or above is required when using .NET 6 or higher"
We have an existing Azure DevOps build pipeline that was working fine until today, 20th November 2023. We have noticed that the previous successful build was using MSBuild version 17.7.3. Today it's ...
1 vote
2 answers
374 views
Using docker as a substitute for VM for testing
I'm new to docker and I want to start using it in the following scenario. For example, I need to implement an Asp.Net Core Web API and deploy it to a linux system. The development is done on a Windows ...
0 votes
2 answers
2k views
TeamCity run step in docker
I'm trying to set up TeamCity to run tests on a .NET project. I have installed TeamCity and its agent (with access to docker) using docker compose : teamcity: image: jetbrains/teamcity-server ...
0 votes
1 answer
1k views
access secret Azure DevOps environment variables in SpecFlow tests
I have a SpecFlow test suite running some Selenium UI tests for our web app in ADO, and we need to access some sensitive information to be able to log in to various places. They are currently stored ...
0 votes
1 answer
306 views
Liveness Probe through C# code giving error
I am trying to implement liveness probe through C# code (.Net core framework). I simply want to run a curl command inside container like this . Below is the code snippet using kubernetesClient: IList&...
-2 votes
2 answers
81 views
Code Changes for Implementing Kubernetes Probes
I want to implement Kubernetes Liveliness Probes in my .Net core application with C# language. I understood that first I need to define the liveliness probe in deployment.yaml file of my application. ...
0 votes
1 answer
80 views
How to check application responding in Kubernetes
I am a newbie in k8s. I have a .net framework application written in C# running in K8s orchestration. I simply want to check in fixed interval (lets say in every 300sec) that my application which is ...
1 vote
1 answer
3k views
How to see previous version of a Docker image?
I am looking for a netframework Docker image with .net 4.7.2 and netcoreapp2.2. I searched on the main docker website: DockerHub, .NET Framework By Microsoft without success. I also check the ...
1 vote
1 answer
648 views
Setting up CI/CD for an AWS CDK app using AWS CodeBuild/Deploy/Pipeline
I'm trying to setup a CI/CD pipeline for a dotnet app which uses AWS Lambda and AWS CDK for infrastructure. The source is on github and we have a Jenkins pipeline which runs the tests and publishes ...
2 votes
1 answer
997 views
Azure Devops: Filter Test Projects in Nuget Build Pipeline
I'm working on a nuget build pipeline. My problem is that my integration test project is being packaged and deployed to the azure artifacts, while my unit test projects are not. The integration test ...