Questions tagged [dotnet]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 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 ...
Bizhan's user avatar
  • 101
0 votes
0 answers
10 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 ...
yan.kun's user avatar
  • 101
0 votes
0 answers
4 views

GitHub Variables not available in .NET test file

I wrote some F# tests with NUnit, all of them pass just fine when I run them locally. The project is also uploaded on GitHub, there the paths are incorrect. I wrote as well tests in PowerShell ...
Alex_P's user avatar
  • 101
0 votes
1 answer
111 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 ...
James McCormack's user avatar
0 votes
2 answers
73 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 ...
Max's user avatar
  • 101
0 votes
0 answers
34 views

Azure App Services configration microservice

I'm trying to upload a specific microservice from my application to Azure, but it always deploys to a previous microservice, which was already deployed (the first one created). How should I configure ...
José's user avatar
  • 1
0 votes
0 answers
1k views

Build Docker container for ARM64

I am trying to have a Blazor app developped with .NET 7 being containerized. It eventually targets ARM64 (Raspberry Pi). I need to have the image created when the code is pushed to a GitHub repo. ...
UchiTesting's user avatar
0 votes
2 answers
1k 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 ...
Ombrelin's user avatar
  • 101
0 votes
1 answer
640 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 ...
Jeremy Meadows's user avatar
0 votes
1 answer
240 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&...
solveit's user avatar
  • 105
-2 votes
2 answers
49 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. ...
solveit's user avatar
  • 105
0 votes
1 answer
44 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 ...
solveit's user avatar
  • 105
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 ...
aloisdg's user avatar
  • 113
1 vote
1 answer
604 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 ...
theabrar's user avatar
2 votes
1 answer
858 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 ...
Josh's user avatar
  • 133
1 vote
1 answer
110 views

dotnet not found on travis for an F# project

I'm new to both travis and this website, so please bear with me ;). I've been trying to set it up to work with my GH project. The repo is visible on travis side, but I get the following error while ...
LA.27's user avatar
  • 131
1 vote
1 answer
1k views

Jenkins slave not able to find dotnet

When I check for dotnet version it is throwing an error D:\jenkins\workspace\csharp-windows-test>dotnet --version 17:58:06 System.ArgumentNullException: Value cannot be null. 17:58:06 Parameter ...
dingcoder's user avatar
4 votes
0 answers
670 views

How to automate unit testing a UWP app? [closed]

I have a Universal Windows Platform (UWP) application, but I am having trouble testing it. First off, there seems to be some issue with running MSTest in the latest versions of Visual Studio (...
Nathan Strutz's user avatar
2 votes
1 answer
85 views

Build / Deployment process for .Net/Mulesoft/Oracle stack

I have the following challenge to streamline and setup a development process. The program runs simultaneously, and each one has its own timeline for release, as follows: Program 1 Program 2 Program ...
Brijesh N K's user avatar
2 votes
0 answers
118 views

Building multiple projects into one directory in VS and/or .NET Core [closed]

I've got a project which consists of a number of executables and a lot of common libraries. Also lots of NuGet dependencies involved. I want to output them into one folder. How to be sure that all ...
norekhov's user avatar
  • 121
5 votes
1 answer
65 views

Docker's value and scenarios in native Windows environment

AFAIK, typically Windows enterprise stack components are quite monolitic services, like Windows IIS and MS SQL Server. Still, there are "Windows containers". Are they indeed runnable in containers ...
Ta Mu's user avatar
  • 6,812
1 vote
2 answers
747 views

Octopus Deployment - only deploy some specific folders

We are using Octopus for our deployment to different environments. But we found that it always packages the complete solution and deploys it to the next level. Is it possible to put some restrictions -...
Amit Gaurav's user avatar
7 votes
2 answers
1k views

Best way of binary repository for .NET projects

I am very to new to .NET projects and I am wondering which is the best tool to store binaries of .NET project. How good to store binaries of .NET projects in artifactory and why? can some one answer ...
pandey's user avatar
  • 949
6 votes
1 answer
4k views

Continuous Integraton using Jenkins Pipeline for a .NET project

The project: A .NET standalone application consisting in: The main application that is a Windows Service containing a web server used for the web interface. Project is 90% .NET (Framework, Standard ...
Cosmin's user avatar
  • 169
8 votes
3 answers
1k views

Automation and the .NET framework which tools to use?

I am aware of the de facto and popular tool choices for various programming languages such as Go, NodeJS, Java, Python etc. However, I do not know what toolchain is reasonable or even (hot) in the ....
Steiniche's user avatar