Unable to copy from obj\debug to bin\debug
2014-03-21 15:30
429 查看
if exist "$(TargetPath).locked" del "$(TargetPath).locked"
if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"
我的已经汉化了,在解决方案处右键你的项目名称,选择属性。然后再生成事件中加入代码,就可以了。
可以参考http://social.msdn.microsoft.com/Forums/zh-CN/Vsexpressinstall/thread/5b71eb06-5047-483d-8fd3-b75c102d41e9
在用C#写一个简单的关于网络应用的程序时出现了一个错误,“Unable to copy from obj\debug to bin\debug”,在网上查了一下,好像是vs一个固有的问题,不过还好有解决办法:
Create a pre-build action in your project by going to project properties (right-click on the project in the solution explorer, and select the Properties option), select the Build Events tab. Add this code:if exist "$(TargetPath).locked" del "$(TargetPath).locked"
if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"
我的已经汉化了,在解决方案处右键你的项目名称,选择属性。然后再生成事件中加入代码,就可以了。
可以参考http://social.msdn.microsoft.com/Forums/zh-CN/Vsexpressinstall/thread/5b71eb06-5047-483d-8fd3-b75c102d41e9
相关文章推荐
- Unable to copy from obj\debug to bin\debug
- Unable to copy a file from obj\Debug to bin\Debug
- .Net Program Unable to copy a file from obj\Debug to bin\Debug
- .Net Program Unable to copy a file from obj\Debug to bin\Debug
- Error “Unable to copy the file xxx from the project template to the project. Can't find the file \xxxx” when create VS template
- 解决错误:Unable to copy symbols from this device
- Unable to copy file to bin 对路径 的访问被拒绝
- unable to start program "..\bin\Debug\start.dll" 如何解决
- Unable to copy file to bin 对路径 的访问被拒绝
- Unable to copy file "Resources.cs" to "C:\Debug\Resources.cs". Access to the path 'C:\Debug\Resources.cs' is denied.
- copy_to_user()和copy_from_user()的使用
- ERROR 2997: Unable to recreate exception from backed error
- Unable to get the project ile from the web server错误的解决方法
- 安装vmtools Error: Unable to execute "/usr/bin/vmware-uninstall-tools.pl.
- sql server 2008 copy data from one table to another
- Eclipse运行Android程序报Error generating final archive: Unable to get debug signature key错误解决方法
- copy_to_user,copy_from_use…
- 点击eclipse日志中的链接提示:Unable to parse type name from hyperlink
- Unable to copy file, Access to the path is denied
- iOS ERROR: unable to get the receiver data from the DB 解决方式