简体   繁体   English

在kali linux 2020 上的monoDevelop IDE 中找不到“/usr/lib/mono/msbuild/15.0/bin/Roslyn/Microsoft.CSharp.Core.targets”

[英]“/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.

相关问题 无法在 Mono 上编译 MojoPortal:/usr/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5):错误 MSB3073 - Can't Compile MojoPortal on Mono: /usr/lib/mono/msbuild/15.0/bin/Microsoft.Common.CurrentVersion.targets(5,5): Error MSB3073 缺少 Microsoft.CSharp.Core.targets - Microsoft.CSharp.Core.targets missing \\MSBuild\\16.0\\Bin\\Microsoft.CSharp.targets 文件未找到 - \MSBuild\16.0\Bin\Microsoft.CSharp.targets file not found 错误:* .csproj无法在MonoDevelop上导入“$(MSBuildBinPath)\\ Microsoft.CSharp.targets” - Error: *.csproj could not import “$(MSBuildBinPath)\Microsoft.CSharp.targets” on MonoDevelop 未找到导入的项目“C:\Microsoft.CSharp.targets” - The imported project "C:\Microsoft.CSharp.targets" was not found nuget-找不到Microsoft.Windows.UI.Xaml.CSharp.targets - nuget - Microsoft.Windows.UI.Xaml.CSharp.targets was not found 打开项目时找不到 Microsoft.CompactFramework.CSharp.targets - Microsoft.CompactFramework.CSharp.targets was not found while opening projects 为 Roslyn 分析器升级 Microsoft.CodeAnalysis.CSharp - Upgrading Microsoft.CodeAnalysis.CSharp for Roslyn analyzer MSBuild \\ 12.0 \\ bin \\ Microsoft.Common.CurrentVersion.targets(3243,9):错误MSB4094 - MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(3243,9): error MSB4094 缺少“ Microsoft.CSharp.targets”文件 - “Microsoft.CSharp.targets” file is missing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM