![](/img/trans.png)
[英]How can I configure Visual Studio Code to run/debug .NET (dotnet) Core from the Windows Subsystem for Linux (WSL)?
[英]How to I run a file on ubuntu which i compiled with Visual Studio on Windows for Linux
您可以将文件标记为可执行文件:
cd you_vs_code_foler/bin/Release/net6.0/publish/linux-x64
chmod +x your_programm
./your_programm
如果您需要在 Ubuntu 安装 .NET 运行时:试试这个:
sudo apt-get install -y dotnet-runtime-6.0
有关更多信息和其他分布,请咨询: https://docs.microsoft.com/en-us/dotnet/core/install/linux
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.