Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CS1646 error

Status
Not open for further replies.

cmsbuffet

Programmer
Feb 3, 2009
173
CA
The following file and the following line cause an CS1646 error:
\WebSite1\Zipcodes.master.cs(1): error CS1646: Keyword, identifier, or string expected after verbatim specifier: @

Zipcodes.master.cs

<%@ Master Language="C#" CodeFile="Zipcodes.master.cs"%>

What does this error mean?
 
A simmple file be gives out the same error CS1646

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>


<html>
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>
 
I found, if I remove Inherits=Default3, the code compiles without any problems.
 
Nope, it only looks as if it will compile, when you do compile, it does not allow the build to complete.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top