I have bought new laptop with windows 7 64 bit , and installed the expression blend after installatin i was tring to create some animation but when done with anymation stuff try to build and run the project but of Microsoft Expression Blend 4 I got the following error:

myproject.sln.metaproj : error MSB4126: The specified solution configuration "Debug|HPD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.

To resolve this issue you need to remove an interfering environment variable named “PLATFORM“.
This can be done in three easy steps (without hacking the registry)!

env1. Open the Environment Variables dialog.
On the start menu Right-Click on “Computer”, select “Properties”, then click on “Advanced system settings” in the left column and finally locate and click the “Environment Variables…” button.

2. Remove the PLATFORM environment variable.
In the System variables list locate and select the PLATFORM variable and click Delete to remove it. Hit OK to close the Environment Variables dialog box.

3. Make it work.
Now restart Blend and you will be able to compile your projects.

1 comments:

This is the only available solution.. well done.. but don't forgot to recreate before updating any of your laptop's vendor software, they might be using that environment variable.

Rajesh Rolen
www.DotNetAcademy.blogspot.com

Post a Comment