简体   繁体   中英

Visual Studio 17 Build Failure, Invalid Configuration

I couldn't build my solution, I get this at the Output:

Build started ...
Build Failure. Error: Invalid Configuration
Parameter name: configurationName
========== Build: 0 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

But if I build project one by one (no as all solution) it's ok, Configuration Manager is ok too. It seems to me, that answer is pretty simple, but I don't know how to solve it.

Right click on the solution , Disbale Lightweight Solution Load then reload the solution. It surely will impact the loading time, but it will fix the problem!

It's strangely, but changing my projects path helps. I don't know why and how it works.

After failing to disable Light weight solution load few times, I simply copied the entire solution to a new folder and re-opened it. that fixed the issue for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM