I googled all day and every link i come across is for iphone and in cocos2d not cocos2d-x. They say that shader has to added in build path or something in xcode. But how to do that in Visual studios?
Is there any tutorial on how to compile shaders in visual studios using cocos2d-x?

sorry i got it
because of notepad*+ the .fsh file is saved in “UCS-2 Big Endian” encoding so cocos2d couldn’t read the .fsh file : CCString::createWithContentsOfFile~~>fullPathFromRelativePath)~~>getCString;
</pre>
and the fragmentSource have some stupid value stored inside and then i checked the encoding in notepad*+
changed the encoding to ANSI
finally got it