Skip to content

Tag: .net-core

.net core date format on Linux

I’m migrating my code from .net framework to .net core and testing it on a Linux machine, one of the issues I had a problem with is the date format when calling DateTime ToString() function, in Windows the default date format is guided by the OS and can be customized in the settings I’ve tried to …

.net core in Linux – build C#

Linux Environment – Ubuntu 16.04 LTS. i have installed .net core 2.1300 (latest, with sdk). I am trying to build (dotnet build) a .csproj file in C#. But the error is: What possible solutions exists? maybe change .csproj ? Answer You are trying to build a full .NET (v4.6.1) application on a .NET Core pl…

Upgrade .Net Core 1.0 to 2.0 Ubuntu 16.10

I’m trying to upgrade the .net core version from 1.0 to 2.0 but I’m getting some errors. I’m not good at Linux, so I don’t understand well what’s happening. I run: And I get this error: So, I try to install dotnet-runtime-2.0.5 and I get this After this, I try to install libicu55…

F# on Linux – targeting net4xx

I’ve got both mono (5.10.1.20) and dotnet core (2.1.4) installed on my Linux Mint (18.3) machine. I want to create a project using VS Code Ionide: Ctrl+Shift+P -> F#: New Project -> console. This goes without problems. However, when I try to build it, I get: error MSB3644: The reference assemblies…

Process.Start with .NET Core 2.0 on Linux

I am trying to start the default web browser open to a link with Process.Start(). I use Process.Start(“https://www.google.com”), but my .NET Core App crashes with the following: Exception has occurred: CLR/System.ComponentModel.Win32Exception An unhandled exception of type ‘System.ComponentM…