Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSBuild not building csproj

I have an issue building a project in Visual Studio 2010. I'm not sure why when I build this project it tries to build as Platform="BWS".

BWS platform

I have checked all files in my project and i was unable to find any mention of BWS. It seems that due to this all my referenced projects aren't building.

Also, is it possible to reference other projects within a csproj?

like image 857
Luke Avatar asked Jun 26 '13 12:06

Luke


1 Answers

Solution:

It appears that when you are building in VS2010 even though you have Configuration and platform Selected it for some reason still uses System Variable called "Platform" to build dependent csprojects.

To resolve it - I changed my system variable for platform and it resolved the problem.

Thanks @NickCarlson!

like image 134
Luke Avatar answered Nov 15 '22 10:11

Luke