Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, December 6, 2017 3:16 PM
Hi
I just installed the latest visual studio 2017 (15.5) on my computer. I previously had visual studio 2012 and I am using windows 7.
I keep getting a popup saying
Package Management Initialization Failed
the log file has the following errors
<entry>
<record>33</record>
<time>2017/12/06 15:06:41.742</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Failed to process PkgDef file</description>
<hr>8007001f</hr>
<errorinfo></errorinfo>
<path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\DSLTextTemplatingRegistry_x86.pkgdef</path>
</entry>
<entry>
<record>34</record>
<time>2017/12/06 15:06:41.742</time>
<type>Error</type>
<source>VisualStudio</source>
<description>PkgDef loading aborted</description>
<hr>8007001f</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>35</record>
<time>2017/12/06 15:06:41.742</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CPkgDefCacheNonVolatileBase: PkgDef cache creation failed. Going volatile and trying again.</description>
<hr>8007001f</hr>
<errorinfo></errorinfo>
</entry>
Thanks
All replies (1)
Thursday, December 7, 2017 8:14 AM
Hi Amichai,
Thank you for posting in MSDN forum.
Please see: Access Denied error creating registry keys on Windows 7
This is a new random corruption issue of the private registry file on Windows 7. You could try with following steps to troubleshoot:
1. Upgrade the VS installer to the latest version.
2. Deleting privateregistry.bin and restarting VS
As we know, it's related to lack of fix of Win 7, Visual Studio product team is investigating for a fix. Please wait patiently till next version releasing to fix this issue.
Thank you for your understanding.
Best Regards,
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].