MicrosoftEdge / WebView2Browser

A web browser built with the Microsoft Edge WebView2 control.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build due to missing cpprest/json.h

blitz-research opened this issue · comments

I get the following errors when attempting to build with msvc2022 community edition:

Build started...
1>------ Build started: Project: WebView2Browser, Configuration: Debug x64 ------
1>C:\Program Files\Microsoft Visual Studio\2022\Community\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>C:\Users\marks\Desktop\WebView2Browser\framework.h(17,10): fatal error C1083: Cannot open include file: 'cpprest/json.h': No such file or directory
1>Tab.cpp
1>C:\Users\marks\Desktop\WebView2Browser\framework.h(17,10): fatal error C1083: Cannot open include file: 'cpprest/json.h': No such file or directory
1>WebViewBrowserApp.cpp
1>C:\Users\marks\Desktop\WebView2Browser\framework.h(17,10): fatal error C1083: Cannot open include file: 'cpprest/json.h': No such file or directory
1>Generating Code...
1>Done building project "WebViewBrowserApp.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 11:59 AM and took 08.333 seconds ==========

Where do I get cpprest/json.h from?

Thanks!