开发者

Add directories to ASP.NET shadow copy via webconfig

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜