"The .master file does not exist"

I have a website that uses .net framework 4.5. Using Visual Studio 2013, I have no problem running it. However, when I publish it, I get the following error message: "File" /Views/Shared/Admin.Master "does not exist.", But it exists.

Linha 1:  <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
Linha 2:  
Linha 3:  <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

Think about it if I need to do something before publishing, or do I need to configure something in IIS? Many thanks.

+4
source share
2 answers

I ran into the same problem: building and running the application correctly on Visual Studio 2013, but post this error.

,

+4

, IIS. IIS, . IIS "". . ASP.NET.

.

0

All Articles