C++ EAP, doesn't find headers.

Hello,

I am using:
JetBrains ReSharper Platform 6 Build 6.0.20141121.230133-eap8 on 2014-11-21 23:04:29Z
BestBefore: 2014-12-21
JetBrains ReSharper C++ 9.0 EAP 7 Build 9.0.20141122.140-eap8 on 2014-11-22 00:36:04Z

JetBrains ReSharper Platform 6 Build 6.0.20141121.230133-eap8 on 2014-11-21 23:04:29Z
BestBefore: 2014-12-21
JetBrains ReSharper C++ 9.0 EAP 7 Build 9.0.20141122.140-eap8 on 2014-11-22 00:36:04Z
Application Packages:
JetBrains Fake VisualStudio VsPackageAssembly build 12.0.0.0 on 2014-11-25 01:54:04Z.
JetBrains Platform Annotations build 6.0.20141121.230133-eap8 on 2014-11-21 23:04:29Z best before 2014-12-21.
JetBrains Platform Core Ide build 6.0.20141121.230133-eap8 on 2014-11-21 23:04:29Z best before 2014-12-21.
JetBrains Platform Core Shell build 6.0.20141121.220210-eap8 on 2014-11-21 22:59:51Z best before 2014-12-21.
JetBrains Platform Core Text build 6.0.20141121.230133-eap8 on 2014-11-21 23:04:29Z best before 2014-12-21.
JetBrains Platform Symbols build 6.0.20141121.230133-eap8 on 2014-11-21 23:04:29Z best before 2014-12-21.
JetBrains Platform VisualStudio build 6.0.20141121.230133-eap8 on 2014-11-21 23:04:29Z best before 2014-12-21.
JetBrains Psi.Features Cpp src build 9.0.20141122.140-eap8 on 2014-11-22 00:36:04Z best before 2014-12-22.
JetBrains Psi.Features ExternalAnnotations build 9.0.20141121.230179-eap8 on 2014-11-21 23:52:27Z best before 2014-12-21.
JetBrains Psi.Features src build 9.0.20141121.230179-eap8 on 2014-11-21 23:52:27Z best before 2014-12-21.
JetBrains Psi.Features Tasks build 6.0.20141121.230179-eap8 on 2014-11-21 23:52:27Z best before 2014-12-21.
JetBrains Psi.Features VisualStudio build 9.0.20141121.230179-eap8 on 2014-11-21 23:52:27Z best before 2014-12-21.
ReSharper for C++ 9.0.0 Free trial period is running. 27 days left
Plugins: none
Visual Studio 12.0.31101.0.
Copyright © 2014 JetBrains. All rights reserved.


In my solution, it no longer finds headers properly.

For example, if my files are:

c:\solution\parta\inc\partAHeader.h
c:\solution\partb\src\parB.cpp

and if partB.cpp includes "partAHeader" and my sources file specifies it properly.
Resharper asks me to add "#include ../../../parta/inc/partaheader.h"

The path to "partAHeader.h" is properly defined.

I use MSBuild.

I have tried disabling it from options as well.

5 comments
Comment actions Permalink

Hello Abhishek

  Thanks for the report.

  Could you please create a sample demo solution which will demonstrate the issue and send me it?

Thanks!

0
Comment actions Permalink

Same for me ... I have tried to find out what are the Resharper's search paths for include files...

Basically no include works so no types are resolved by Resharpes thus I get only errors.

It also suggest "#include ...\...\..\header.h" but I don't want to do that because my headers are in dedicated include folder....
It doesn't even find standard library includes... (#include <list> / #include<string>) :(

In my case it's an NMake project.


PS. Solution wide analysis sees no problems it's only file-based one.


-----------------------------------------------

JetBrains ReSharper Platform 6 Build 6.0.20141127.180119-eap9 on 2014-11-27 18:05:14Z
BestBefore: 2014-12-27
JetBrains ReSharper 9.0 Beta 1 Build 9.0.20141127.180155-eap9 on 2014-11-27 18:35:20Z
JetBrains ReSharper C++ 9.0 EAP 7 Build 9.0.20141127.180173-eap9 on 2014-11-27 18:39:35Z

Application Packages:
JetBrains Fake VisualStudio VsPackageAssembly build 12.0.0.0 on 2014-12-01 10:51:57Z.
JetBrains Platform Annotations build 6.0.20141127.180119-eap9 on 2014-11-27 18:05:14Z best before 2014-12-27.
JetBrains Platform Core Ide build 6.0.20141127.180119-eap9 on 2014-11-27 18:05:14Z best before 2014-12-27.
JetBrains Platform Core Shell build 6.0.20141127.170208-eap9 on 2014-11-27 17:59:49Z best before 2014-12-27.
JetBrains Platform Core Text build 6.0.20141127.180119-eap9 on 2014-11-27 18:05:14Z best before 2014-12-27.
JetBrains Platform Installer build 6.0.20141127.180119-eap9 on 2014-11-27 18:05:14Z best before 2014-12-27.
JetBrains Platform Symbols build 6.0.20141127.180119-eap9 on 2014-11-27 18:05:14Z best before 2014-12-27.
JetBrains Platform VisualStudio build 6.0.20141127.180119-eap9 on 2014-11-27 18:05:14Z best before 2014-12-27.
JetBrains Psi.Features Cpp src build 9.0.20141127.180173-eap9 on 2014-11-27 18:39:35Z best before 2014-12-27.
JetBrains Psi.Features ExternalAnnotations build 9.0.20141127.180144-eap9 on 2014-11-27 18:16:28Z best before 2014-12-27.
JetBrains Psi.Features SolutionBuilder build 9.0.20141127.180144-eap9 on 2014-11-27 18:16:28Z best before 2014-12-27.
JetBrains Psi.Features src build 9.0.20141127.180144-eap9 on 2014-11-27 18:16:28Z best before 2014-12-27.
JetBrains Psi.Features Tasks build 6.0.20141127.180144-eap9 on 2014-11-27 18:16:28Z best before 2014-12-27.
JetBrains Psi.Features VisualStudio build 9.0.20141127.180144-eap9 on 2014-11-27 18:16:28Z best before 2014-12-27.
JetBrains ReSharper src build 9.0.20141127.180155-eap9 on 2014-11-27 18:35:20Z best before 2014-12-27.

ReSharper 9.0.0.0 Free trial period is running. 27 days left
ReSharper for C++ 9.0.0 Free trial period is running. 29 days left
Plugins: none
Visual Studio 12.0.31101.0.

Copyright © 2014 JetBrains. All rights reserved.

0
Comment actions Permalink

Lukasz, can you provide a solution. I am not sure if I can provide mine.
I tried today with EAP 10, still same issue.

0
Comment actions Permalink

same problem here.

0
Comment actions Permalink

Sorry, but the project I'm working on cannot be shared. I'll try out to come up with some sort of demo. - from what I see it should not be too difficult.

0

Please sign in to leave a comment.