Fixed bug caused by refactoring in Wpf.csproj