Can't get the OWIN Startup class to run in IIS Express after renaming ASP.NET project file -
i've got situation needed change solution , project names within owin-based webapi website. worked great before change, , knowledge renaming successful because of following:
- the solution builds fine , unit tests run sucessfully both locally , on our teamcity build server
- the application runs fine on our test server (full iis 8) , in production (also full iis 8)
my issue after rename can not startup class execute when run in iis express no matter try. suspect there cached folder contains multiple startup class on machine because in our test environment needed remove old dlls using previous name before things started working.
i know startup isn't executing because have breakpoints in not firing (and in fact not enabled because vs doesn't see symbols loaded):

here's i've tried far:
- uninstalled iis express 10.0 (i have vs 2015 rc on dev machine), clean out iis folders, re-installed iis express 8
- cleaned out temp asp.net folders on dev machine
- cleaned out obj/bin folders within own solution
in case i'm specifying startup class using following in startup.cs:
[assembly: owinstartup(typeof(startup))]
...but again, worked fine before tried renaming solution , projects. don't think general iis express problem either because can run other owin-based solutions locally (e.g., our implementation of identityserver3) without issues...although solution didn't require name changes.
is there other aspect of using iis express might tripped changing name of solution or project file?
for reference have examined following possible causes (without luck): - owinstartup not starting ... why? - owin startup class missing - asp.net temporary files cleanup - owinstartup not firing
while can't explain why solves issue, able fix changing projects build regular bin/ folder.
i apologize not mentioning in original question, because didn't think relevant, had changed asp.net project build bin\debug , bin\release depending on configuration. seemed work fine, caused issue once changed name of projects.
Comments
Post a Comment