Deepin under development using .NET Core Rider

Deepin under development using .NET Core Rider

Domestic Deepin good about Amway.

Deepin have spent a year or two, just for fun, useless in the development of the above. Later, Win10 is not a Muslim, I can not think of the next line and Deepin code. Engage in development, and ultimately, first IDE, VS2019 does not come with, Vs Code is too complex, cumbersome, and later discovered the artifact Rider, but Rider interface is in English, English is the author of slag slag. Results After a period of time to develop the use of Rider in Windows, are already familiar with Rider, then migrate back plans to develop next Deepin .NET Core. I installed the dual system Windows10 + Deepin 15.

Installation Rider

Rider's Linux Download

http://www.jetbrains.com/rider/download/#section=linux

After the download package, unpack the archive, open bina directory, the directory is opened in the terminal, running

sh rider.sh

Or click rider.sh file, you can choose to perform.

After the installation interface will pop up.

1

According to the installation instructions step by step.

The last will be asked to enter the account password or activation code activation Rider.

2

Mine is a top student welfare - you do not I just use Github for a free open-source projects use, or other means of activation.

3

After installation, click New Solution, found only create .NET Frameork project (Mono).

4

Turn off Rider, Next, install the .NET Core

Install .NET Core SDK

There are two installation methods

  1. Download your own binary installation package

  2. Use the form of installation packages

    Either way, if not the SDK / Runtime put /usr/share/dotnetdown, Rider is not recognized (the default path, you can enter the Rider modify the settings), .NET Core SDK of the following two methods are simple methods in Linux binary installer.

sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet -f
export DOTNET_ROOT=/usr/share/dotnet export 
PATH=$PATH:/usr/share/dotnet

Recommend the first method, the second method, or can try their own According to Microsoft's documentation. . .

https://dotnet.microsoft.com/download/thank-you/dotnet-sdk-3.0.100-linux-x64-binaries

5

After installation is like this.

If you want to pass the package in the form of installation, refer to here https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/sdk-current

6

Experience Development

7

Think in Deepin, Rider turned out to support the Desktop Application (WPF).

But this is not the point, I will not WPF, first try ASP.NET Core, a little later and then look at WPF.

8

When running, the newspaper wrong, the problem is the Https certificate, just anywhere in the open terminal, enter the following command.

dotnet dev-certs https

I do not know why, the browser opens Blazor application blank. . .

Replaced MVC try.

9

I do not know why Blazor will open a blank. Regardless, try Desktop Application.

After creating Wpf project, you are prompted to install the plug-in, and then quit again.

10

11

But in the end reopen the project or error

Project 'WpfApp1' load finished with warnings
            The imported project "/usr/share/dotnet/sdk/3.0.100/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.WinFX.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  /usr/share/dotnet/sdk/3.0.100/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets at (26:3)
            Windows is required to build Windows desktop applications. at (59:5)

Forget it - it is so good, anyway, I will not WPF ~

This article is written using Typora, it is halal.

12

Learn chant ~

13

The last recorded video play, I do not know spade, see what the interface is like ~

Not open, please click http://player.youku.com/embed/XNDQzODgzMzk3Ng==

Guess you like

Origin www.cnblogs.com/whuanle/p/11875782.html