✅ Visual studio dont see new changes
I made a refactor in mvc project to clean architecture but when i moved a class 'Car' from CarRental.Presentation, file Models to file Entities in CarRental.Domain, Visual Studio dont see new changes and displays error with but directory when i write code, I also changed name from (for instance CarsProject) to CarRental. Therefore when i try to use class Car in other solution 'Infrastructure' and use dependency to car in entities it showing only directory to old car in models. Why?
15 Replies
Did you try restarting visual studios?
Can you show the error and the project tree?


it displays the old using directive
click the using thing ig
nvm
If i click using (old) its working but there is no class.cs in file and i dont know how visual studio see files or class that visualy dont exists because they are removed to another directory xd
did you try restarting vs?
yeah
show the Car class code
okay XD
im idiot
i moved the class
but didnt change the namespace there
there you go, it happens to everyone
dont say that
thanks for help
np
$close
If you have no further questions, please use /close to mark the forum thread as answered