Israel Lopez
← Writing

Visual Studio 2017 Fun - Debug after Rebuild Fails - Missing Libraries

Been troubleshooting a weird situation where by, if I have a WPF Project and I happen to be using the PropertyChanged.Fody nuget package to make my MVVM life easier, it causes problems when debugging.

My typical workflow is to issue a rebuild to catch errors when refactoring. However, an immediate Debug causes NONE of the dependent libraries to be in the bin\Debug folder. Not sure when this happened, because I was happily refactoring for awhile and testing my app.

It took a better part of a couple of hours to nail down that the problem is entirely with the Rebuild -> Debug flow, and not anything else that changed.

I will try to see if I can reproduce outside of my customer’s project, but for now back to work.

A workaround is to Clean your project, then Debug.

Search

Loading…