c# - Could not load type 'newVersion_Default' -


upon trying build page default.aspx error:

error 5 not load type 'newversion_default'. \server1\d$\newversion\default.aspx

the content page is:

<%@ page language="c#" autoeventwireup="true" codebehind="default.aspx.cs" inherits="newversion_default" masterpagefile="main.master" %> <%@ mastertype virtualpath="main.master" %>  <asp:content id="content2" contentplaceholderid="maincontent" runat="server">       <h1>welcome page</h1>      <div class="tabwrapper">         <div class="tab"><a href="#">home</a></div>         <div class="tab"><a href="#">tab 2</a></div>         <div class="tab tabselected"><a href="#">something els wef wef w efe</a></div>         <div class="tab"><a href="#">help!</a></div>         <div class="clear"></div>     </div>                 </asp:content> 

and code behind empty!

public partial class newversion_default : system.web.ui.page { } 

this newbie error appreciated :)

i can't rebuild whole project yet because there's other crap in folders classic asp wont build , throw errors, have build each page @ time, cause problems?

in case of web app:

try use namespace:

inherits="mysite.newversion_default"  namespace mysite {     public partial class newversion_default : system.web.ui.page { } } 

in case of web site:

use codefile instead of codebehind


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -