asp.net web api - Renamed C# project, can't get rid of the old dll -
asp.net web api - Renamed C# project, can't get rid of the old dll -
i writing web api application. begin with, created project , gave short name, pnlink.csproj compiled pnlink.dll - ok far. @ 1 point decided rename project , dll bit more fitting rest of naming scheme , project file became pnlink.rest.api.csproj. also, assembly name , default namespace changed accordingly.
today noticed bin directory contains old pnlink.dll (which wasn't touched in several months, according filesystem information). new pnlink.rest.api.dll nowadays , newly touched. removed old pnlink.dll , saw application not able run more. compiles fine, in runtime 404 message when navigate root (instead of going default controller (which produces welcome message)). other navigation paths work fine, actually.
i can find no references pnlink.csproj or pnlink.dll or anywhere in application code. of course of study tried delete compilation results (obj, bin) , compile scratch, no avail.
any ideas much appreciated!
oh, i've got it... idiotic situation. new assembly's homecontroller incorrectly inherited apicontroller , did not produce right output on root url. somehow when old dll in bin folder, managed hook handling of request , handle root properly. sorry confusing , give thanks input!
c# asp.net-web-api
Comments
Post a Comment