microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.99k stars 1.65k forks source link

Add resource.rc to list of sources and fix include path #1760

Closed JavierMatosD closed 1 year ago

JavierMatosD commented 1 year ago

Ensures that the correct metadata gets injected into the DLL.

Without the change: image

I don't know why but the changes to utilities\Resource.rc aren't showing. The change fixes the include path. Currently, it is

#include "\..\..\..\include\cpprest\details\resource.h"
#include "\..\..\..\include\cpprest\version.h"`

and I think it should be:

#include "\..\..\include\cpprest\details\resource.h"
#include "\..\..\include\cpprest\version.h"