PlatformToolsetVersion set wrong in v13 with VS2012

PlatformToolsetVersion set wrong in v13 with VS2012

iccuser's picture

ICL 13 update 1, erroneously sets the PlatformToolsetVersion to 100 even when VS2012 is used. The correct one would be 110 of course.

10 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Brandon Hewitt (Intel)'s picture

Hi iccuser,

In Help->About in Microsoft Visual Studio 2012*, I see the Intel(R) C++ Composer XE 2013 installed with package ID w_ccompxe_2013.1.119 (which is update 1). I then select "Intel C++ Compiler XE 13.0" in the Configuration Properties->General->Platform Toolset property. Then I go to Configuration Properties->Debugging->Environment->Edit... and click on the Macros button. The $(PlatformToolsetVersion) macro shows as 110. Where are you seeing it being output as 100?

Brandon Hewitt Technical Consulting Engineer Tools Knowledge Base: http://software.intel.com/en-us/articles/tools Software Product support info: http://www.intel.com/software/support
iccuser's picture

Hi.

Quote:

Microsoft Visual Studio Ultimate 2012
Version 11.0.51106.01 Update 1
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Ultimate

Visual C++ 2012
Microsoft Visual C++ 2012

Well I learned it the hard way since I made changes that used PlatformToolsetVersion and even though I did Condition="'$(PlatformToolsetVersion)'=='110'", when I used VS2012 and ICL13, the check was false. So I looked at the macros and PlatformToolsetVersion is 100 here.

Quote:

Brandon Hewitt (Intel) wrote:

Hi iccuser,

In Help->About in Microsoft Visual Studio 2012*, I see the Intel(R) C++ Composer XE 2013 installed with package ID w_ccompxe_2013.1.119 (which is update 1). I then select "Intel C++ Compiler XE 13.0" in the Configuration Properties->General->Platform Toolset property. Then I go to Configuration Properties->Debugging->Environment->Edit... and click on the Macros button. The $(PlatformToolsetVersion) macro shows as 110. Where are you seeing it being output as 100?

iccuser's picture

Maybe it's because I have VS2010 installed too and ICL installation doesn't take care of this case?

Brandon Hewitt (Intel)'s picture

I don't know why that's happening, although having MIcrosoft Visual Studio 2010* installed raises the possibility for a mixup in the integration somehow. Let me check with our integration team and get back to you.

Brandon Hewitt Technical Consulting Engineer Tools Knowledge Base: http://software.intel.com/en-us/articles/tools Software Product support info: http://www.intel.com/software/support
Sergey Kostrov's picture

Hi everybody,
Could you specify what Visual Studio editions are you talking about ( Professional, Standard, Express, etc )?
Thanks in advance.

iccuser's picture

Both Visual Studio versions are the Ultimate edition here but I don't see how's that relevant...

The culcprit must be that I had installed VS2010 and Intel compiler first, and then I installed VS2012 as it came out later. I'm gonna reinstall Intel compiler to see if this fixes the issue.

Quote:

Sergey Kostrov wrote:

Hi everybody,
Could you specify what Visual Studio editions are you talking about ( Professional, Standard, Express, etc )?
Thanks in advance.

iccuser's picture

Yeah that was the issue which makes sense since at the time I installed ICL it couldn't know about VS2012.

Sorry for the false alarm.

Sergey Kostrov's picture

Thanks for the update and clarification.

>>...Maybe it's because I have VS2010 installed too and ICL installation doesn't take care of this case?

It could happen in case of Express Edition of any Visual Studio ( it simply ignored ).

Brandon Hewitt (Intel)'s picture

That make sense, iccuser.  No problem - easy thing to miss.

Brandon Hewitt Technical Consulting Engineer Tools Knowledge Base: http://software.intel.com/en-us/articles/tools Software Product support info: http://www.intel.com/software/support

Login to leave a comment.