代码合同:ccrewrite代码为-1退出? [英] Code Contract : ccrewrite exited with code -1?

查看:263
本文介绍了代码合同:ccrewrite代码为-1退出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的代码合同。我下载的代码承包项目(1.4.40314.1)的最新版本,并开始执行它在我的项目。当我启用了Runtume检查通过代码合同选项卡在VS2010,我得到这个错误

I'm new to code contracts. I downloaded the latest build of code contract project (1.4.40314.1) and started to implement it in my project. When i enabled 'Runtume Checking' through Code Contracts Tab in VS2010, i got this Error

错误1命令C:\Program文件(x86)\Microsoft\Contracts\Bin\ccrewrite@ Application1ccrewrite.rsp用代码为-1退出。

每次我生成项目。 plz帮助。

everytime i build the project. Plz help.

现在这是一个重大的问题对我来说。
使用代码合同每一个项目显示VS2010错误窗口相同的错误和Application1ccrewrite.rsp不输出窗口发现,但它的存在。

Now it's a major problem for me. Every project using code contracts is showing same error in VS2010 Errors window and 'Application1ccrewrite.rsp' not found in output window, but it is there.

我尝试了一切。我安装了两个版本(专业版,标准),但问题仍然存在。 PLZ帮助!

I tried out everything. I installed both versions (Pro, Std) but the problem persist. Plz help !

屏幕截图

推荐答案

我有这个问题为好。在我的情况的问题是,ccrewrite不能在网络文件夹处理文件,但要求该项目在您的本地硬盘上。

I had this problem as well. In my case the problem was that ccrewrite cannot work with files in a network folder but requires the project to be on your local hard disk.

这篇关于代码合同:ccrewrite代码为-1退出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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