Build Failed. See the build log for detail

后端 未结 12 907
一整个雨季
一整个雨季 2021-01-07 22:40

I create a new project, click compile, and get this error:

Build Failed. See the build log for details.

In the build log there i

相关标签:
12条回答
  • 2021-01-07 23:00

    Lots of times dealing with this error. I just closed and reopened. It happens every time I add a solution and then delete it. I think Xamarin Ide is not a really good Ide, not in Mac at least.

    0 讨论(0)
  • 2021-01-07 23:04

    I searched for solution online for similar problem, but none solved my problem, then I tried this:
    Tools >>> Options >>> Projects and Solutions >>> Build and Run
    Then I changed MSBuild output and MSBuild log to Detailed.
    Rebuild and the error message will show.

    0 讨论(0)
  • In my case, i did`t Indy (or higher) License. When i started trial period, the problem was solved.

    0 讨论(0)
  • 2021-01-07 23:11

    Though this is an old post, maybe this could help someone.
    In my case, using Xamarin Studio 6.1.4 (build 1), I unchecked
    the 'Use MsBuild engine ...' check box under Project Options > Build > General and
    the problem disappeared.

    0 讨论(0)
  • 2021-01-07 23:11

    Try the following options from Build menu:

    • Clean All
    • Rebuild All

    Then build it again.


    If won't help, check your log files for details by going to Help menu and Open Log Directory.

    For example by dragging & dropping the log folder into newly opened Terminal window, and run:

    tail -f *.log
    

    then run the build again and check the reported logs. Hit Control-C on Terminal when finished.

    For better visibility, run:

    tail -f *.log | grep -C5 -i error
    

    You can also try to clear cache folder of VisualStudio, e.g.:

    $ lsof -p $(pgrep VisualStudio)
    $ rm -fr ~/Library/Caches/com.microsoft.visual-studio
    
    0 讨论(0)
  • 2021-01-07 23:12

    Try building your project from the Powershell command line.

    dotnet build
    

    Then, build errors will appear in the command line output.

    0 讨论(0)
提交回复
热议问题