Question: Compiler Error Message: CS0246: The type or namespace name could not be found, class becomes lowercase

Question

Compiler Error Message: CS0246: The type or namespace name could not be found, class becomes lowercase

Answers 0
Added at 2017-01-04 16:01
Tags
Question

I have a razor view:

    @model IEnumerable<MySpace.Data.DataProviders.Model>
...
  @{ int[] checkedRecords = (int[])ViewData["checkedRecords"]; }
    @(Html.Telerik().Grid((IEnumerable<MySpace.Data.DataProviders.Model>)Model)
        .Name("Grid")

when I display my page I get error CS0246:

    Line 45:     
    Line 46:     
    Line 47:     public class _Page_Views_Sales_Index_cshtml : System.Web.Mvc.WebViewPage<IEnumerable<myspace.data.dataproviders.model>> {
Line 48:         
Line 49: #line hidden

why my class with namespace become lowercase?

Answers
Source Show
◀ Wstecz