danielpalme / MVCBlog

Blog engine based on ASP.NET Core 8 and Twitter Bootstrap 4
Apache License 2.0
244 stars 146 forks source link

Hello, I use to MVC 4 And this error. #3

Closed xXAvoraXx closed 9 years ago

xXAvoraXx commented 9 years ago

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'MVCBlog.Website'.

Source Error:

Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="MVCBlog.Website.MvcApplication" Language="C#" %>

Source File: /global.asax Line: 1

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237

how can i fix ?

danielpalme commented 9 years ago

Do have .NET 4.5 installed?

xXAvoraXx commented 9 years ago

I solved but one more error,

Error 1 The command "xcopy C:\Users\MYPC\Desktop\Blog example\MVCBlog-master\src\packages\Microsoft.SqlServer.Compact.4.0.8854.1\NativeBinaries C:\Users\MYPC\Desktop\Blog example\MVCBlog-master\src\MVCBlog.Website_bin_deployableAssemblies /E /Y" exited with code 4. MVCBlog.Website

danielpalme commented 9 years ago

You should use the latest update of this repository (30.10.2014). The correct command is: xcopy $(SolutionDir)packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries $(ProjectDir)_bin_deployableAssemblies /E /Y