2017-10-18 163 views
0

錯誤MSB3030期間:C# 「文件無法複製」 構建

Could not copy the file "obj\Release\Hotel Management System.dll" because it was not found.

但酒店管理System.dll中的文件是bin文件夾

裏,我得到了一個運行時錯誤

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.

分析器錯誤信息:

Could not load type 'Hotel_Management_System.MvcApplication'.

源錯誤:

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

源文件:/global.asax線路:1

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

+2

OBJ和斌都沒有一樣的東西。你爲什麼從obj複製? –

+1

使用bin而不是obj –

回答

1

使用斌代替OBJ,輸出構建將放在bin文件夾

相關問題