Implementing of custom rewriter in .NET4.0: error MSB3073

Damir Dobric Posts

 

Damir@Phone    







       
twitter 

 

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.

 

image


Posted Feb 09 2009, 12:12 AM by Damir Dobric
Filed under:

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
developers.de is a .Net Community Blog powered by daenet GmbH.