Visual Studios' auto-generated code is messing up my project!

Soldato
Joined
18 Oct 2002
Posts
16,032
Location
The land of milk & beans
W.T.F

This has been annoying me for the last 3 hours. I have NO idea why this is happening.

For some reason the auto-generated code is picking up my ColourBoxViewModel class as ColourboxViewModel (note the lowercase 'b'), and my ColourBox class as Colourbox.

Here's a screenshot with the issue:

vsgencode-error2.gif


Anyone know where VS gets the name of classes from? Cos this is pretty ****** up.
 
Ahh good old post and fix :)

The problem was due to a couple of views which had been excluded from the project, but were still being compiled.
 
Back
Top Bottom