Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building 3.0 on Arch Linux #31037

Closed
adaggarwal opened this issue Oct 1, 2019 · 2 comments
Closed

Building 3.0 on Arch Linux #31037

adaggarwal opened this issue Oct 1, 2019 · 2 comments
Labels
area-Infrastructure-libraries untriaged New issue has not been triaged by the area owner

Comments

@adaggarwal
Copy link
Member

Tracking #7996

@mwaqasaziz
Copy link

mwaqasaziz commented Nov 19, 2019

ArchLinux with DeepIn Destro

Finally succeeded after 5 days of effort

Environment

Runtime and SDKs

Note:- it worked with out installing mono

$ dotnet --list-sdks
3.0.100 [/opt/dotnet/sdk]
3.1.100-preview3-014645 [/opt/dotnet/sdk]
$ dotnet --list-runtimes
Microsoft.AspNetCore.App 3.0.0 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.0-preview3.19555.2 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.0.0 [/opt/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.0-preview3.19553.2 [/opt/dotnet/shared/Microsoft.NETCore.App]

Omnisharp version and C# Version

OmniSharp server started.
Path: /home/user/.vscode/extensions/ms-vscode.csharp-1.21.7/.omnisharp/1.34.8-beta.17

installed dotnet core and visual studio from

this link installed all both runtime and sdk 3.1.100 preview
https://aur.archlinux.org/dotnet-core-preview.git
this link installed 3.0.0 runtime
https://aur.archlinux.org/dotnet-core-bin.git
this link installed 3.0.100 sdk
https://aur.archlinux.org/dotnet-sdk-bin.git

after installation i faced issue

project file not found

resolved by adding two environment variable to

~/.bashrc

using the command : sudo nano ~/.bashrc

after that file look like this

#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

export DOTNET_ROOT=/opt/dotnet/

export MSBuildSDKsPath=/opt/dotnet/sdk/3.1.100-preview3-014645/Sdks/

with this project not found exception was resolved but i faced new exception that

Sdk path not found

for that there is a file with path

/usr/bin/dotnet

that contained the following data

#!/bin/sh

export DOTNET_ROOT=/opt/dotnet
exec /opt/dotnet/dotnet "$@"

# vim: ts=2 sw=2 et:

i deleted this file and add a symlink to dotnet file path to /opt/dotnet/dotnet with following command

sudo ln -s /opt/dotnet/dotnet /usr/bin/dotnet

everything worked fine after words at-least my webapi worked fine

This link helped a lot
https://old.reddit.com/r/archlinux/comments/cx64r5/the_state_of_net_core_on_arch/

specially this part

image

@msftgits msftgits transferred this issue from dotnet/corefx Feb 1, 2020
@maryamariyan maryamariyan added the untriaged New issue has not been triaged by the area owner label Feb 23, 2020
@jkotas
Copy link
Member

jkotas commented Apr 6, 2020

Nothing actionable here. If it is still a problem, please create a new issue that describes the problem to fix.

@jkotas jkotas closed this as completed Apr 6, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-libraries untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

4 participants