Build Failed. See the build log for detail

后端 未结 12 960
一整个雨季
一整个雨季 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: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
    

提交回复
热议问题