Silas2
asked on
Using wrong DLL - simple problem
I'm using a plugin architecture where the Host app (actually WinForms) doesn't know about the components until runtime, then loads them (from http://shazwazza.com/post/Developing-a-plugin-framework-in-ASPNET-with-medium-trust.aspx but Winforms) .
My simple problem is, when I click VS F5/Run it doesn't rebuild unless i Rebuild All (very slow) , even if i delete the dll folder, its seems to be using the previous one - does it get locked in memory of something? Is there a post build script i could run to purge and delete the plugin when build the host?
My simple problem is, when I click VS F5/Run it doesn't rebuild unless i Rebuild All (very slow) , even if i delete the dll folder, its seems to be using the previous one - does it get locked in memory of something? Is there a post build script i could run to purge and delete the plugin when build the host?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
do you have one solution for all projects? if not you should create one and add all projects.
then update build order by updating project dependencies of the app. add all plug-in Projects into the dependency list of the app. doing so, a rebuild-all should build all projects in a suitable order. because of the dependencies any change of a plug-in should cause the app also to be "dirty" and make a build. also f5 should ask for build if any of the plug-Ins was changed.
Sara
then update build order by updating project dependencies of the app. add all plug-in Projects into the dependency list of the app. doing so, a rebuild-all should build all projects in a suitable order. because of the dependencies any change of a plug-in should cause the app also to be "dirty" and make a build. also f5 should ask for build if any of the plug-Ins was changed.
Sara
ASKER
Thanks
ASKER
I'm thinking of putting a call to msbuild in a bat file after building the main app for the plugin I'm working on...