Neelam Prajapati
Neelam Prajapati

Reputation: 3802

window.g.cs file not found in wpf

I am new to wpf. I started learning login in wpf using MVVM. I found a very good link regarding this.this

I downloaded a sample code from there but when I try to run that solution I'm getting this error.

Error   1   Source file 'C:\Users\pci218\Downloads\Easy WPF Login & Navigate Tutorial. Simple WPF Examples, in code-behind or MVVM\C#\EasyWpfLoginNavigateExample\obj\Debug\View\MainWindow.g.cs' could not be found    C:\Users\pci218\Downloads\Easy WPF Login %26 Navigate Tutorial. Simple WPF Examples%2c in code-behind or MVVM\C#\EasyWpfLoginNavigateExample\CSC    EasyWpfLoginNavigateExample

I clean and rebuild solution too, but it still says g.cs file not found. Please help me if anyone had faced the same issue.

Upvotes: 0

Views: 673

Answers (1)

Frebin Francis
Frebin Francis

Reputation: 1915

just rename the folder name (example: EasyWpfLoginNavigateExample) after extracting and try rebuild it will work

this should solve the problem

Upvotes: 3

Related Questions