I'm creating multiple NuGet packages from .nuspec files, each package needs to use a header file to work with native C++ projects.
I'm using a targets file for each NuGet package to include the files as following:
<ItemDefinitionGroup><ClCompile><AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)\..\native\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories><IncludeSymbols>true</IncludeSymbols></ClCompile></ItemDefinitionGroup>
NuGet packages are correct installed and including the headers the problem it's that the last package in to be installed overrides the AdditionalIncludeDirectories property .How can I update my targets files to avoid this behavior?