|T O P I C R E V I E W
||Posted - Aug 14 2019 : 03:36:39 AM
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?
- 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. -->
|4 L A T E S T R E P L I E S (Newest First)
||Posted - Aug 16 2019 : 05:05:08 AM
Thank you the the tipp - this resolved the problem.
||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.
||Posted - Aug 14 2019 : 05:53:11 AM
Tried this already: The option is Off.
||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?