今天在项目中创建了一个net core 2.0的控制台程序,编译完之后,发现在Debug目录下没找到对应的exe程序,只有一个对应的dll(可在.csproj文件的
1.创建项目

2.运行项目

3.还原项目中的引用

4.编译项目

5.从Nuget上获取package

6.删除package

7.添加项目引用

8.删除项目引用

9.运行全部单元测试

10.运行某个单元测试

11.创建解决方案

12.解决方案中添加项目

DotnetCore发布时RuntimeIdentifier
Windows RIDs
-
Windows 7 / Windows Server 2008 R2
-
win7-x64 -
win7-x86 -
Windows 8 / Windows Server 2012
-
win8-x64 -
win8-x86 -
win8-arm -
Windows 8.1 / Windows Server 2012 R2
-
win81-x64 -
win81-x86 -
win81-arm -
Windows 10 / Windows Server 2016
-
win10-x64 -
win10-x86 -
win10-arm -
win10-arm64
Linux RIDs
-
Red Hat Enterprise Linux
-
rhel.7.0-x64 -
rhel.7.1-x64 -
rhel.7.2-x64 -
Ubuntu
-
ubuntu.14.04-x64 -
ubuntu.14.10-x64 -
ubuntu.15.04-x64 -
ubuntu.15.10-x64 -
ubuntu.16.04-x64 -
ubuntu.16.10-x64 -
CentOS
-
centos.7-x64 -
Debian
-
debian.8-x64 -
Fedora
-
fedora.23-x64 -
fedora.24-x64 -
OpenSUSE
-
opensuse.13.2-x64 -
opensuse.42.1-x64 -
Oracle Linux
-
ol.7-x64 -
ol.7.0-x64 -
ol.7.1-x64 -
ol.7.2-x64 -
Currently supported Ubuntu derivatives
-
linuxmint.17-x64 -
linuxmint.17.1-x64 -
linuxmint.17.2-x64 -
linuxmint.17.3-x64 -
linuxmint.18-x64
OS X RIDs
-
osx.10.10-x64 -
osx.10.11-x64 -
osx.10.12-x64
浙公网安备 33010602011771号