ASP.NETName main page structure: value cannot be a null error

I am looking at some ASP.NET tutorials, and the first one I'm looking at is creating a homepage. When I create the main page, I get an error message:

Value cannot be null.  Parameter name: frameworkName

This happens on the first line of my main page (MasterPage.master), and it is created by default, which is created - I did not change it at all:

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

Can someone tell me what is the parameter frameworkNameand how can I get rid of this error? FYI: I am using Visual Studio 2010.

+3
source share
2 answers

This is a bug in VS 2010:

, , , xaml , . , .xaml, startpage.csproj. VS2010. .

http://connect.microsoft.com/VisualStudio/feedback/details/485162/edit-startpage-xaml-frameworkname-value-cannot-be-null

, , ?:

<% @Master Language = "#" AutoEventWireup = "true" CodeFile = "Site.master.cs" Inherits = "SiteMaster" % >

.sln ?

+8

, - asp.net - IIS. , , .

+1

Source: https://habr.com/ru/post/1755362/


All Articles