How to create a new pass using Visual Studio

Hello,

How can I run a new pass on Window?

You need to link it to the necessary tools as library (e.g. to opt).