MSbuild does not build csproj

I have a problem creating a project in Visual Studio 2010. I'm not sure why, when I create this project, it tries to build the platform = "BWS".

Bws platform

I checked all the files in my project and I could not find any mention of BWS. It seems because of this, all my referenced projects are not being built.

Also, is it possible to reference other projects inside csproj?

+6
source share
2 answers

Decision:

It looks like when you build VS2010, although you have the configuration and platform. The one chosen for some reason still uses a System Variable called "Platform" to create dependent csprojects.

To solve this problem, I changed the system variable for the platform and solved the problem.

Thanks @NickCarlson!

+8
source

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

0
source

Source: https://habr.com/ru/post/948139/


All Articles