Questions tagged [.net]
The .NET Framework, originally developed by Microsoft.
45
questions
1
vote
0
answers
20
views
Is it possible for runtime .NET Core 3.1 and 6.0 to coexist on an Ubuntu system
Is it possible for runtime .NET Core 3.1 and 6.0 to coexist on an Ubuntu system (for example, Ubuntu 22.04)?
Let me explain, I have a computer where I need both runtimes, but either I install one or ...
0
votes
0
answers
27
views
Frequent unexpected termination of .NET processes after office relocation
We moved our workplace last month, and we've been encountering frequent instances of the .NET process being terminated. I'm not sure why this is happening, but I'm confident that the program itself is ...
0
votes
1
answer
17
views
Optimize loading of .Net assemblies
Despite this is a .Net question about dlls this is a Linux question as I am deploying to Linux.
I deploy dozens of different .Net applications to a single Linux computer.
Each of the separate ...
0
votes
1
answer
25
views
Mono cannot find LibVLC or MPV on NixOS
I am trying to use SubtitleEdit, a .NET application, on NixOS, using Mono. This has worked in the past with other distros, but for some reason SubtitleEdit cannot find mpv or libvlc on NixOS. ...
0
votes
1
answer
168
views
How to run .Net core application on linux without wine?
I have .Net Core WPF application in .exe format I didn't publish for linux because I am not getting those publish option for WPF, so is it possible to run it on Linux without wine? If yes then how?
0
votes
1
answer
311
views
How To Run Multiple .Net Projects With Shell Script
I need to run multiple .net projects for a micro service based project so I written a simple .sh file to achieve this purpose.
#! /bin/sh.
~/start
dotnet run --project "AuthService/API" --no-...
0
votes
1
answer
140
views
.NET SDK wouldn't show up on Fedora 36
Installed .NET and its dependencies by running
sudo dnf install dotnet
After executing
dotnet --info
Host (useful for support):
Version: 6.0.6
Commit: 7cca709db2
.NET SDKs installed:
No SDKs ...
0
votes
0
answers
962
views
Omnisharp not working with Mono and Unity on Gentoo
My OS is Gentoo, x64. I am currently trying to make VSCode work properly with Unity.
I have 2 Mono installations: one is of version 6.12, which is installed via portage, and the other of version 6.13. ...
0
votes
1
answer
284
views
How to install previous dotnet versions alongside latest versions?
I'm using PopOs 21.10 and use the latest dotnet versions
Now I have to install the previous version dotnet core 3.1
I tried
wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-...
1
vote
1
answer
28
views
nappo - probably dotnet command missing
I know that this is a question for beginners, but I cannot find the nappo command. It's used in the Fedora packaging script for ARM 64 DotNet. I tried to google it, yum search, pkgs.org, repology and ...
0
votes
1
answer
45
views
Does Installing Windows Dependencies such as Fonts and Frameworks Directly on one's Linux OS Make them Available to Wine?
Some apps require specific fonts to be installed. Do I need to install those through Wine, or will installing them directly on my Linux OS (I use Debian stable) make them available?
Same question for ...
1
vote
0
answers
59
views
.NET 5 issue on "old" arm64 / how to publish for arm64/gcc4.x
Background
I'm having more success than expected running binaries from a (relatively simple) C# program on "antiquated" arm and arm64 systems built on linux-x64 and published with RIDs linux-...
0
votes
2
answers
1k
views
installing .Net dotnet on debian
I downloaded ./dotnet-install.sh and successfully installed:
$ ./dotnet-install.sh -c Current
dotnet-install: Note that the intended use of this script is for Continuous Integration (CI) scenarios, ...
0
votes
2
answers
3k
views
How to make Wine look for DLL in Program Files instead of /usr/share?
I'm trying to run a game called Beneath the Nexus through Wine. The game said I needed .NET Desktop Runtime 5, so I downloaded the Windows installer and installed it. However when running the actual ...
0
votes
1
answer
2k
views
How can I define the output directory a bundled .NET Core SingleFile published app will be deployed to?
I am deploying a .NET Core Worker Service app in linux, as a systemd daemon/service, as recommended. The .NET Core app is published using the SingleFile property, which generates an all-in-one exe ...
3
votes
3
answers
5k
views
dotnet --help -> Segmentation fault (core dumped)
Most dotnet commands I run on my Ubuntu 20.04 system
gives me the error:Segmentation fault (core dumped)
I tried rerunning the dotnet installation scripts and I tried modifying the stack size with ...
0
votes
0
answers
245
views
Trying to run a simple Microsoft WPF application on Debian 9
Given:
Visual Studio 2019 WPF .Net Core 3.1 application output in bin folder
Linux Debian 9
Wine
I'm trying to run my simple WPF application in Debian 9 but am having some challenges.
cd /media/...
-1
votes
1
answer
2k
views
How to install worker service in Linux machine
I have created a worker service using .Net Core. I have output .dll file. I want to install it on Gnu/Linux OS, that is Ubuntu Server running in Oracle VirtualBox.
I have dragged .dll file to ...
0
votes
1
answer
359
views
launch a dotnet core executable through daemon systemd in relative path
I have developed and published a web application on dotnet core for linux arm machine. To do this, the command has been launched:
dotnet publish --runtime linux-arm -p:PublishSingleFile=true
And as ...
1
vote
0
answers
135
views
How to run my own Windows program with wine on Linux?
I have a program written in C# with .NetFramework and would like to know what I would have to do to get it to run with Wine on a Linux system (if that's possible at all).
Is it as simple as copying ...
3
votes
1
answer
402
views
How to install .net Mono on Solaris 11 (source code compile)?
I downloaded the last mono tar to Solaris 11
I install the required packages:
# pkg install autoconf
# pkg install automake
# pkg install libtool
# pkg install gcc
When I tried to configure mono 5....
1
vote
2
answers
56
views
Issue to install package on Linux Mint
I'm trying to install the .NET Core packages, but I have an issue and I do not know how to solve it.
I followed the steps on this page, but I get the below error: https://dotnet.microsoft.com/download/...
1
vote
3
answers
10k
views
Unable to install openssl-libs
I'm trying to install dotnet-sdk-2.1 but it's failing due to that fact that openssl-libs isn't found. I've tried manually installing it using yum, but to no avail.
yum repolist
0
votes
1
answer
294
views
How do I install npgsql in Debian?
How to install npgsql to Debian? Google gives me only an articles how to install PostgreSQL.
6
votes
3
answers
5k
views
Resolve-DnsName : The term 'Resolve-DnsName' is not recognized as the name of a cmdlet
Why is Resolve-DnsName not recognized for PowerShell Core? So far as I recall it works fine with PowerShell itself.
Is this a .NET versus dotnet problem? That dotnet simply doesn't have this ...
1
vote
1
answer
135
views
Which sources make up the dotnet-sdk-2.0.2 package?
I have installed dotnet-sdk-2.0.2 the .NET SDK as packaged for Debian but I can't find the source packages. What sources are used to compile this package and it's dependencies?
I imagine it includes ...
5
votes
0
answers
1k
views
installing .net core sdk 2.0 on NixOs (can't find templates)
Resume
I am currently trying to install dot-net-core-sdk 2.0 with the Nix package manager in NixOs.
I am very new to both NixOs, Nix, bash scripting and stuff like ELF. Yet I think I've successfully ...
1
vote
1
answer
2k
views
Running dotnet in linux
I have been having some difficulty getting dotnet to run on my machine,
uname -a
Linux Olympus 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
I have installed dotnet core ...
1
vote
0
answers
658
views
`Unhandled Exception: System.ArgumentNullException: Value cannot be null.` error while running `dotnet run` using a startup script
I'm trying to run a dotnet app using dotnet run --configuration Release at system server Startup/Reboot. I'm using a init.d script to acheive the same.
My startup script, located at /etc/init.d/...
1
vote
0
answers
2k
views
dotnet core on 32bit Ubuntu
I want to install dotnet core on a 32bit Xubuntu 16.04.
Unfortunately https://www.microsoft.com/net/core#ubuntu seems to be aimed towards amd64. Is there a way to install dotnet core on a 32bit ...
1
vote
3
answers
16k
views
How do I install Dot Net Core on Arch Linux
I am using Apricity OS (based on Arch Linux). I want to install Dot Net Core. What is the command for installing it by pacman.
1
vote
1
answer
849
views
Linux-PAM can't use custom PAM module - possibly related to multiarch
I've built a simple, custom, PAM module and the module works as expected with pamtester and with some other pam testing code I found online.
I've also built a simple dotnet core application which ...
0
votes
0
answers
83
views
how do I recover mono-.NET4.5 runtime capability if I delete subdirectories such as /usr/lib/mono/2.0?
On Ubuntu Linux 15.10 , how do I recover mono-.NET4.5 runtime capability only if I delete the following subdirectories /usr/lib/mono/2.0,/usr/lib/mono/3.5,/usr/lib/mono/4.0 and /usr/lib/mono/4.5 ? We ...
4
votes
1
answer
10k
views
How to install wine with .NET framework instead of mono?
I am using fedora 23 and I want to install .NET framework 4 in wine.
based on here, I have to remove mono first. But when I run the following command I receive unsuccessful result.
$ wine ...
1
vote
1
answer
3k
views
Installing .NET on RedHat
Microsoft just released their beta7 version of aspnet yesterday and I'm interested in installing this on a rhel release. I've been able to install it on ubuntu but the docs for rpm systems have not ...
0
votes
1
answer
535
views
Is it safe to have .NET packages on Mint 17.1? How can I delete it?
When first tried use Wine it asked me to install .NET packages, and other something for HTML, so i did. Later I delete wine, and few days latter reinstalled it. When I tried to use Wine it didn't ...
0
votes
0
answers
2k
views
How to fix library problem with mono on Debian?
I installed mono and when trying to run an app:
a@debianVM:~/.wine/drive_c/Program Files/BOT$ mono ./APBInfinite.exe
Mono: gc took 12 usecs
(sip)
Mono: DllImport error loading library '/usr/lib/mono/...
3
votes
1
answer
6k
views
mod-mono-server 4 is not working, while 2 does
I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server.
I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application ...
1
vote
0
answers
133
views
parrot VM on linux
Any Linux distros or applications that mainly use/run on parrot vm?
I"m asking because in windows, there is .NET and libraries written in C#, F#, VB will work together. parrot can do the same. (...
3
votes
1
answer
1k
views
Enable .Net 4 Mono on OpenSuse
I have an OpenSuse Linux server and want to run an ASP.net web project. I have installed the apache2 module mod-mono, but when I try to access the ASP web pages it looks as if it is attempting to use ....
0
votes
3
answers
1k
views
Managed code programming languages in Linux
Is there a .NET-like managed code programming environment in Linux? I've heard of Mono, but I don't see it extensively used -- even now Python can be seen used in most open source projects.
Edit:
By ...
6
votes
4
answers
6k
views
Can I work with Sql Server, Office and C# using Linux?
I want to start working with linux, and I know I should work in that regularly to improve myself.
I work with sql server, office, c# at the company. can I install and do my tasks in linux (i.e. red ...
17
votes
4
answers
1k
views
Linux adoption path for a .NET developer [closed]
I am a .NET C# programmer, I love the .NET stack. I have tried Linux several times but every time I got put off as I could not do anything on it .. (like program for it or on it).
Ever since Mono was ...
1
vote
1
answer
1k
views
How can I call a .NET web service from PHP?
The web service could be a SOAP asmx or a WCF Service. Assumption here is that the IIS on Windows is serving the web-service and Apache on Linux with PHP 5.3 consuming it.
8
votes
2
answers
1k
views
Has anyone got any performance numbers comparing IIS and .NET to Cherokee and Mono?
I am setting up a development server and want to set it up to serve ASP.NET pages using Mono. I am planning on using Cherokee and Mono (http://www.cherokee-project.com/doc/cookbook_mono.html) and ...