发布网站获取清空文件夹 [英] Publish Website Getting Empty Folder

查看:119
本文介绍了发布网站获取清空文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有构建项目与Visual Studio,但是当我要发布我的网站,我得到一个空文件夹,什么都没有!没有错误或警告,

I Have Build project with visual studio but when i want to publish my website i get an empty folder and nothing there ! no error or warning ,

Building directory '/project/Users/'.
Pre-compilation Complete
------ Publish started: Project: F:\...\project\, Configuration: Debug Any CPU ------
Connecting to site E:\project...
Publishing directory /...
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

E:\project是空的。

e:\project is empty

推荐答案

生成项目(不重建),它的工作:)

Build your project (not rebuild) it will work :)

其他的解决办法是在调试模式下发布第一则更改设置和发布模式发布。它肯定会工作:)

Other workaround is publish in debug mode first then change settings and publish in release mode. it will surely work :)

这篇关于发布网站获取清空文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆