tags:

views:

17

answers:

1

Hi, in my MSBuild every text that has this pattern $(SomeText) is considered as property reference. I have an MSBuild Custom Task that writes content to some text file and the text that needs to be written is $(SomeText) thus MSBuild does not let this pass through because it is considered as properry reference.

Any workaround.

Many thanks,

Idriss

+1  A: 

MSBuild uses same escaping as in URL. Use %24 instead of $

Here and here is a full list of ASCII character codes

Sergej Andrejev
Thanks, it worked.
Idriss