Win10SysProgBookSamples
Win10SysProgBookSamples copied to clipboard
"Build and Compile" solutions in Chapter 02
May be useful in solving problems related with building & compiling:
Right click on the project name to load it in Solution Explorer and select the Manage NuGet Packages, then select the Update tab to see packages that have an available updates from the selected Package source.
Note that if after, there appears an error like "The missing file is "....\packages\wtl.10.0.9163\build\native\wtl.targets", remove these lines from .vcxproj file:
<Import Project="packages\wtl.10.0.9163\build\native\wtl.targets" Condition="Exists('packages\wtl.10.0.9163\build\native\wtl.targets')" />
<Error Condition="!Exists('packages\wtl.10.0.9163\build\native\wtl.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\wtl.10.0.9163\build\native\wtl.targets'))" />
On the Tools menu select the Options, then select General under the NuGet Package Manager for the Package Restore. Then select exactly the Packages.config for Default package management under Package Management and set both options under the Package Restore.
If there generates MSB8020 error, then right click on the project name, select Properties and under the Solution configurations select General, then set Visual Studio 20xx (v14x) for Platform Toolset,- on my case I set Visual Studio 2019 (v142)