开发者

Master pages on website but there are no master pages in source code in asp.net?

I got source code of website which have included master pages but master pages are not included in source code. I have tried to put the same master page which i made myself and try to execute on it but it doesn't work. It seems there is 开发者_如何学Pythonalready some master pages which i can see in published files but i cannot find in source.


If you didnt select Allow this precompiled site to be updatable then Master Pages won't appear in your source code as they are compiled into the bin folder as .dll files.

If you open up any .aspx file you will see that the content is just:

This is a marker file generated by the precompilation tool, and should not be deleted!

If you need to be able to edit the markup code in the published version of the site, ensure that Allow this precompiled site to be updatable is selected when publishing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜