Unanswered ccrewrite error

  • Thursday, July 05, 2012 9:14 PM
     
     

    Hello,

    I am using Visual Studio 2010, C#, and the latest version of code contracts to build a Windows Form application.  A couple of projects use contracts and all has worked well, however today I started receiving the following compile errors.  I would appreciate any insight into what might be happening.

    Thanks,
    Chris

    Error 8 The command ""C:\Program Files\Microsoft\Contracts\Bin\ccrewrite" "@TemperatureControllerccrewrite.rsp"" exited with code -1. 

    Metadata file '\\xxxx\personal\xxxx.xxxx\Documents\Visual Studio 2010\Projects\ProbeStationQCApplication\ConfigurationManagement\bin\Debug\ConfigurationManagement.dll' could not be found 
    Metadata file '\\xxxx\personal\xxxx.xxxx\Documents\Visual Studio 2010\Projects\ProbeStationQCApplication\InstrumentReader\bin\Debug\InstrumentReader.dll' could not be found 
    Metadata file '\\xxxx\personal\xxxx.xxxx\Documents\Visual Studio 2010\Projects\ProbeStationQCApplication\Reporting\bin\Debug\Reporting.dll' could not be found
    Metadata file '\\xxxx\personal\xxxx.xxxx\Documents\Visual Studio 2010\Projects\ProbeStationQCApplication\TemperatureController\bin\Debug\TemperatureController.dll' could not be found
    Metadata file '\\xxxx\personal\xxxx.xxxx\Documents\Visual Studio 2010\Projects\ProbeStationQCApplication\TemperatureController\bin\Debug\TemperatureController.dll' could not be found 
    Metadata file '\\xxxx\personal\xxxx.xxxx\Documents\Visual Studio 2010\Projects\ProbeStationQCApplication\TemperatureController\bin\Debug\TemperatureController.dll' could not be found 
    Metadata file '\\xxxx\personal\xxxx.xxxx\Documents\Visual Studio 2010\Projects\ProbeStationQCApplication\TemperatureController\bin\Debug\TemperatureController.dll' could not be found 


    Chris






    • Edited by ChrisBZ Thursday, July 05, 2012 9:26 PM
    •  

All Replies

  • Friday, August 03, 2012 3:28 AM
    Owner
     
     
    Can you put your solution (or better yet, a toy that reproduces the problem) into a zip file and send it to us? (codconfb "at" microsoft "dot" com). Something appears to be wrong with the reference paths that are getting passed to the rewriter.

    Mike Barnett