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

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

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:

Comments

Contract Based Programming in .NET | MSDN @ EEYOGO wrote Contract Based Programming in .NET | MSDN @ EEYOGO
on 10-23-2012 1:52

Pingback from  Contract Based Programming in .NET | MSDN @ EEYOGO

developers.de is a .Net Community Blog powered by daenet GmbH.