Questions tagged [.net]

The .NET Framework, originally developed by Microsoft.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

.NET core application does not start during autostart

On my Ubuntu machine I configured script autostart.sh which is executed at the end of the boot sequence as root user. Within that script there is: echo Starting application >> /var/log/autostart ...
user avatar
0 votes
0 answers
44 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. ...
user avatar
  • 1
0 votes
1 answer
46 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-...
user avatar
0 votes
0 answers
220 views

Why does the new version of my .NET core application fail to run as a service?

I have a server, running Ubuntu Server 20.04.3 LTS. All it does is run a simple self-contained .NET core 3.1 program I wrote as a systemd service. This works fine. However, when I try to update the ...
user avatar
1 vote
1 answer
23 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 ...
user avatar
0 votes
1 answer
18 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 ...
user avatar
  • 11
1 vote
0 answers
38 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-...
user avatar
  • 105
0 votes
2 answers
205 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, ...
user avatar
  • 207
0 votes
1 answer
740 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 ...
user avatar
0 votes
1 answer
830 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 ...
user avatar
  • 298
2 votes
2 answers
3k 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 ...
user avatar
0 votes
0 answers
194 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/...
user avatar
  • 101
-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 ...
user avatar
0 votes
1 answer
249 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 ...
user avatar
  • 550
1 vote
0 answers
48 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 ...
user avatar
3 votes
1 answer
322 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....
user avatar
1 vote
2 answers
48 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/...
user avatar
1 vote
3 answers
7k 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
user avatar
0 votes
1 answer
229 views

How do I install npgsql in Debian?

How to install npgsql to Debian? Google gives me only an articles how to install PostgreSQL.
user avatar
  • 121
6 votes
3 answers
3k 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 ...
user avatar
  • 1,710
1 vote
1 answer
128 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 ...
user avatar
  • 2,555
5 votes
0 answers
958 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 ...
user avatar
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 ...
user avatar
1 vote
0 answers
638 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/...
user avatar
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 ...
user avatar
  • 291
1 vote
3 answers
13k 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.
user avatar
1 vote
1 answer
766 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 ...
user avatar
  • 111
0 votes
0 answers
81 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 ...
user avatar
  • 651
3 votes
1 answer
9k 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 ...
user avatar
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 ...
user avatar
0 votes
1 answer
530 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 ...
user avatar
  • 113
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/...
user avatar
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 ...
user avatar
1 vote
0 answers
132 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. (...
user avatar
  • 113
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 ....
user avatar
  • 401
0 votes
3 answers
985 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 ...
user avatar
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 ...
user avatar
  • 165
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 ...
user avatar
  • 171
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.
user avatar
  • 357
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 ...
user avatar