# Build doesn't find .NET SDK even though it's installed

**URL:** https://travis-ci.community/t/build-doesnt-find-net-sdk-even-though-its-installed/12181
**Category:** C#
**Created:** [September 28, 2021, 6:05am UTC](https://travis-ci.community/t/build-doesnt-find-net-sdk-even-though-its-installed/12181 "2021-09-28T06:05:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zaze06](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/zaze06/32/7204_2.png) [@zaze06](https://travis-ci.community/u/zaze06)
#### Post date: [September 28, 2021, 6:05am UTC](https://travis-ci.community/t/build-doesnt-find-net-sdk-even-though-its-installed/12181/1 "2021-09-28T06:05:28Z")

</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

```auto
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(1193,5): error MSB3644: The reference assemblies for .NETFramework,Version=v5.0.401 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/home/travis/build/zaze06/TextGame/Game.csproj]

```

full log  
[travis log (github.com)](https://gist.github.com/zaze06/3021e4f0994f7fb258a783c4465c81a6)

---

<div class="post-metadata">

### Author: ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)
#### Post date: [September 28, 2021, 9:41am UTC](https://travis-ci.community/t/build-doesnt-find-net-sdk-even-though-its-installed/12181/2 "2021-09-28T09:41:51Z")

</div>

[https://gist.github.com/zaze06/3021e4f0994f7fb258a783c4465c81a6#file-travis-log-L235-L236](https://gist.github.com/zaze06/3021e4f0994f7fb258a783c4465c81a6#file-travis-log-L235-L236):

> travis\_fold:start:mono-install  
> e[0Ke[33;1mInstalling Monoe[0m

[https://gist.github.com/zaze06/3021e4f0994f7fb258a783c4465c81a6#file-travis-log-L1917](https://gist.github.com/zaze06/3021e4f0994f7fb258a783c4465c81a6#file-travis-log-L1917):

> [?1he=e[6ne[He[2JMSBuild auto-detection: using msbuild version ‘15.0’ from ‘/usr/lib/mono/msbuild/15.0/bin’

You didn’t disable Mono installation.

---

<div class="post-metadata">

### Author: ![zaze06](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/zaze06/32/7204_2.png) [@zaze06](https://travis-ci.community/u/zaze06)
#### Post date: [September 28, 2021, 3:42pm UTC](https://travis-ci.community/t/build-doesnt-find-net-sdk-even-though-its-installed/12181/3 "2021-09-28T15:42:37Z")

</div>

works now thx
