When implementing custom rewriter you may get following error:
 error MSB3073: The command ""C:\Program Files\Microsoft\Contracts\Bin\ccrewrite" /rewrite  "/rewriterMethods:SampleApplication,SampleApplication.CustomRewiterMethods" "D:\Tfs\hyperion\DaenetProjects\DiverseTests\ContractBasedProgramming\SampleApplication\bin\Debug\SampleApplication.exe"" exited with code -1.
 To solve the error note that specified assembly which implements rewriter methods has to be specified by assembly extension suffix. In the example shown at the
following picture I implemented custom rewriter in an (EXE) executable assembly.
  
 
		    
            
	        Posted
		    
Feb 09 2009, 12:12 AM
			by
		    
Damir Dobric