我有点搞不懂网络应用程序。我在开发环境中工作,现在我正试图将它发布到我自己的计算机中的另一个文件夹中,这样我的一个同事就可以尝试它而不打扰我。所以我去了“Visual Studio”中的“Publish”,创建了一个新的“Web应用程序”,然后在那里发布了这个应用程序。
Could not load file or assembly 'DkWP2' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'DkWP2' or one of its dependencies. The system cannot find the file specified.
我看了一下文件夹结构,文件就在那里,但有点尴尬:
C:\inetpub\wwwroot\DkWP2App>tree /f
Folder PATH listing
Volume serial number is 68B7-8AE3
C:.
â AppConfig.xml
â LogoMini.png
â DkPService.svc
â Web.config
â
ââââApp_Data
ââââbin
â â AppConfig.xml
â â DkWP2.dll
â â DkWP2.pdb
â â DkWP2.XmlSerializers.dll
â â
â ââââcss
â â ââââGSA1
â â â jquery-ui-1.8.5.custom.css
â â â
â â ââââImages
â â [jQueryUi Pictures]
â â
â ââââImages
â â [Some of the Main pictures]
â â
â ââââx86
â ââââDebug
â AppConfig.xml
â DkWP2.dll
â DkWP2.pdb
â
ââââcss
â â [MainCss Files]
â â
â ââââBase
â â [Base Css Files]
â â
â ââââGSA1
â â jquery-ui-1.8.5.custom.css
â â
â ââââImages
â [jQueryUi Pictures]
â
ââââImages
â [Main pictures]
â
ââââJavaScript
â [JS Files]
â
ââââWeb
ââââWeb References
-
这个
.dll
文件
./bin
和
./bin/x86/Debug
尺寸。
-
我试着复制
.dll文件
文件到
./
但还是没有
工作。
-
./
和
/箱子
,但不同的是
尝试查找
文件在?
为什么我有一个
如果我在发布时选择了“发布”?