开发者

Add directories to ASP.NET shadow copy via webconfig

开发者 https://www.devze.com 2023-01-29 07:56 出处:网络
Is there anyway to mark a folder (other than Bin folder) to be shadow copied by adding some configurations in web.config ?

Is there anyway to mark a folder (other than Bin folder) to be shadow copied by adding some configurations in web.config ?

I don't think Application_开发者_如何学JAVAStart be a good place for setting up AppDomainSetup.ShadowCopyDirectories because at that point AppDomain is already loaded.


You are correct once the app domain is created changing the shadow directory location is not possible. You would need to create a separate app domain to point at a different directory. Since bin is shadow copied anyway why not add a sub directory in bin with your additional content ?

0

精彩评论

暂无评论...
验证码 换一张
取 消