Skip to content

Unable to compile WebView2Browser App #54

Open
@Jenifer-TheCoder

Description

I had cloned github repo and just built. Errors related to nuget packages were fixed by providing online package source. But I am still getting the errors below:
1>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(517,5): warning MSB8004: Output Directory does not end with a trailing slash. This build instance will add the slash as it is required to allow proper evaluation of the Output Directory. 1>BrowserWindow.cpp 1>..WebView2Browser\framework.h(17,10): error C1083: Cannot open include file: 'cpprest/json.h': No such file or directory 1>(compiling source file 'BrowserWindow.cpp') 1>Tab.cpp 1>..WebView2Browser\framework.h(17,10): error C1083: Cannot open include file: 'cpprest/json.h': No such file or directory 1>(compiling source file 'Tab.cpp') 1>WebViewBrowserApp.cpp 1>..WebView2Browser\framework.h(17,10): error C1083: Cannot open include file: 'cpprest/json.h': No such file or directory 1>(compiling source file 'WebViewBrowserApp.cpp') 1>Generating Code... 1>Done building project "WebViewBrowserApp.vcxproj" -- FAILED.

I am not able to see cpprest folder either, please advise!

Is it specific to the nuget package version otherwise?

Thanks

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions