Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Parsing headers of nuget packages

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
rasmus.debitsch@faro.com Posted - Aug 14 2019 : 03:36:39 AM
Hello,

when opening my solution VaX always parses the includes of the nuget packages installed in the packages folder. Since I have a lot of packages this takes a long time. Is there any way to suppress this?

Thanks
Rasmus

- Visual Studio 2017
- unmanaged c++ projects
- Nuget packages for unmanaged c++ libraries
- Includes of Nuget packages are added to the AdditionalIncludeDirectories of the projects using a props file. E.g.

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Additional includes and source files. -->
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)native;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
</Project>
4   L A T E S T    R E P L I E S    (Newest First)
rasmus.debitsch@faro.com Posted - Aug 16 2019 : 05:05:08 AM
Thank you the the tipp - this resolved the problem.
sean Posted - Aug 15 2019 : 11:21:29 PM
In the registry, you can change the value of "ParseNuGetRepositoryFiles2" from 01 to 00 to disable parsing of the nuget dirs.

That will stop VA from doing a file search in the nuget dirs and parsing the files it finds, but it won't stop VA from resolving include directives and parsing files from the nuget dirs that are included in your project, so the end result is dependent upon how 'connected' the nuget files are to your own source files.
rasmus.debitsch@faro.com Posted - Aug 14 2019 : 05:53:11 AM
Tried this already: The option is Off.
feline Posted - Aug 14 2019 : 05:48:27 AM
As a first thought, do you have:

VA Options -> Performance -> Parse all files when opening a project

turned On or Off? If this is turned On, does turning this Off make any difference?

© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000