Frage

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?

War es hilfreich?

Lösung

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!

Andere Tipps

I have the same problem. Checking this answer, Why is my Platform environment variable defined as 'BNB'?, I have seen that there is a PLATFORM environment variable pointing to BWS.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top