Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Build and Compile" solutions in Chapter 02 #17

Open
shalala66 opened this issue Oct 29, 2023 · 0 comments
Open

"Build and Compile" solutions in Chapter 02 #17

shalala66 opened this issue Oct 29, 2023 · 0 comments

Comments

@shalala66
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant