Blog J.Schweiss

Infosammlung zu .NET- Programmier-Themen & Elektronik

.Net core

clock April 16, 2018 05:15 by author Administrator

entry

versioms



Install .NET Core – what a mess

clock April 16, 2018 00:01 by author Administrator

heredokumentation and Tutorial 

get started

Installed Versions at : C:\Program Files\dotnet\sdk

 

Install

  • Uninstall any Preview versions (!)

If you have .NET Core Previews installed, it will need to be removed before attempting to install .NET Core 2.0. This can be done by running a command such as the following.

sudo apt autoremove dotnet-dev-2.0.0-preview2-006497

Ubuntu and Debian based systems

Register the Microsoft signing key, the product repository for your distro and install required system dependencies with the following scripts.

Ubuntu 17.10

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list'
 

Debian 8 (Jessie)

sudo apt-get install curl libunwind8 gettext
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-jessie-prod jessie main" > /etc/apt/sources.list.d/dotnetdev.list
 

Then, update the package cache and install .NET Core

sudo apt-get update
sudo apt-get install dotnet-sdk-2.0.0
 

Installation from a binary archive

Installing from the packages detailed above is recommended and you can also install from binary archive.

When using binary archives to install, the contents must be extracted to a user location

such as $HOME/dotnet and a symbolic link created for dotnet.

 

mkdir -p $HOME/dotnet && tar zxf dotnet.tar.gz -C $HOME/dotnet
export PATH=$PATH:$HOME/dotnet

C:\Windows\SysWOW64>dotnet --info
.NET-Befehlszeilentools (2.1.104)

Product Information:
Version:           2.1.104
Commit SHA-1 hash:  48ec687460

Runtime Environment:
OS Name:     Windows
OS Version:  10.0.16299
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.1.104\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.6
  Build    : 74b1c703813c8910df5b96f304b0f2b78cdf194d

 

pi@raspi3:~/NetCoreTest $ dotnet CoreConsoleTest.dll
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '2.0.0' was not found.
  - Check application dependencies and target a framework version installed at:
      /
  - Alternatively, install the framework version '2.0.0'.

compiled with:

.NET Command Line Tools (1.0.0-preview2-003131)

Product Information:
Version:           1.0.0-preview2-003131
Commit SHA-1 hash:  635cf40e58

Runtime Environment:
OS Name:     Windows
OS Version:  10.0.16299
OS Platform: Windows
RID:         win10-x64


Microsoft .NET Core Shared Framework Host

  Version  : 2.0.6

  Build    : 74b1c703813c8910df5b96f304b0f2b78cdf194d

project.json:

{   "version": "1.0.0-*",   "buildOptions": {     "emitEntryPoint": true   },   "dependencies": {     "Microsoft.NETCore.App": {       "type": "platform",       "version": "2.0.0"     }   },   "frameworks": {     "netcoreapp1.0": {       "imports": "dnxcore50"     }   }
}

pi@raspi3:~ $ curl -sSL -o dotnet.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/Runtime/release/2.0.0/dotnet-runtime-latest-linux-arm.tar.gz

https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/runtime-2.1.0-preview1

 

PM> Install-Package Microsoft.NETCore.App -Version 2.0.8-servicing-26407-02

GET https://api.nuget.org/v3/registration3-gz/microsoft.netcore.app/index.json

OK https://api.nuget.org/v3/registration3-gz/microsoft.netcore.app/index.json 166ms

Install-Package : Unable to find version '2.0.8-servicing-26407-02' of package 'Microsoft.NETCore.App'.

At line:1 char:1

+ Install-Package Microsoft.NETCore.App -Version 2.0.8-servicing-26407- ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception

+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Time Elapsed: 00:00:01.6324082

PM> Install-Package Microsoft.NETCore.App -Version 2.0.8

GET https://api.nuget.org/v3/registration3-gz/microsoft.netcore.app/index.json

OK https://api.nuget.org/v3/registration3-gz/microsoft.netcore.app/index.json 167ms

Install-Package : Unable to find version '2.0.8' of package 'Microsoft.NETCore.App'.

At line:1 char:1

+ Install-Package Microsoft.NETCore.App -Version 2.0.8

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception

+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Time Elapsed: 00:00:00.9011205

PM> Install-Package Microsoft.NETCore.App -Version 2.0.6

GET https://api.nuget.org/v3/registration3-gz/microsoft.netcore.app/index.json

OK https://api.nuget.org/v3/registration3-gz/microsoft.netcore.app/index.json 162ms

Retrieving package 'Microsoft.NETCore.App 2.0.6' from 'nuget.org'.

GET https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/2.0.6/microsoft.netcore.app.2.0.6.nupkg

OK https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app/2.0.6/microsoft.netcore.app.2.0.6.nupkg 486ms

Installing Microsoft.NETCore.App 2.0.6.

Installing NuGet package Microsoft.NETCore.App.2.0.6.

Successfully installed 'Microsoft.NETCore.App 2.0.6' to CoreConsoleTest

Executing nuget actions took 13,71 sec

Time Elapsed: 00:00:14.5877836

PM>

Lost in versions and tools: .NET Core, Core Tools, dotnet Core CLI

dotnet_core_package_references



Linux shell under windows 10

clock April 15, 2018 04:46 by author Administrator

here



mouse cam

clock April 2, 2018 22:30 by author Administrator

with A2051



Docker

clock Februar 25, 2018 19:27 by author Administrator

Docker for Windows   Docker CE for Windows

Download

 

Get started



VB-Script Debugging

clock Februar 12, 2018 02:56 by author Administrator

VBS-Debugging



Tiny USBasp

clock Februar 11, 2018 02:19 by author Administrator

for ATtiny85

little2wire



STM32 LA

clock Februar 10, 2018 06:00 by author Administrator

STM2 – LA

protocol

xilinx fpga

https://github.com/GadgetFactory

http://gadgetfactory.net/learn/2015/04/03/designlab-libraries-library-quickstart/


Docker and PI

clock Februar 5, 2018 00:39 by author Administrator

Docker Images für den PI-2



Embedded Software Development

clock Februar 4, 2018 20:25 by author Administrator

EHAL

BME680

BLE



DSP-Guide

clock Januar 30, 2018 05:10 by author Administrator

DSP-Guide pdfbook

Soundlevel



OpenVPN

clock Januar 28, 2018 21:39 by author Administrator

openvpn-zugriff-auf-netzwerk-hinter-einem-client

OpenVPN Server einrichten



Windows 10 USB Virtual COM

clock Januar 15, 2018 06:46 by author Administrator

Virtual COM Ports and Windows Versions



Docker

clock Dezember 30, 2017 07:40 by author Administrator

Docker & Grafana



ESP continuous delivery

clock Dezember 23, 2017 08:00 by author Administrator

Continuous delivery

oled

DHT22

LoRa



REST with CoAP

clock November 28, 2017 03:52 by author Administrator

Rest with CoAP

MicroCoAP

A tiny CoAP server for microcontrollers. See http://tools.ietf.org/html/rfc7252

MQTT



Nucleo_ST32103_ARM_Dev_Board

clock November 26, 2017 22:31 by author Administrator

Nucleo_ST32103_ARM_Dev_Board

 

Difference between elf and bin files

 

some resources:

  1. ELF for the ARM architecture
    http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044d/IHI0044D_aaelf.pdf
  2. ELF from wiki
    http://en.wikipedia.org/wiki/Executable_and_Linkable_Format


Standard-Deviation

clock November 20, 2017 01:23 by author Administrator

Standard-Deviation

Average



Charts

clock November 19, 2017 23:43 by author Administrator

google charts



Text to C++ String converter

clock November 19, 2017 23:42 by author Administrator

converter



Über den Author

Windows, Server, Programming, .Net, Tools, Arduino, RaspberryPi, IoT  & more

Sign in