Today I worked at my project and suddenly the following error ris:
CS0426 The type name 'CustomerView' does not exist in the type 'PetrolStation'
CS0426 The type name 'Views' does not exist in the type 'PetrolStation'
CS0426 The type name 'App' does not exist in the type 'PetrolStation'
If your class is defined in
PetrolStation namespace you shouldn't specify this namespace if you try to access to this class. Delete
PetrolStation namespaces before class names:
App app = new App(); //and in other places without PetrolStation
If you've created class with the same name as namespace you should specify full name:
PetrolStation.PetrolStation.App app = new PetrolStation.PetrolStation.App(); //and in other places with one more PetrolStation
It seems to be the first case in your code.