I have a VS 2010 Post Build Event that runs `GacUtil.exe`. 

On my *32-bit* laptop I reference: 

```
"C:\Program Files \Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" -i "$(TargetPath)". 

```

On my *64-bit* dev server it needs to be 

```
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" -i "$(TargetPath)". 

```

But I want to check-in a project that works on both systems. 

Has anyone figured out how to do a post build event that is architecture independent?