I used msbuild build my sln and received the error message "could not find" AxImp.exe ", which already exists in the% Program (x86)% \ Microsoft sdks \ windows \ v8.1A files, but it seems that it finds sdk from v8.0A, the output information indicates that the error was in the Microsoft.Common.targets file (see code below). I could not find where "TargetFrameworkSDKToolsDirectory" was defined, can anyone help me?
environment: winblue (4.5.1 sdk v8.1A) without visual studio.
<ResolveComReference
TypeLibNames="@(COMReference)"
TypeLibFiles="@(COMFileReference)"
ResolvedAssemblyReferences="@(ReferencePath)"
WrapperOutputDirectory="$(InteropOutputPath)"
IncludeVersionInInteropName="$(IncludeVersionInInteropName)"
KeyContainer="$(KeyContainerName)"
KeyFile="$(KeyOriginatorFile)"
DelaySign="$(DelaySign)"
StateFile="@(_ResolveComReferenceCache)"
TargetFrameworkVersion="$(TargetFrameworkVersion)"
TargetProcessorArchitecture="$(ProcessorArchitecture)"
NoClassMembers="$(ComReferenceNoClassMembers)"
Silent="$(ResolveComReferenceSilent)"
EnvironmentVariables="$(ResolveComReferenceEnvironment)"
**SdkToolsPath="$(ResolveComReferenceToolPath)"**
ExecuteAsTool="$(ComReferenceExecuteAsTool)"
MSBuildArchitecture="$(ResolveComReferenceMSBuildArchitecture)"
ContinueOnError="$(ContinueOnError)">
<**ResolveComReferenceToolPath** Condition="'$(ResolveComReferenceToolPath)' == ''">$(**TargetFrameworkSDKToolsDirectory**)</ResolveComReferenceToolPath>
source
share