# C#

**URL:** https://travis-ci.community/c/languages/37-category/37.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [About the C# category](https://travis-ci.community/t/about-the-c-category/734)

<div class="topic-metadata">

**Author:** [@kris](https://travis-ci.community/u/kris)\
**Replies:** 0

</div>

C# is a Community Maintained Language, handled by our Community Language Ambassadors. More details to follow.

---

## [.NET 10 support](https://travis-ci.community/t/net-10-support/14806)

<div class="topic-metadata">

**Author:** [@philipmat](https://travis-ci.community/u/philipmat)\
**Replies:** 0\
**Last updated:** [June 29, 2026, 3:57pm UTC](https://travis-ci.community/t/net-10-support/14806 "2026-06-29T15:57:56Z")

</div>

I’m trying to build a .NET 10 project ( language:csharp ) and I’ve tried multiple distros (focal, jammy, noble) but they all fail with: 10.0 is either an invalid version of dotnet or unsupported on this operating system…

---

## [Download and Execute Choco Simply fails With no Reason](https://travis-ci.community/t/download-and-execute-choco-simply-fails-with-no-reason/14633)

<div class="topic-metadata">

**Author:** [@ghsroriz](https://travis-ci.community/u/ghsroriz)\
**Replies:** 1\
**Last updated:** [May 19, 2025, 6:39pm UTC](https://travis-ci.community/t/download-and-execute-choco-simply-fails-with-no-reason/14633 "2025-05-19T18:39:41Z")

</div>

I’m trying to run the following docker file, on deployment step of Travis: FROM mcr.microsoft.com/windows/servercore:ltsc2019 SHELL \["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'Si…

---

## [Travis throwing 127 error code and handshake error with dotnet 6](https://travis-ci.community/t/travis-throwing-127-error-code-and-handshake-error-with-dotnet-6/13818)

<div class="topic-metadata">

**Author:** [@sbansal](https://travis-ci.community/u/sbansal)\
**Replies:** 1\
**Last updated:** [August 1, 2023, 12:05am UTC](https://travis-ci.community/t/travis-throwing-127-error-code-and-handshake-error-with-dotnet-6/13818 "2023-08-01T00:05:41Z")

</div>

@joshua-anderson @akoeplinger I am using dist: bionic and trying to install dotnet 6 on the travis server using the curl command: before\_install: curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s – -Version 3.…

---

## [Build fails on .NET 4.6.1 project using new csproj sdk format](https://travis-ci.community/t/build-fails-on-net-4-6-1-project-using-new-csproj-sdk-format/13005)

<div class="topic-metadata">

**Author:** [@GlitchyPSI](https://travis-ci.community/u/GlitchyPSI)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 8:58pm UTC](https://travis-ci.community/t/build-fails-on-net-4-6-1-project-using-new-csproj-sdk-format/13005 "2022-05-23T20:58:29Z")

</div>

Specifically: /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2101,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.6.1-api/mscorlib.dll". Could not load file or…

---

## [OpenQA.Selenium.WebDriverException : unknown error: Chrome failed to start: crashed](https://travis-ci.community/t/openqa-selenium-webdriverexception-unknown-error-chrome-failed-to-start-crashed/12671)

<div class="topic-metadata">

**Author:** [@ponselvamsakthivel](https://travis-ci.community/u/ponselvamsakthivel)\
**Replies:** 1\
**Last updated:** [February 15, 2022, 11:32am UTC](https://travis-ci.community/t/openqa-selenium-webdriverexception-unknown-error-chrome-failed-to-start-crashed/12671 "2022-02-15T11:32:24Z")

</div>

Hi, I am trying to do the dotnet-selenium test automation. Here, i can do the build with Msbuild. but while i am trying to run the test using mono. i am getting the error. please find the pic below, Google chrome is…

---

## [Build doesn't find .NET SDK even though it's installed](https://travis-ci.community/t/build-doesnt-find-net-sdk-even-though-its-installed/12181)

<div class="topic-metadata">

**Author:** [@zaze06](https://travis-ci.community/u/zaze06)\
**Replies:** 2\
**Last updated:** [September 28, 2021, 3:42pm UTC](https://travis-ci.community/t/build-doesnt-find-net-sdk-even-though-its-installed/12181 "2021-09-28T15:42:37Z")

</div>

ok so I have change to .net 5 because i only used .net 6 because it was downloaded. But I still get an error about .net 5 so where may the problem be now? error /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.Curren…

---

## [Travis cant build my project because of not being able to find .net 6](https://travis-ci.community/t/travis-cant-build-my-project-because-of-not-being-able-to-find-net-6/12178)

<div class="topic-metadata">

**Author:** [@zaze06](https://travis-ci.community/u/zaze06)\
**Replies:** 5\
**Last updated:** [September 28, 2021, 4:48am UTC](https://travis-ci.community/t/travis-cant-build-my-project-because-of-not-being-able-to-find-net-6/12178 "2021-09-28T04:48:11Z")

</div>

Hi i have just started using travis to test build my project on github but it keeps failing becus of it cant find .net 6 error from log /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(1193,5):…

---

## [Dotnet package is not found on packages.microsoft.com](https://travis-ci.community/t/dotnet-package-is-not-found-on-packages-microsoft-com/11736)

<div class="topic-metadata">

**Author:** [@Coding-Enthusiast](https://travis-ci.community/u/Coding-Enthusiast)\
**Replies:** 2\
**Last updated:** [June 18, 2021, 10:54am UTC](https://travis-ci.community/t/dotnet-package-is-not-found-on-packages-microsoft-com/11736 "2021-06-18T10:54:56Z")

</div>

My build is failing since the dotnet package can not be fetched (previous ones were fine), checking the URL it returns 404 Not Found. Example: https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/d/dotnet-runtime-…

---

## [Unable to find package Nuget (all of them)](https://travis-ci.community/t/unable-to-find-package-nuget-all-of-them/11425)

<div class="topic-metadata">

**Author:** [@maryus04](https://travis-ci.community/u/maryus04)\
**Replies:** 0\
**Last updated:** [April 8, 2021, 3:07pm UTC](https://travis-ci.community/t/unable-to-find-package-nuget-all-of-them/11425 "2021-04-08T15:07:58Z")

</div>

Working build: https://travis-ci.com/github/Vrazo/vrazo3/jobs/496994384 Failing build: https://travis-ci.com/github/Vrazo/vrazo3/jobs/495863899 The agent is unable to download any NuGet package. @Joshua-Anderson @ak…

---

## [Is .NET 5 support coming?](https://travis-ci.community/t/is-net-5-support-coming/11040)

<div class="topic-metadata">

**Author:** [@sqlshoot](https://travis-ci.community/u/sqlshoot)\
**Replies:** 3\
**Last updated:** [February 9, 2021, 4:10pm UTC](https://travis-ci.community/t/is-net-5-support-coming/11040 "2021-02-09T16:10:07Z")

</div>

Hello Is .NET 5 support on the cards? I’d like a .travis.yml like this to work: language: csharp mono: none dotnet: 5.0.2 script: - dotnet restore - dotnet build

---

## [Installing Mono takes very long](https://travis-ci.community/t/installing-mono-takes-very-long/6919)

<div class="topic-metadata">

**Author:** [@Mailaender](https://travis-ci.community/u/Mailaender)\
**Replies:** 2\
**Last updated:** [January 24, 2021, 12:05am UTC](https://travis-ci.community/t/installing-mono-takes-very-long/6919 "2021-01-24T00:05:19Z")

</div>

The compilation and test of the projects usually take seconds locally, but may take several minutes on Travis CI. Most of the time is used on installing Mono every time. It seems wasteful of the build server resources.

---

## [Travis 'focal' dist is missing .net core / .net 5.0](https://travis-ci.community/t/travis-focal-dist-is-missing-net-core-net-5-0/10552)

<div class="topic-metadata">

**Author:** [@chronoxor](https://travis-ci.community/u/chronoxor)\
**Replies:** 2\
**Last updated:** [January 20, 2021, 9:14pm UTC](https://travis-ci.community/t/travis-focal-dist-is-missing-net-core-net-5-0/10552 "2021-01-20T21:14:35Z")

</div>

I tried to migrate my .NET Core build from ‘bionic’ to ‘focal’ and get error: C# support for Travis-CI is community maintained. Please open any issues at C# - Travis CI Community and cc @joshua-anderson @akoeplinger …

---

## [Error occurred: The path specified in the "TestAdapterPath" is invalid](https://travis-ci.community/t/error-occurred-the-path-specified-in-the-testadapterpath-is-invalid/10976)

<div class="topic-metadata">

**Author:** [@holailusoria](https://travis-ci.community/u/holailusoria)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 7:31am UTC](https://travis-ci.community/t/error-occurred-the-path-specified-in-the-testadapterpath-is-invalid/10976 "2021-01-08T07:31:31Z")

</div>

Test run for /home/travis/build/Backendless/.NET-SDK/Projects/TestProject/bin/Debug/netcoreapp2.0/TestProject.dll(.NETCoreApp,Version=v2.0) CopyFilesToOutputDirectory: TestProject -\> /home/travis/build/Backendless/.NET…

---

## [Bionic distribution always loads as Xenial](https://travis-ci.community/t/bionic-distribution-always-loads-as-xenial/10913)

<div class="topic-metadata">

**Author:** [@jrshoare](https://travis-ci.community/u/jrshoare)\
**Replies:** 1\
**Last updated:** [December 28, 2020, 5:15pm UTC](https://travis-ci.community/t/bionic-distribution-always-loads-as-xenial/10913 "2020-12-28T17:15:59Z")

</div>

I need to use Bionic in my build as a dependency library is too early a version in Xenial. Despite my config requesting dist: bionic the runtime environment is always Xenial. See here for an example of this. What do I …

---

## [C# Build Failing with F# Errors, Even When Project Does Not Use F#](https://travis-ci.community/t/c-build-failing-with-f-errors-even-when-project-does-not-use-f/10805)

<div class="topic-metadata">

**Author:** [@rabidkitten](https://travis-ci.community/u/rabidkitten)\
**Replies:** 0\
**Last updated:** [December 10, 2020, 5:05pm UTC](https://travis-ci.community/t/c-build-failing-with-f-errors-even-when-project-does-not-use-f/10805 "2020-12-10T17:05:48Z")

</div>

When building my project, it is failing with the error: The command “sudo apt-get install -qq mono-complete mono-vbnc fsharp nuget referenceassemblies-pcl” failed and exited with 100 during A few lines above that, it…

---

## [Dotnet core 2.2](https://travis-ci.community/t/dotnet-core-2-2/1216)

<div class="topic-metadata">

**Author:** [@0Lucifer0](https://travis-ci.community/u/0Lucifer0)\
**Replies:** 27\
**Last updated:** [October 16, 2020, 5:15am UTC](https://travis-ci.community/t/dotnet-core-2-2/1216 "2020-10-16T05:15:50Z")

</div>

Seems like dotnet core 2.2 was released today. But we are getting a The command “sudo apt-get install -qq dotnet-sdk-2.2” failed and exited with 100 during . Can we please add dotnet core 2.2

---

## [Build failed for Core 3.1 and 3.1.102](https://travis-ci.community/t/build-failed-for-core-3-1-and-3-1-102/7581)

<div class="topic-metadata">

**Author:** [@oreleraki](https://travis-ci.community/u/oreleraki)\
**Replies:** 3\
**Last updated:** [October 16, 2020, 3:57am UTC](https://travis-ci.community/t/build-failed-for-core-3-1-and-3-1-102/7581 "2020-10-16T03:57:41Z")

</div>

Tests keep on failing i’ve tried 3.1 and 3.1.102 and still fails. Build config: https://travis-ci.org/github/oreleraki/IrcDotNet/jobs/662483618/config?utm\_medium=notification&utm\_source=github\_status

---

## [Could not resolve this reference. Could not locate the assembly "PresentationCore"](https://travis-ci.community/t/could-not-resolve-this-reference-could-not-locate-the-assembly-presentationcore/10141)

<div class="topic-metadata">

**Author:** [@chucklu](https://travis-ci.community/u/chucklu)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 10:03am UTC](https://travis-ci.community/t/could-not-resolve-this-reference-could-not-locate-the-assembly-presentationcore/10141 "2020-10-12T10:03:58Z")

</div>

The build failed here https://travis-ci.org/github/ChuckHearthstone/CardQuery/builds/734951387 Could not resolve this reference. Could not locate the assembly “PresentationFramework”. Check to make sure the assembly exi…

---

## [Build fails due to AxImp.exe missing](https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832)

<div class="topic-metadata">

**Author:** [@tryallthethings](https://travis-ci.community/u/tryallthethings)\
**Replies:** 4\
**Last updated:** [September 6, 2020, 10:33pm UTC](https://travis-ci.community/t/build-fails-due-to-aximp-exe-missing/9832 "2020-09-06T22:33:52Z")

</div>

@joshua-anderson @akoeplinger Hello, I just added a new repo to Travis and re-used my .travis.yml from another C# project and just updated the .sln filename. But the new repo build always fails due to AxImp.exemissing …

---

## [The command "nuget install NUnit.Console -Version 3.9.0 -OutputDirectory testrunner" failed and exited with 127 during](https://travis-ci.community/t/the-command-nuget-install-nunit-console-version-3-9-0-outputdirectory-testrunner-failed-and-exited-with-127-during/9508)

<div class="topic-metadata">

**Author:** [@fszymaniak](https://travis-ci.community/u/fszymaniak)\
**Replies:** 0\
**Last updated:** [August 2, 2020, 6:34pm UTC](https://travis-ci.community/t/the-command-nuget-install-nunit-console-version-3-9-0-outputdirectory-testrunner-failed-and-exited-with-127-during/9508 "2020-08-02T18:34:47Z")

</div>

Hello, I was creating my travis.yml basing on the documentation to add nunit to the travis.yml: Unfortunately error The command "nuget install NUnit.Console -Version 3.9.0 -OutputDirectory testrunner" failed and ex…

---

## [Can mono run xunit 2.0+ now?](https://travis-ci.community/t/can-mono-run-xunit-2-0-now/2775)

<div class="topic-metadata">

**Author:** [@imba-tjd](https://travis-ci.community/u/imba-tjd)\
**Replies:** 2\
**Last updated:** [July 29, 2020, 12:11pm UTC](https://travis-ci.community/t/can-mono-run-xunit-2-0-now/2775 "2020-07-29T12:11:05Z")

</div>

The doc says there is a bug in mono, but the PR was merged in 2015. Actually I’m having errors using xunit 2.4.1 on mono and don’t know how to fix. nuget restore LeetCode.csproj nuget install xunit.runner.console msbui…

---

## [Can't install .net core 3.1 on xenial](https://travis-ci.community/t/cant-install-net-core-3-1-on-xenial/9112)

<div class="topic-metadata">

**Author:** [@itaibh](https://travis-ci.community/u/itaibh)\
**Replies:** 5\
**Last updated:** [June 25, 2020, 5:54am UTC](https://travis-ci.community/t/cant-install-net-core-3-1-on-xenial/9112 "2020-06-25T05:54:14Z")

</div>

@joshua-anderson @akoeplinger @nterry Installing .NET Core $ export DOTNET\_SKIP\_FIRST\_TIME\_EXPERIENCE=1 $ export DOTNET\_CLI\_TELEMETRY\_OPTOUT=1 10.22s0.35sE: Unable to locate package dotnet-sdk-3.1 E: Couldn't find any p…

---

## [Not able to install .Net Core 3](https://travis-ci.community/t/not-able-to-install-net-core-3/5562)

<div class="topic-metadata">

**Author:** [@Programazing](https://travis-ci.community/u/Programazing)\
**Replies:** 7\
**Last updated:** [June 24, 2020, 11:01am UTC](https://travis-ci.community/t/not-able-to-install-net-core-3/5562 "2020-06-24T11:01:17Z")

</div>

Installing .NET Core $ export DOTNET\_SKIP\_FIRST\_TIME\_EXPERIENCE=1 $ export DOTNET\_CLI\_TELEMETRY\_OPTOUT=1 25.31s0.46sE: Unable to locate package dotnet-sdk-3.0 E: Couldn’t find any package by glob ‘dotnet-sdk-3.0’ E…

---

## [Multi target both .net core 2.1 and 3.1?](https://travis-ci.community/t/multi-target-both-net-core-2-1-and-3-1/8271)

<div class="topic-metadata">

**Author:** [@AnderssonPeter](https://travis-ci.community/u/AnderssonPeter)\
**Replies:** 2\
**Last updated:** [May 27, 2020, 10:44am UTC](https://travis-ci.community/t/multi-target-both-net-core-2-1-and-3-1/8271 "2020-05-27T10:44:09Z")

</div>

Hi I’m trying to build a library for both 2.1 and 3.1. I have the following .travis.yml language: csharp mono: none dotnet: - 3.1 - 2.1 install: - dotnet restore script: - dotnet build - dotnet test And i g…

---

## [Possible disabling of welcome message in .net core 3.1.300](https://travis-ci.community/t/possible-disabling-of-welcome-message-in-net-core-3-1-300/8772)

<div class="topic-metadata">

**Author:** [@gdziadkiewicz](https://travis-ci.community/u/gdziadkiewicz)\
**Replies:** 0\
**Last updated:** [May 27, 2020, 1:21am UTC](https://travis-ci.community/t/possible-disabling-of-welcome-message-in-net-core-3-1-300/8772 "2020-05-27T01:21:34Z")

</div>

Hi @joshua-anderson @akoeplinger , Currently .net core 3.1 builds suffer from the annoying, log polluting welcome message (see example - https://travis-ci.org/github/gdziadkiewicz/FSharpx.Extras/jobs/691550830#L166-L177)…

---

## [Dotnet restore failed on .net core 3.1](https://travis-ci.community/t/dotnet-restore-failed-on-net-core-3-1/8690)

<div class="topic-metadata">

**Author:** [@bencematyasi](https://travis-ci.community/u/bencematyasi)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 1:01am UTC](https://travis-ci.community/t/dotnet-restore-failed-on-net-core-3-1/8690 "2020-05-27T01:01:45Z")

</div>

I have a microservices based application with one solution but it has several projects - 5 exactly. I have some test that I’d like to build in Travis CI, however I’m getting The command "dotnet restore" failed and exite…

---

## [Build failed for ASP.NET Core 3.1](https://travis-ci.community/t/build-failed-for-asp-net-core-3-1/8582)

<div class="topic-metadata">

**Author:** [@stanislavstoyanov99](https://travis-ci.community/u/stanislavstoyanov99)\
**Replies:** 0\
**Last updated:** [May 13, 2020, 12:36pm UTC](https://travis-ci.community/t/build-failed-for-asp-net-core-3-1/8582 "2020-05-13T12:36:36Z")

</div>

I cannot build my ASP.NET Core 3.1 application and after several unsuccessfull attempts I think it’s time to figure out with the community what’s the problem. Build: https://travis-ci.org/github/stanislavstoyanov99/Cine…

---

## [Deploy to Windows Plesk with msbuild](https://travis-ci.community/t/deploy-to-windows-plesk-with-msbuild/8020)

<div class="topic-metadata">

**Author:** [@mmanna3](https://travis-ci.community/u/mmanna3)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 8:47pm UTC](https://travis-ci.community/t/deploy-to-windows-plesk-with-msbuild/8020 "2020-04-06T20:47:02Z")

</div>

Hi! I have an ASP.NET project with this .travis.yml working like a charm. language: csharp solution: LigaSoft.sln install: - cd Liga - curl -L -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe…

---

## [Snap not authorized installing Amazon.Lambda.Tools](https://travis-ci.community/t/snap-not-authorized-installing-amazon-lambda-tools/7889)

<div class="topic-metadata">

**Author:** [@erwan-joly](https://travis-ci.community/u/erwan-joly)\
**Replies:** 0\
**Last updated:** [March 30, 2020, 7:07am UTC](https://travis-ci.community/t/snap-not-authorized-installing-amazon-lambda-tools/7889 "2020-03-30T07:07:54Z")

</div>

Since about a week a working yml file is know failing to install… https://github.com/NosCoreIO/NosCoreLambdas/blob/master/.travis.yml seems like there was a change on how snap works 0.12s$ dotnet tool install -g Amaz…

[Next page](https://travis-ci.community/c/languages/37-category/37.md?page=1)
