Keyword, identifier, or string expected after verbatim specifier: @

asp.net

Solution

I found the solution for my strange problem... I don't know why and I dont know wich is the difference between set a page propert `Build Action = Content / Complie`. But all I did was set them to `Content` instead of `compile` and worked like a charm !

Thanks to this post.

Problem

I'm having a strange problem on my pages... I have these two pages that, if you dont have them opened your application does not start... If these two pages are closed, I get the error I describe on my title of this question. ``` Error 1 Keyword, identifier, or string expected after verbatim specifier: @ ``` and it points always to the first `line` of the `page.apsx:` ``` <%@ Page Title="Forza - Chamados" Language="C#" MasterPageFile="~/MasterAdm.Master" AutoEventWireup="true" CodeBehind="TodosChamados.aspx.cs" Inherits="Testando.TodosChamados" %> <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Relatorio.aspx.cs" Inherits="Testando.Relatorio" %> ``` What could it be ?

Original source