C# tips&tricks

Hi,

In this page i’m going to write about my adventures and troubles in c#- from .net framework to .net core and my ways to resolve 🙂 If you want, fell free to comment, add your sugest or something.

  • How to build .Net Core 2.0 application- e.g. Console, with ARM compatibility for RPI 3
npm install
dotnet build
mkdir publish
dotnet publish -o publish --self-contained -r linux-arm
  • How to compile and reuse your project in .Net Core 2 and Standard Framework

You’ve to change ***.csproj file by right clicking on project and replace line:

<TargetFramework>netcoreapp1.1</TargetFramework>

with this line:

<TargetFrameworks>netcoreapp2.0;net45;net461</TargetFrameworks>