Questions tagged [dotnet]

Questions relating to the .NET framework, its open source implementation *mono* and the relevant programming languages.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

dot net sdk 5.0 on ubuntu

I've found and used this : https://github.com/dotnet/core/blob/master/release-notes/5.0/preview/5.0.0-rc.2-install-instructions.md to no avail. I can't get a install of .net sdk 5.0 on ubuntu I try ...
0
votes
0answers
14 views

How can I upgrade or install the dotnet core version 4.0 on Ubuntu 18.04 (VPS server) via SSH?

My current dotnet version is 3.1. One of the applications requires dotnet version 4.0. So I have searched on Google how can I install this version on Ubuntu using the SSH on VPS server, but I could ...
0
votes
0answers
29 views

Run dotnet core on Ubuntu 20.4

I just shifted to ubuntu and I am trying to run dotnet core 3.1 project on Ubuntu. I successfully installed dotnet core sdk. But when i go to the folder in a separate mounted disk and run command ...
0
votes
0answers
34 views

“dotnet lambda” fails on Ubuntu

dotnet lambda fails asking for libhostfxr.so on Ubuntu: dima@ubu:~/proj $ dotnet lambda A fatal error occurred. The required library libhostfxr.so could not be found. If this is a self-contained ...
0
votes
2answers
91 views

Install latest version of dotnet-sdk by script

I am writing an installer script and need to install dotnet-sdk. I want to install the latest version which is 3.1 or in future 3.2 or whatever. Now I found that there are 2 versions in apt-get: user@...
0
votes
0answers
20 views

Does installing Microsoft's dotnet-sdk/aspnetcore-runtime/etc. conflict with Mono?

I have an installation of Xubuntu 18.04, which included installing Mono so that I could install/run keepass2, and also to be able to run KeePass 2 plugins. I'd like to start experimenting with ...
0
votes
1answer
24 views

Install location for a multi file .NET core app in Ubuntu

I have a compiled .NET core app which I am planning to run in three major OSs. When I am trying to test my build in GitBash on Windows 10, once I build the app I get a lot of files along with the ...
0
votes
0answers
19 views

Running “dotnet” tells me to install it with snap, but it's already installed [duplicate]

$ dotnet Command 'dotnet' not found, but can be installed with: sudo snap install dotnet-sdk If I run that command, this happens: $ sudo snap install dotnet-sdk snap "dotnet-sdk" is already ...
4
votes
3answers
5k views

How to install Monodevelop in 20.04 and get it to build something?

I am trying to setup a development machine using 20.04 and am having problems with the Monodevelop environment. Whenever I create a solution and project it seems that it cannot find the proper build ...
2
votes
1answer
262 views

How to set environment variables from within powershell?

How do I make foo an environment variable accessible through printenv on bash? PS /home/thufir/powershell/helloPSTwitterAPI> PS /home/thufir/powershell/helloPSTwitterAPI> $env:foo = 'x' * 333 +...
0
votes
0answers
67 views

New tab in gnome-terminal closes on pressing Ctrl+C

I'm writing a bash script that runs few microservices at once. gnome-terminal --tab -t 'test' -- sh -c "cd Services/Api; dotnet run --no-build; bash"; The command works fine but when I press Ctrl+C ...
1
vote
0answers
54 views

How can I fix this VS Code / .NET Core SDK issue?

When starting VSCode (Visual Studio Code) I'm receiving the following error: When I search for my installed version in Terminal: computer@computeruser-wild-cpu:~$ dotnet --version 3.1.100 Do I need ...
0
votes
0answers
145 views

Netcore app with OpenAL cannot open device for audio

I'm trying to run a netcore app with OpenAL, but whenever I use Alc.OpenDevice I get: $ dotnet run pong AL lib (WW) Failed to open playback device: could not open /dev/dsp: No such file or directory ...
1
vote
1answer
3k views

Problem with wine

I want to play osu! on ubuntu and wanted to instal dotnet but then came this error message: This package (dotnet20) does not work on a 64-bit installation. You must use a prefix made with WINEARCH=...
0
votes
0answers
37 views

Run MVC-Razor with Apache2 with mod_mono (no proxy)

I have an existing setup running Apache2 with mod_mono on a linux server. The web-server is running an ASP.Net-Webforms projekt. I deploy the files from my windows Machine by running create and then ...
0
votes
0answers
277 views

dotnet command hangs in linux container

I'm facing an issue with a container on an specific machine (linux ubuntu 18 vm). I built an image that uses microsoft/dotnet:2.2-sdk and executes a dll in the container. My image locally is working....
0
votes
1answer
57 views

How can I run a command if all processes of a certain name crash?

I’m running a dotnet application on a VPS running Ubuntu, and the application has to be running continuously 24/7. When I start up the application, I use “nohup dotnet (name).dll”, and in HTOP those ...
3
votes
0answers
712 views

dotnet Core 3 runtime snap not found in Ubuntu Core

I have a .Net Core 3 console app published for linux-x64. I want to run it on Ubuntu Core 18. I have installed the dotnet-runtime-30 Snap and aliased it like on this question. When run the binary ...
4
votes
1answer
5k views

How to develop for Android with Xamarin?

I want to develop applications for Android in C#. On Windows I tried Xamarin Studio and I was very happy with it. Is there a way to use Xamarin on Ubuntu? I noticed there are Xamarin.Android binaries ...
2
votes
1answer
61 views

Server crash randomly

My Ubuntu Xenial (and also another Bionic Beaver one) server keeps crashing on random intervals. Sometimes twice a day and sometimes after 2 weeks and after months even! I contacted my server hosting ...
17
votes
1answer
13k views

`dotnet` command not found after installing using snap

I've install .NET Core on my Ubuntu 18.04 using sudo snap install dotnet-sdk --classic, but after the install process complete, the dotnet command still not working. Here is my console log: long@...
2
votes
0answers
791 views

Cannot install dotnet-sdk due to unmet dependencies

I followed the instructions given Here to install dotnet-sdk-2.2. On running the last command, I get the following error: $ sudo apt-get install dotnet-sdk-2.2 Reading package lists... Done ...
0
votes
0answers
69 views

Trouble installing dotnet [duplicate]

I am trying to install dotnet. I have followed the instructions here, but for some reason when I get to the last part, the: sudo apt-get install dotnet-sdk-2.1 terminal then gives me this response: ...
2
votes
1answer
810 views

Curl & libcurl3 held back, possibly by .net core

When I try to upgrade my packages, I receive a message that curl and libcurl3 have been kept back. I did not do this myself. Referring to "The following packages have been kept back:" Why ...
1
vote
0answers
22 views

Firefox Webdriver NuGet dependency for Linux machine

I need a Firefox Webdriver which can work on a Linux machine and right now the one that exists in the Nuget repository works only on Windows and I would like to know if there is a way to get one that ...
1
vote
4answers
3k views

Cannot install .NET Core on Ubuntu Bionic Beaver

I'm currently trying to install .NET Core on Ubuntu 18.04 following these instructions. But I always get the following message: me@mine-Ubuntu:~$ sudo apt-get install -y dotnet-sdk-2.1.200 [sudo] ...
4
votes
1answer
1k views

How can I run dotnet on ubuntu without using sudo?

I've been trying to update the permissions so that I can run a command (specificially dotnet restore). I'm not sure if this issue is specific to running dotnet, or if it is more generic. I can run ...
48
votes
4answers
57k views

Is knowledge of C# of any use in a Linux system?

I know C# and I like to switch between systems and use Linux. Can I use C# to build applications that will natively work on Linux? What should I do to make use of my knowledge of C# in a Linux system? ...
0
votes
1answer
273 views

Setting up the AWS Tools for PowerShell Core on Linux

The AWS utility has this to say about privileges: Note Although you can start PowerShell by running sudo pwsh to run PowerShell with elevated rights, be aware that this is a potential ...
0
votes
1answer
415 views

dotnet core runtime Odroid c2

Did anyone try to install dotnet sdk or runtime on Odroid c2 ubuntu 16.04. According official microsoft guide this is possible, but installation failed: ... odroid@odroid64:$ sudo apt-get update ...
0
votes
0answers
135 views

What to do if ignoring the dotnetdev.list file does not cause any issues with dotnet runtime and SDK?

I'm running a tiny program on Ubuntu 16.4 on a Virtual Private Server (VPS). For it to run I had to install the latest Microsoft dotnet runtime and SDK. Originally the runtime and SDK did not install....
0
votes
1answer
1k views

problem installing dotnet cli on Ubuntu - can't remove old version of dotnet core

I'm having a difficult time installing the latest DotNet Core CLI tools on Ubuntu 16.04. I believe it's because I have a much older version installed and I (this is embarrassing)... I don't know how ...
2
votes
0answers
1k views

winetricks .NET 4.0 Installation “Enough Disk Space Must Be Available 64Mb” Ubuntu 17.04

I just install net with WINEPREFIX=~/'Wine Prefixes/osu!' winetricks dotnet40 Error Screenshot: message after exiting the installer dotnet40 install completed, but installed file /home/fhadiel/...
4
votes
1answer
3k views

How to enable .net framework after install the .net framework?

I am trying to install one program named TecDoc Catalog. I am using Lubuntu 17.10 whit installed 32 bit Wine, winetricks and configured wineprefix(installed dotnet452). When i try to run the ...
0
votes
0answers
3k views

Unable to install .NET Core on Ubuntu 16.04 based on Microsoft Instructions

Going by the commands on this page I get these errors: sudo apt-get install dotnet-sdk-2.0.2 Reading package lists... Done Building dependency tree Reading state information... Done You might ...
0
votes
1answer
145 views

Ubuntu Jenkins appends windows paths when build

I'm trying to build my asp.net core application using Jenkins which is hosted with Tomcat8 on an Ubuntu 16.04 machine. The first build succeeds but when starting builds after that they fail (without ...
2
votes
0answers
2k views

A fatal error was encountered. The library 'libhostpolicy.so' required

Im quite new to Ubuntu and have been stuck on this for a few days now. Ive been trying to run a dll via dotnet but each time I launch I get a "fatal error was encountered. The library 'libhostpolicy....
3
votes
1answer
3k views

After installing .NET Core, where is the nuget binary?

I followed these steps to install the .NET Core SDK. After I installed it, I can only find the ~/.nuget directory that was created, but I cannot find the executable nuget. But in the Microsoft docs, ...
0
votes
1answer
1k views

problem installing dotnet cli on Ubuntu

Hello I am trying to have dotnet command working on Ubuntu and I am using following command sudo apt-get install dotnet-dev-1.0.0-preview2.1-003177 but when I run the command it throws following ...
1
vote
1answer
1k views

dotnet core install fails

i'm trying to install the microsoft .netcore using these instructions (https://www.microsoft.com/net/core#linuxubuntu) on ubuntu 17.04. When I try to install dotnet-dev-1.0.4 it says myadmin@...
0
votes
1answer
306 views

Snapcraft does not allow additional property 'binaries'

When I run snapcraft with this file : name: hwapp-sample version: 1.0 summary: sample app description: sample app binaries: hellodnx: exec: hwapp/hwapp.dll parts: dnxsample: ...
0
votes
1answer
98 views

Snapcraft unknown plugin “make-project”

When I run Snapcraft with this project I get this error : "Issue while loading plugin: unknown plugin: make-project" I have changed dnu to dotnet in the makefile. Here is my changed snapcraft.yaml ...
0
votes
2answers
2k views

How to install .Net framework for running Windows applications? [duplicate]

I want to install a Windows application which runs on .Net framework. How can I do this?
0
votes
1answer
563 views

Visual Code Error: Debugger adapter process terminated. Please Help

I've been using Visual Studio in Windows for a couple years now but just starting changing to Visual Code in Linux (Ubuntu 16). I followed the installation instruction from the Microsoft dotnet page ...
2
votes
1answer
342 views

SDK Installation Issue On Ubuntu 14.04 LTS

I am facing issue when installing dotnet sdk on deployment server at the time of deployment using shell scripts. The steps I have followed: sudo sh -c 'echo "deb [arch=amd64] https://apt-mo....
0
votes
1answer
2k views

dotnet core error starting application with supervisor

I am not sure if this is the right place to ask, but here it is: I created an ASP.NET Core web application, and copied all the files on my Ubuntu 14.04 server. I can compile and run without a problem, ...
7
votes
2answers
9k views

How to stop .NET Core from collecting data to protect privacy?

Today Microsoft announced that .NET Core is available for installation on various platforms. Here's the website for .NET Core https://dot.net/core And this is the download section for Ubuntu 14.04 ...
7
votes
1answer
15k views

Can't install dotnet45 with winetricks on Ubuntu 14.04

I'm attempting to install .Net 4.5 with winetricks as described in https://appdb.winehq.org/objectManager.php?sClass=version&iId=25478&iTestingId=90239 I'm on Ubuntu 14.04 64 bit. I'm using ...
0
votes
1answer
1k views

Start “Setup.exe” with mono or define drive_c

I try to install a Windows program on Ubuntu. This program needs .NET40. Afaik I have two options: I use wine, install winetricks and with winetricks dotnet40 and everything with win32-architecture (...
3
votes
1answer
6k views

How to install Dotnet 45 on Ubuntu?

Im trying to install dotnet 45 for run application in wine by this manual (https://appdb.winehq.org/objectManager.php?sClass=version&iId=25478), there is some problem: After this command: ...