VirtualPath in AspNetCompiler MSBuild Task - does it have to be equal to the final deployed Virtual Path?

☆樱花仙子☆ 提交于 2019-12-01 21:42:45

I've analyzed the code that is precompiled and it would seem that the precompiler automatically resolves the application-rooted paths to relative paths anyway, regardless of what you set the VirtualPath too. I've also tried deploying the same pre-compiled site to different virtual paths on the target server and nothing breaks.

So therefore I'm confident enough to be able to say: no it does not matter what this value is.

No doubt there's bound to be something I've potentially missed - but until I'm proved wrong I'll assume I'm right!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!