-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#import
of .tlb
files fail due to /Fo
argument to cl.exe
not being considered.
#10710
Comments
Hi @akbyrd . I think When using Let me know if that resolves the issue for you. If not, could you specify exactly what error message remains associated with the squiggle? |
Even with the extra files present it doesn't resolve. It works if the tlh is next to the cpp, but not if it's in another directory, even if it's added to the path. It's fine if the tlb is in a another directory. Here's a repro: |
Hi @akbyrd . When I compile with However, a |
Indeed, that looks like the underlying issue |
#import
is not resolved#import
of .tlb
files fail due to /Fo
argument to cl.exe
not being considered.
I'm testing the new release (1.15.4) and still running into some issues. Issue 1 Issue 2
Issue 3 |
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
#import
statements are not resolved in C++/CLI code. This leads to error squiggles being disabled for the entire translation unit ifC_Cpp.errorSquiggles
is set toenabledIfIncludesResolve
which makes that setting unusable in C++/CLI codebases.Notice the error squiggle, despite the tlb sitting right there.
But this compiles just fine
Expected behavior:
#import
s should resolveConfiguration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: