none
Dotnet core - Too many levels of symbolic links RRS feed

  • Pergunta

  • Senhores,

    Estou tentando compilar os códigos no dotnet core no linux, porém estou recebendo o seguinte erro:

    [limup@localhost salao]$ dotnet build
    Microsoft (R) Build Engine version 16.4.0+e901037fe for .NET Core
    Copyright (C) Microsoft Corporation. All rights reserved.
    
      Restore completed in 67.43 ms for /home/limup/Documents/Projetos/Limup/salao/salao.csproj.
    /usr/share/dotnet/sdk/3.1.101/Sdks/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.CodeGeneration.targets(99,5): error MSB6003: The specified task executable "dotnet" could not be run. System.ComponentModel.Win32Exception (40): Too many levels of symbolic links [/home/limup/Documents/Projetos/Limup/salao/salao.csproj]
    /usr/share/dotnet/sdk/3.1.101/Sdks/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.CodeGeneration.targets(99,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/home/limup/Documents/Projetos/Limup/salao/salao.csproj]
    /usr/share/dotnet/sdk/3.1.101/Sdks/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.CodeGeneration.targets(99,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/home/limup/Documents/Projetos/Limup/salao/salao.csproj]
    /usr/share/dotnet/sdk/3.1.101/Sdks/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.CodeGeneration.targets(99,5): error MSB6003:    at System.Diagnostics.Process.Start() [/home/limup/Documents/Projetos/Limup/salao/salao.csproj]
    /usr/share/dotnet/sdk/3.1.101/Sdks/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.CodeGeneration.targets(99,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/home/limup/Documents/Projetos/Limup/salao/salao.csproj]
    /usr/share/dotnet/sdk/3.1.101/Sdks/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.CodeGeneration.targets(99,5): error MSB6003:    at Microsoft.AspNetCore.Razor.Tasks.DotNetToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/home/limup/Documents/Projetos/Limup/salao/salao.csproj]
    /usr/share/dotnet/sdk/3.1.101/Sdks/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.CodeGeneration.targets(99,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/home/limup/Documents/Projetos/Limup/salao/salao.csproj]
    

    Alguma ideia de como resolver isso?

    Dados do ambiente

    [limup@localhost salao]$ dotnet --info
    .NET Core SDK (reflecting any global.json):
     Version:   3.1.101
     Commit:    b377529961
    
    Runtime Environment:
     OS Name:     fedora
     OS Version:  31
     OS Platform: Linux
     RID:         fedora.31-x64
     Base Path:   /usr/share/dotnet/sdk/3.1.101/
    
    Host (useful for support):
      Version: 3.1.1
      Commit:  a1388f194c
    
    .NET Core SDKs installed:
      3.1.101 [/usr/share/dotnet/sdk]
    
    .NET Core runtimes installed:
      Microsoft.AspNetCore.App 3.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
      Microsoft.NETCore.App 3.1.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
    
    To install additional .NET Core runtimes or SDKs:
      https://aka.ms/dotnet-download

    quinta-feira, 16 de janeiro de 2020 14:38

Respostas

Todas as Respostas