简体   繁体   中英

why is Visual Studio Web App not updating DLL

I have a Visual Studio web app that i have taken over from an old company employee.

The whole site looks like its split into two parts a main site and a secondary site in a folder within the main site.

The main site seems to update all code when accessed so if i update a .cs file and brows the website it changes.

The secondary site does not do this and has a dll file that is somehow associated with the site.

If i de compile the dll file is gives me the code held in .cs files for all pages.

The problem i have is if i change any code in .cs file and Build the site nothing changes.

I know the site is setup as a web app in VS and have tried Build, Rebuild and publishing to a local folder on local IIS where i am testing everything

If i delete the DLL file then the site refuses to build coming up with multiple errors

As i am fairly new to asp.net and C# i am now at a total loss on what to try next

Any assistance would be appreciated

Try this.

Clean and rebuild the solution. If that does not work then try to move the file to a new PC entirely, make the changes you want, clean and build the solution. You should be fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM