I copied an existing working Visual Studio project instead of creating a new one from scratch.
This way, i will avoid to import the references and the dependencies.
After copying the folder, i renamed the folder to Project2, the .sln
and the .csproj
to Project2 as well.
Now when i run the copied project in Visual Studio, it runs my old project! why? do i need to modify something else ?
Thanks
There are certain settings that bind to your project's solution (cached settings/files). There are ways to check this cache and clear it, but before that I would try these things:
Make sure that the Project -> Properties -> General -> Path
is the right path.
Closing all open instances of Visual Studio can often help encourage settings-reset as well.
Often times, simply cleaning or rebuilding the project will correct all incorrect cache settings.
Delete your bin
folder.
You could also try changing the URL/Directory by navigating to Project Properties -> Web
, and changing the URL that way.
For example, changing http://localhost:3688/
to http://localhost:36881/
C:\Documents and Settings\Administrator\Local Settings\Temp\VWDWebCache
or possibly
C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\WebsiteCache
to clear cache that way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With