Unity build support (Unity-style c++ builds, this post is not about Unity3D)
How should I use resharper c++ when building solutions and projects that add a bunch of files to a unity file, but the files themselves are marked “Excluded from build” to avoid compiling them again?
When a file is marked “Excluded from build” in Visual Studio (2022 in this case), R# highlights/navigation/etc don't work in those files. If I were to modify the file properties to disable ‘Excluded from build’, then R# works again, but the build fails due to ODR violations.
Please sign in to leave a comment.
Hello,
ReSharper C++ should find the unity file and use it to handle files that get included into it. Could you send us a sample project where you experience issues with unity build?
Thanks!