I switched some solutions to build with the newest framework and toolsets on a clean buildmachine with only VS2015 and the buildagent.
For all the vc-projects the pathvariable "TargetFrameworkSDKToolsDirectory" fit my needs. And it looks like this:
"$(TargetFrameworkSDKToolsDirectory)tlbimp.exe" $(TargetPath) /verbose /strictref /asmversion=$(Version) /out:$(DropLocation)
But for the c#-projects i cant find any solution. The previous solution looked like this:
"$(WindowsSDKDir)\bin\NETFX 4.0 Tools\tlbexp" $(TargetPath) /out:$(ProjectDir)\bin\$(ConfigurationName)\$(TargetName).tlb
But the buildmachine doesnt know "WindowsSDKDir" or "FrameworkSDKdir" and I would prefer to need as little as possible customization.
I cannot imagine that I am the only one with this issue, so i hope to find a someone who allready solved this.
I found out that the best solution for my needs is, to install Windows SDK on the buildmachine and use TargetFrameworkSDKToolsDirectory for c# and c++ projects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With