Error: “The file '/MasterPages/MainMaster.master' does not exist.” (Yes, this file does exist!)

后端 未结 7 1221
被撕碎了的回忆
被撕碎了的回忆 2021-02-10 01:15

I just got a new desktop computer with Windows 7 Pro as the operating system. I installed Visual Studio 2008 on to this new computer and tried to open a previously existing ASP.

7条回答
  •  梦毁少年i
    2021-02-10 02:00

    Instead of the "~" I was able to simply change the directory to a relative ".." So, what I originally had that gave me the problem was something like: "~/MasterPage/TheMainMasterPage.master" and this caused me to get the same error message. Changing it to "../MasterPage/TheMainMasterPage.master" fixed everything for me.

提交回复
热议问题