When I open project for a first time I got this error while building in debug:
Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(93,5): error VSSDK1036: Can not find the installation for VS SDK. Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(95,7): error MSB4018: The "FindVsSDKInstallation" task failed unexpectedly. Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(95,7): error MSB4018: System.ArgumentNullException: Value cannot be null. Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(95,7): error MSB4018: Parameter name: path1 Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(95,7): error MSB4018: at System.IO.Path.Combine(String path1, String path2) Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(95,7): error MSB4018: at Microsoft.VsSDK.Build.Tasks.FindVsSDKInstallation.get_IncludesPath() Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(95,7): error MSB4028: The "FindVsSDKInstallation" task's outputs could not be retrieved from the "IncludesPath" parameter. Value cannot be null. Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(95,7): error MSB4028: Parameter name: path1
Closing solution and reopening solution solves the problem as well as building release first.
<Target Name="FindSDKInstallation"
Condition="'$(VsSDKInstall)'==''">
<FindVsSDKInstallation SDKVersion="$(VsSDKVersion)"> (93 line)
<Output TaskParameter="InstallationPath" PropertyName="VsSDKInstall" />
<Output TaskParameter="IncludesPath" PropertyName="VsSDKIncludes" />
<Output TaskParameter="ToolsPath" PropertyName="VsSDKToolsPath" />
</FindVsSDKInstallation>
</Target>
What might be the problem?
I tried to find a solution online, but I couldn't find any solution.