Windows环境中运行.dll文件

阅读 44

2022-07-12

Windows环境中运行.dll文件

安装dotnet-sdk

1.官网下载自己所需要的sdk版本​​https://dotnet.microsoft.com/zh-cn/download/dotnet​​

Windows环境中运行.dll文件_windows
2.打开所需要的版本,找到对应操作系统的程序,进行下载(我这里安装的是windows x86)

Windows环境中运行.dll文件_c#_02
3.安装
下载完成后安装应用程序,使用默认选择即可
Windows环境中运行.dll文件_c#_03
4.安装完成
安装结束后C:\Program Files (x86)\dotnet 会多出一个这样的文件夹,就是我们安装dotnet的目录
Windows环境中运行.dll文件_应用程序_04

运行.dll文件

1.在开始菜单找到cmd或者终端,选择以管理员身份运行

Windows环境中运行.dll文件_windows_05
2.进入dotnet安装目录,运行.dll文件

cd 'c:\Program Files (x86)\dotnet'
./dotnet D:\Admin.dll

Windows环境中运行.dll文件_windows_06


精彩评论(0)

0 0 举报