Changed resources generation process

#### Purpose

Due to issues on build server was decided replace Post-build event to MSBuild tasks for resources generation. More information in Sharad's email with subject `RE: LibraryUIPreview - Build # 8.Still Failing!` from September 10.

#### Reviewers

Sharad Jaiswal, @Benglin,  please review.