使用web deploy 编译后部署报错“Could not load type '_Default'”,什么原因,如何解决?
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: Could not load type '_Default' from assembly 'schoolnet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Source Error:
Line 1: <%@ page language="VB" autoeventwireup="false" inherits="_Default, schoolnet" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /index.aspx Line: 1
------解决方案--------------------虚拟目录 右键->属性->ASP.NET
看看版本