2009-12-10 55 views
0

上我只是將我的.NET 2.0應用到.NET 3.5的應用程序正文的簽名和方法實現中的聲明不匹配。 - 母版頁

  • 有一個錯誤轉換網站項目
  • ,所以我重新創建的網站項目
  • 添加的網站文件再次(其中成功轉換),並得到了添加到項目

沒有生成錯誤

但在運行時I g等這個錯誤:

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Signature of the body and declaration in a method implementation do not match. Type: 'MyMaster'. Assembly: 'CompName.ProjectName, Version=1.2.3631.30873, Culture=neutral, PublicKeyToken=null'.

Source Error:

Line 1: <%@ Import namespace="System.Diagnostics"%> 

Line 2: <%@ Master Language="C#" AutoEventWireup="true" Inherits="MyMaster" Codebehind="MyMaster.master.cs" %>

Line 3: <%@ Register Src="Controls/MyControl.ascx" TagName="MyControl"  TagPrefix="mc"%> 
Line 4: 

回答

1

的根本錯誤是一個Ajax問題

新網站項目指向新的Ajax DLL在.NET實體框架 (System.Extensions)

我必須轉到記事本中的.proj文件並編輯引用以指向舊的.net AJAX DLL。

相關問題