我想在我的主页面添加一些代码.所以我删除了命名空间,但是当我想测试它,它会给出这个错误.不知道如何解决这个问题.
Error 2 The namespace ‘Project’ in ‘c:\Users\Test\AppData\Local\Temp\Temporary ASP.NET Files\project\fe95a550\6aff5a12\assembly\dl3\9f54421a\e011b011_23bccd01\Project.DLL’ conflicts with the type ‘Project’ in ‘c:\Users\Test\AppData\Local\Temp\Temporary ASP.NET Files\project\fe95a550\6aff5a12\App_Web_exfemb4u.dll’ c:\Users\Test\AppData\Local\Temp\Temporary ASP.NET Files\project\fe95a550\6aff5a12\App_Web_hrdlxq5l.4.cs 154
Masterpage.cs
public partial class Project: System.Web.UI.MasterPage { protected void Page_Load(object sender,EventArgs e) { } }
母版
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Project.master.cs" Inherits="Project" %>