Author |
Topic  |
|
SimonR_
New Member

Austria
2 Posts |
Posted - Jul 18 2020 : 08:04:57 AM
|
Hello, I've just installed Visual Assist 10.9.2382 and I noticed vcpkg is not working correctly. There is no autocomplete (also for header files), namespaces are not colored correctly. In general, most Visual Assists features do not work properly.
No autocomplete for headers

No color for namespaces

What should I do? It's definitely a Visual Assist error, as it works fine with IntelliSense. Maybe it's because vcpkg is on another drive?
|
|
feline
Whole Tomato Software
    
United Kingdom
17186 Posts |
Posted - Jul 20 2020 : 07:37:52 AM
|
Can you explain what you mean by vcpkg? Have you installed boost via some form of package manager? Perhaps NuGet? If so, what method have you used?
Have you restarted the IDE since installing the boost package? I am wondering if VA has picked up the extra include directories yet? It sounds like it hasn't, but I am not sure why. |
zen is the art of being at one with the two'ness |
 |
|
feline
Whole Tomato Software
    
United Kingdom
17186 Posts |
Posted - Jul 20 2020 : 12:18:50 PM
|
From our release notes, VA has been handling the include directories for vcpkg directories for some years now. Setting up a test case to see if I can reproduce this problem here. |
zen is the art of being at one with the two'ness |
 |
|
SimonR_
New Member

Austria
2 Posts |
Posted - Jul 20 2020 : 1:38:17 PM
|
Yes, I used the vcpkg to download the libraries. I've tried the global integration and the integration via NuGet, but VA doesn't work properly. The program itself compiles and runs fine. It worked one time, but not anymore. Also reinstalled Visual Studio, didn't help either. |
 |
|
feline
Whole Tomato Software
    
United Kingdom
17186 Posts |
Posted - Jul 21 2020 : 11:31:03 AM
|
Something is going wrong here, I am looking into it. For now, as a temporary work around, can you please go into your project settings, right click on the project node in Solution Explorer, and add the base directory that vcpkg is using for your libraries to the setting:
Project properties -> VC++ Directories -> Include Directories
this should be the directory:
\\vcpkg\installed\x86-windows\include
where the first part will be the install path you have used for vcpkg. VA will pick up the required include directories from this setting. |
zen is the art of being at one with the two'ness |
 |
|
feline
Whole Tomato Software
    
United Kingdom
17186 Posts |
Posted - Jul 22 2020 : 2:45:36 PM
|
It looks like a change inside Visual Studio its self broke how we pick up the directories for vcpkg, I have put in a bug report for this:
case=142493
for now, manually adding the directory to the solution include directories should fix the problem. |
zen is the art of being at one with the two'ness |
 |
|
|
Topic  |
|