[英]“/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets” was not found in monoDevelop IDE on kali linux 2020
I am new to c# programming and specially new to mono compiler and mono related things on linux.我是 c# 编程的新手,特别是 mono 编译器和 mono ZE206A54E97690CCE50CC872DD7 相关内容的新手。 when i wrote
当我写
using System;
namespace HelloWorld
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
on mono develop IDE and hit the build button i am getting在 mono 上开发 IDE 并点击我得到的构建按钮
/usr/lib/mono/msbuild/15.0/bin/Microsoft.CSharp.CurrentVersion.targets(5,5): Error MSB4019: The imported project
"/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. (MSB4019) (HelloWorld)
this error.这个错误。 i did some research i can't understand any solution because i am completely beginner to mono c# programming on linux
我做了一些研究,我无法理解任何解决方案,因为我完全是 mono c# 在 linux 上编程的初学者
I used to meet " couldn't find Microsoft.CSHARP.Targets".我曾经遇到过“找不到 Microsoft.CSHARP.Targets”。 And the solution is to change it as "Microsoft.Csharp.targets".
解决方案是将其更改为“Microsoft.Csharp.targets”。 So maybe you can try the same way.
所以也许你可以尝试同样的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.