Questions tagged [dotnet]
Questions relating to the .NET framework, its open source implementation *mono* and the relevant programming languages.
98
questions
2
votes
1
answer
2k
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 +...
2
votes
1
answer
311
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
0
answers
224
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 ...
2
votes
1
answer
17k
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
1
answer
136
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
0
answers
1k
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 ...
6
votes
1
answer
13k
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
1
answer
122
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 ...
19
votes
1
answer
22k
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
0
answers
1k
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
...
2
votes
1
answer
1k
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
0
answers
37
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
4
answers
4k
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] ...
5
votes
1
answer
3k
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 ...
57
votes
5
answers
87k
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
1
answer
416
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
1
answer
560
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
0
answers
188
views
What to do if ignoring the dotnetdev.list file does not cause any issues with dotnet runtime and SDK? [duplicate]
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
1
answer
2k
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
0
answers
2k
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/...
6
votes
1
answer
7k
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
0
answers
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
1
answer
155
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 ...
3
votes
0
answers
3k
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....
4
votes
1
answer
4k
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
1
answer
2k
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
1
answer
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
1
answer
473
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
1
answer
142
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
2
answers
3k
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
1
answer
625
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
1
answer
385
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
1
answer
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
2
answers
12k
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 ...
8
votes
1
answer
23k
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
1
answer
2k
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 (...
4
votes
1
answer
13k
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: ...
4
votes
1
answer
3k
views
Install dotnet 2.0 on Ubuntu 15.04 without using Wine1.7
I am using Ubuntu 15.04 64 bit, and have the following wine packages installed -
$ apt --installed list|grep wine
wine/vivid,now 1:1.6.2-0ubuntu8 amd64 [installed]
wine-gecko2.21/vivid,now 2.21-...
1
vote
1
answer
13k
views
Problem with running application supported with microsoft .net framework 4.0.30319
I have an application which i want to run with wine in my ubuntu. I installed wine properly and also all the dlls and support files. But i am unable to open my application.
It shows always an error ...
2
votes
0
answers
171
views
Error while running a .Net code that uses database connectivity in Ubuntu using mono [closed]
I am using .Net code in Ubuntu using mono but when I am doing some database connectivity. It is showing error, but it is working correctly in Windows.
System.TypeLoadException: Could not load type '...
0
votes
0
answers
5k
views
How to install Visual Studio 2013 [duplicate]
I am working on web development since a long time and I love to see visual studio in Ubuntu.
I will use it as html editor and html5 web development. It has also a great php development extension.
...
-1
votes
1
answer
2k
views
PlayOnLinux - Steam - Chivalry Medieval Warfare - Microsoft VC redist Loop
I recently switched to ubuntu and so far I think it is amazing!
I am trying to run the game Chivalry Medieval Warfare on a Windows Client of Steam through Wine/PlayOnLinux.
The game downloaded okay ...
2
votes
1
answer
9k
views
How to connect Ubuntu to a MS SQL server 2005?
I am using Ubuntu 13.04 and I installed Wine 1.6. I am running a dotnet application through Wine, but I am getting the following error message:
An error occurred while establishing connection to ...
3
votes
4
answers
28k
views
Can't install dotnet
Every time I do
winetricks dotnet20
The install window comes up, I hit next, and then it crashes.
Here's what the terminal says
l@l-Aspire-5515:~$ winetricks dotnet20
Executing w_do_call dotnet20
...
1
vote
1
answer
360
views
Developing Ubuntu Phone apps using .NET through Monodevelop [duplicate]
I would like to know whether Ubuntu for Phones support developing apps using .NET (created through MonoDevelop) as we can do it for Ubuntu Desktop.
Thanx and Regards
Uday Gupta
42
votes
4
answers
77k
views
Can I write programs in C# on Ubuntu?
I am forced to learn and practice C#, is there any applications that support and can be used to write programs in C#?
31
votes
2
answers
86k
views
Installing dotnet 2.0 on 64 bit machine
I have a speed-reading program I purchased with uses dotnet2. However, dotnet2 doesn't run on 64 bit wine. How would I install dotnet2?
2
votes
2
answers
4k
views
What is the easiest simplest way to deploy ASP.NET web site on Ubuntu?
I'm a newbie and want to deploy ASP.NET web site and host it on UBUNTU 12 either server or desktop.
Should i use Apache with MONO?
OR
Deploy MS .NET Framework on Wine and a free web server that is ...