Visual Sdudio 2017 Professional failed to build but no errors

Chu, Dejun 1 Reputation point
2021-08-17T13:09:31.517+00:00

My Visual Studio 2017 Professional failed to build any solution/project even a newly created template project for example a simple console application.

Each time I got "Rebuild All: 0 succeeded, x failed, 0 skipped" on output, and nothing in Error List.

I even could not clean a solution/project (got failed message for the cleaning)

Community Center | Not monitored
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 60,336 Reputation points
    2021-08-17T14:14:23.55+00:00

    I'm assuming here that you are using the full version of VS 2017 and not just the shell from, say SSMS. I'm also assuming that everything is installed correctly and that you don't have a pending reboot in order.

    What type of project(s) are you trying to build? I assume you see the appropriate templates in the New Project dialog?

    Under Tools \ Options -> Projects and Solutions \ Build and Run did you accidentally set the build output to Quiet from the default of minimal?

    If you go to the Dev command line and then to the solution directory and run msbuild directly does it produce errors?


  2. PengGe-MSFT 3,381 Reputation points
    2021-08-18T03:25:05.823+00:00

    Hi @ChuDejun-6230

    I cannot reproduce your issue on my side.
    You can try to repair Visual Studio, or use Devenv.exe /safemode command to start Visual Studio. If the problem persists, I suggest you can start a new thread and report this issue to VS Product Team in our Developer Community with some reproduced or detailed information. if you do report this issue, please share the link here who are interested or meet the same or similar issue can go to vote for this thread.

    Sincerely,
    Peng
    *
    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.