简体   繁体   English

在Visual Studio 2012中发布Web应用程序后,文件夹丢失

[英]Folders are missing after publishing web-application in visual Studio 2012

When i publish my web-application some folders are missing like Images,Javascript,Css 当我发布Web应用程序时,缺少一些文件夹,例如图像,Javascript,Css

I have tried publishing it by FTP and FileSystem profile nothing works 我已经尝试通过FTP和FileSystem配置文件发布它,但是没有用

Usually that happens when those files are not included in the solution. 通常,当解决方案中不包含这些文件时,就会发生这种情况。

Files can be added to the project in several ways: 可以通过几种方式将文件添加到项目中:

  • Right click the project or contained folder and choose Add. 右键单击项目或包含的文件夹,然后选择添加。 | | Existing Item... . 现有项目...。

  • Use Show All Files . 使用显示所有文件。 Click on files or folders you would like to add to the project and choose Include In Project . 单击要添加到项目中的文件或文件夹,然后选择“包含在项目中”。

  • Drag and drop files and folders from Windows Explorer. 从Windows资源管理器中拖放文件和文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM