Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install .NET framework Developer Pack on Fedora Linux

I'm developing an existing .NET core app. I use Windows and Visual Studio at work (and I was not the one setting up that environment). But am trying to also set up an environment so I can develop from my personal laptop, where I use Fedora 29.

When building the application - dotnet restore && dotnet build - I get this error:

error

I can see the dev pack can be downloaded here, but that's an .exe - how do I install it on Fedora Linux?

I suppose that re-targeting the application is not an option there are multiple people working on it - or maybe I could do that locally without committing the changes to shared repo?

Or is there some other workaround?

like image 686
Michal Kurz Avatar asked Sep 21 '25 07:09

Michal Kurz


1 Answers

As @Hostel noted, those are references for the older .Net frameworks that run only on Windows. You will likely need to refactor the application to use solely .Net Core libraries, possibly in a separate repo as you suggested to avoid breaking your co-workers' code.

like image 190
8bg Avatar answered Sep 22 '25 20:09

8bg