You are not logged in.

#1 2019-01-26 18:41:14

zettymaster
Member
Registered: 2019-01-26
Posts: 3

[solved] IDEs not recognising dotnet executable

Hello and welcome to my first post in a forum ever, brace yourself for bad spelling and so on.

With that disclaimer out of the way, some background: I recently switched from Windows 10 to Arch and am not regretting it since (except for some games, which is OK, and the problem I am here about). My PC should be powerful enough to handle most I throw at it (i7, 32GB RAM, SSDs, GTX1080).

Now to the problem at hand: I wanted to programm some C#, .NET Core stuff to be exact, and installing the dotnet-sdk worked (via pacman) and i also installed the aspnet-runtime for good measure. using it from the command line is working. however I noticed VS Code, Rider and MonoDevelop not recognizing it correctly. Code won't debug, just build, Rider and MonoDevelop flat out refuse to see it as installed.

What I tried:
- reinstalling dotnet
- pointing MonoDevelop and Rider to the executable, that is present in /usr/bin (dotnet)

Some infos:

dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   2.2.100
Commit:    b9f2fa0ca8

Runtime Environment:
OS Name:     arch
OS Version: 
OS Platform: Linux
RID:         arch-x64
Base Path:   /opt/dotnet/sdk/2.2.100/

Host (useful for support):
  Version: 2.2.0
  Commit:  1249f08fed

.NET Core SDKs installed:
  2.2.100 [/opt/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.NETCore.App 2.2.0 [/opt/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Last edited by zettymaster (2019-01-26 21:02:57)

Offline

#2 2019-01-26 19:08:45

zettymaster
Member
Registered: 2019-01-26
Posts: 3

Re: [solved] IDEs not recognising dotnet executable

Well nevermind my stupidity: it is solved by pointing it to the dotnet executable in /opt/dotnet

Offline

#3 2019-01-26 19:32:27

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [solved] IDEs not recognising dotnet executable

Please mark the thread as solved by prepending [solved] to the thread title.

Offline

Board footer

Powered by FluxBB