How to get rid of the MAX_PATH warning?

I have long path support enabled for my computer, and everything works properly. But when building in Rider in a solution that has files with paths longer than the default maximum path length, I get warnings like these:

0>EXEC: Warning : Absolute path '...' has length '...' which is greater than MAX_PATH (260) and may cause unexpected errors with the MSVC toolchain.

I haven't encountered any actual problems since enabling long path support, so I'm wondering if there is a way to just remove this warning? Does Rider use a different MAX_PATH variable than the system? I can't seem to find one in its settings.

Thanks in advance!

1
1 comment

Hello Samathan,

Unfortunately, build output can't be filtered at the moment. We have an open request in our tracker regarding this feature: RIDER-61393 Filter build output. Please upvote the request to indicate your interest and click Watch to subscribe to future updates.

1

Please sign in to leave a comment.