If you still have to solve this problem, check your project settings, make sure to compile JSX in TSX files is set to React, and double check that you are looking at the correct assembly configuration (itโs very easy to skip this and I have no idea why TS assembly is related to configuration configuration). Tested on VS2015.
EDIT . I should have mentioned that I was able to publish VS2015 before Azure; Initially, I ran into the same error and realized that my non-release configurations were updated, but not the release version. I made the change described above and posted it next.
source share