"Cannot set build environment" installing PRISM 4.1 under VS 2012

I can't believe it's been over a year since I last posted, I guess that's F1 for you =)

Anyway, I've had some time this morning to work on personal projects at home and came across a problem trying to install PRISM 4.1 on Visual Studio 2012.

When I try to register the PRISM binaries on my system (RegisterPrismBinaries.bat), I get the following error

PRISM 'VS100COMNTOOLS' not set. Cannot set the build environment

Visual Studio 2012 doesn't register this path.

To fix this, add the following to the start of RegisterPrismBinaries.bat:

SET VS100COMNTOOLS=C:Program Files (x86)Microsoft Visual Studio 11.0Common7Tools

Or wherever your vsvars32.bat from Visual Studio 2012 lives.

Share this: