斌/调试和斌/释放之间的区别 [英] Difference between Bin/Debug and Bin/Release

查看:145
本文介绍了斌/调试和斌/释放之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用C#的winform项目中的SQL-Server Compact数据库。

I using a sql-server compact database within a c# winform project.

如果我看那个弥补的解决方案的文件,我可以看到的一个副本exe文件,并在以下两个文件夹中的SDF文件:

If I look at the files that make up the solution I can see a copy of the exe and the sdf file in both of the following folders:


  1. /斌/调试/

  2. /斌/发行/

  1. /bin/Debug/
  2. /bin/Release/

如果我双击exe文件,并在一则更新1,同样在2 exe文件/ SDF自卫队。

If I double-click and exe in 1. then it updates the sdf in 1. and likewise for the exe/sdf in 2.

当我打开VS我以为我的文件玩弄于1?

When I open VS I assume I'm playing around with the files in 1. ?

在做2.文件被覆盖?

当我使用的是点击,一旦安装正在使用的文件来创建。应用文件?

When I publish the project using a Click-Once install which files are being used to create the .application file ?

加成

通用岗位上面并没有解决我的问题,但还具有有些困惑的事情。这里是的具体的情况下,我希望解答上述将解决:

The generic post above hasn't solved my problem but it has somewhat confused things further. Here is the specific scenario which I was hoping answers to the above would solve:

开发解决方案文件夹保存在U盘上。
该解决方案包括一个数据库文件。
我已经发布到我的家用电脑
我已经发布到我的工作电脑。
我很高兴携带笔带动周边和堵塞至PC。
我如何设置的东西,所以,如果我更新数据库中的数据只有一个版本存在?

The development Solution folder is saved on a USB pen drive. This Solution includes a database file. I have publish to my home PC I have published to my work PC. I'm happy carrying the pen drive around and plugging in to either PC. How do I set things up so that if I update the database only one version of the data exists?

我已经改变了解决方案专家设置和暴露出来的配置管理器 - 可在此求助:

I've changed the solution to Expert Settings and exposed the configuration manager - can this help?:

推荐答案

调试/发布差别
http://msdn.microsoft.com/en-us/library/kkz9kefa(v = vs.110)的.aspx

Debug/Release difference http://msdn.microsoft.com/en-us/library/kkz9kefa(v=vs.110).aspx

这些都是项目的两个不同势配置。

those are two diffrent configurations of the project.

和那些被内置到不同势文件夹

and those are built into diffrent folders

一旦文件clikc很可能是基于什么是当前活动配置

the clikc once files are probably based on what is the current ACTIVE CONFIGURATION

这篇关于斌/调试和斌/释放之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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