none
Visual Studio2017の起動ができない。 RRS feed

  • 質問

  • Visual Studio 2017 Communityをインストールし、起動しようとしたところ下記のエラーメッセージが表示され起動できません。

    /

    Package Managementの初期化に失敗しました。

    次のファイルを調べると、さらに情報が得られます。

    C:\Users\xxx\AppData\Roaming\Microsoft\VisualStudio\15.0~\ActivityLog.xml

    /

    管理者権限で実行しております。

    C:\Users\xxx\AppData\Roaming\Microsoft\VisualStudio\15.0~

    のフォルダを削除すると直るとの情報も得て試してみましたが症状は変わりませんでした。

    下記にActivityLog.xmlの中身を記載します。

    <?xml version="1.0" encoding="utf-16"?>
    <?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>
    <activity>
      <entry>
        <record>1</record>
        <time>2018/01/18 10:23:32.291</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Microsoft Visual Studio 2017 version: 15.0.27130.2024</description>
      </entry>
      <entry>
        <record>2</record>
        <time>2018/01/18 10:23:32.291</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Log ID</description>
        <guid>{CC4E713C-D407-4DF8-A5C1-D70066BB303E}</guid>
      </entry>
      <entry>
        <record>3</record>
        <time>2018/01/18 10:23:32.306</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Running in isolation mode.</description>
      </entry>
      <entry>
        <record>4</record>
        <time>2018/01/18 10:23:32.306</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Looking for master PkgDef file</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\master.pkgdef</path>
      </entry>
      <entry>
        <record>5</record>
        <time>2018/01/18 10:23:32.306</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Creating PkgDefCacheNonVolatile</description>
      </entry>
      <entry>
        <record>6</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Double-checking master pkgdef file</description>
      </entry>
      <entry>
        <record>7</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>PkgDefManagement initialized</description>
      </entry>
      <entry>
        <record>8</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>RootFolder</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\</path>
      </entry>
      <entry>
        <record>9</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>ShellFolder</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\</path>
      </entry>
      <entry>
        <record>10</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>PkgDefSearchPath</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.admin.pkgdef</path>
      </entry>
      <entry>
        <record>11</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>ImageManifestSearchPath</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions;C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\15.0_6ba520c5\Extensions</path>
      </entry>
      <entry>
        <record>12</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>ApplicationExtensionsFolder</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions</path>
      </entry>
      <entry>
        <record>13</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>&quot;ZeroImpact&quot; = dword:0, &quot;MergeRegistry&quot; = dword:3</description>
      </entry>
      <entry>
        <record>14</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>Microsoft Visual Studio Appid Stub</source>
        <description>Application launch on system with DPI X/Y: 96/96</description>
      </entry>
      <entry>
        <record>15</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>No previous pkgdef cache data</description>
        <hr>80070002</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>16</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>PkgDefCache fast check: the timestamps are not current because the cache is either missing or corrupt.</description>
      </entry>
      <entry>
        <record>17</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>PkgDefManagement: PkgDef cache fast check returned false; cache will be regenerated.</description>
      </entry>
      <entry>
        <record>18</record>
        <time>2018/01/18 10:23:32.400</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Searching for PkgDefs from search path</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.admin.pkgdef</path>
      </entry>
      <entry>
        <record>19</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Missing folder or file during PkgDef scan</description>
        <hr>80030002</hr>
        <errorinfo></errorinfo>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.admin.pkgdef</path>
      </entry>
      <entry>
        <record>20</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Discovered 357 PkgDef files</description>
      </entry>
      <entry>
        <record>21</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>PkgDefCache flags</description>
        <hr>00013801</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>22</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Warning</type>
        <source>VisualStudio</source>
        <description>No previous pkgdef cache data</description>
        <hr>80070002</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>23</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>PkgDefCache fast check: the timestamps are not current because the cache is either missing or corrupt.</description>
      </entry>
      <entry>
        <record>24</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>CPkgDefCacheNonVolatileBase: PkgDef cache is out of date.</description>
      </entry>
      <entry>
        <record>25</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Initializing non-volatile pkgdef cache</description>
      </entry>
      <entry>
        <record>26</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>InitializeCache: Deleting configuration if it exists</description>
      </entry>
      <entry>
        <record>27</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>InitializeCache: Deleting abandoned volatile cache</description>
      </entry>
      <entry>
        <record>28</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>InitializeCache: Pre initializing cache</description>
      </entry>
      <entry>
        <record>29</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>InitializeCache: Importing config package defs</description>
      </entry>
      <entry>
        <record>30</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Loading discovered pkgdef files</description>
      </entry>
      <entry>
        <record>31</record>
        <time>2018/01/18 10:23:32.983</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Importing pkgdef file</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\master.pkgdef</path>
      </entry>
      <entry>
        <record>32</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Importing pkgdef file</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\DSLTextTemplatingRegistry_x86.pkgdef</path>
      </entry>
      <entry>
        <record>33</record>
        <time>2018/01/18 10:23:32.998</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\Community\Common7\IDE\Extensions\DSLTextTemplatingRegistry_x86.pkgdef</path>
      </entry>
      <entry>
        <record>34</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>PkgDef loading aborted</description>
        <hr>8007001f</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>35</record>
        <time>2018/01/18 10:23:32.998</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>
      <entry>
        <record>36</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Going volatile: Recalculated pkgdef configuration root</description>
        <path>Software\Microsoft\VisualStudio\15.0_6ba520c5_Config_6488</path>
      </entry>
      <entry>
        <record>37</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>On Windows 7 - keep REG_OPTION_NON_VOLATILE</description>
      </entry>
      <entry>
        <record>38</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Initializing non-volatile pkgdef cache</description>
      </entry>
      <entry>
        <record>39</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>InitializeCache: Deleting configuration if it exists</description>
      </entry>
      <entry>
        <record>40</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>InitializeCache: Deleting abandoned volatile cache</description>
      </entry>
      <entry>
        <record>41</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>InitializeCache: Pre initializing cache</description>
      </entry>
      <entry>
        <record>42</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>InitializeCache: Importing config package defs</description>
      </entry>
      <entry>
        <record>43</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Loading discovered pkgdef files</description>
      </entry>
      <entry>
        <record>44</record>
        <time>2018/01/18 10:23:32.998</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Importing pkgdef file</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\master.pkgdef</path>
      </entry>
      <entry>
        <record>45</record>
        <time>2018/01/18 10:23:33.014</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Importing pkgdef file</description>
        <path>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\DSLTextTemplatingRegistry_x86.pkgdef</path>
      </entry>
      <entry>
        <record>46</record>
        <time>2018/01/18 10:23:33.014</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\Community\Common7\IDE\Extensions\DSLTextTemplatingRegistry_x86.pkgdef</path>
      </entry>
      <entry>
        <record>47</record>
        <time>2018/01/18 10:23:33.014</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>PkgDef loading aborted</description>
        <hr>8007001f</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>48</record>
        <time>2018/01/18 10:23:33.014</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>Error or timeout while initializing non-volatile pkgdef cache</description>
        <hr>8007001f</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>49</record>
        <time>2018/01/18 10:23:33.014</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>PkgDefManagement startup complete</description>
      </entry>
      <entry>
        <record>50</record>
        <time>2018/01/18 10:23:33.014</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Configuration is Volatile.</description>
      </entry>
      <entry>
        <record>51</record>
        <time>2018/01/18 10:23:33.014</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Configuration file to be used for CLR initialization</description>
        <path>C:\Users\xxx\AppData\Local\Temp\devE459.tmp</path>
      </entry>
      <entry>
        <record>52</record>
        <time>2018/01/18 10:23:33.014</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>Failure calling FinishInitialize.</description>
        <hr>8007001f</hr>
        <errorinfo></errorinfo>
      </entry>
    </activity>
    

    2018年1月19日 0:55