Skip to content

Lesson 29 sample solution won't compile #5

@red-swan

Description

@red-swan

Upon opening Capstone5.sln file in the /src/code-listings/lesson-29 folder or sample-solution subfolder in VIsual Studio 2017 or 2019, I get the following build error when trying to compile the solution.

1>------ Build started: Project: Core, Configuration: Debug Any CPU ------
2>------ Build started: Project: WpfClient, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "FSharp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
2>C:\Users\jdks\Code\F#\get-programming-fsharp-master\src\code-listings\lesson-29\sample-solution\WpfClient\WpfClient.csproj(121,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Fody.1.29.4\build\dotnet\Fody.targets.
1>		Core -> C:\Users\jdks\Code\F#\get-programming-fsharp-master\src\code-listings\lesson-29\sample-solution\Core\bin\Debug\Core.dll
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I'm not a .NET expert, so I don't know how to resolve this. Is there a fix for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions