2

The task is simple: compile a C++ CLI assembly that targets .NET 3.5, in Visual Studio 2013.

As MSDN suggests, I changed the project file as follows:

<PropertyGroup Label="Globals">
  <ProjectGuid>{38B30DA5-524F-48E5-9F87-792FA9AE2E69}</ProjectGuid>
  <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  <Keyword>ManagedCProj</Keyword>
  <RootNamespace>chardet.net</RootNamespace>
  <ProjectName>chardet.net</ProjectName>
</PropertyGroup>

It happily compiles but the targeting framework is 4.0:

enter image description here

Any ideas?

0 Answers0