2016-12-30 10 views
1

私のPCをフォーマットした後、Visual Studio 2015を再インストールしてすべてのプロジェクトをロードしましたが、プロジェクトを実行しようとすると、VS 2013で作成されたものそれが正常にビルドが、私はエラープロジェクトはビジュアルスタジオでは実行されません2015

無効なポインタ

を得る代わりに実行し、それはすべて私がアクティビティログを見て、いくつかの掘削した後で、私はこのエラーが表示されません。

 <entry> 
    <record>795</record> 
    <time>2016/12/29 23:53:42.037</time> 
    <type>Information</type> 
    <source>VisualStudio</source> 
    <description>Begin package load [Microsoft.VisualStudio.TraceLogPackage.TraceLogPackage]</description> 
    <guid>{494B203E-3C94-40AB-B331-6CB32460B617}</guid> 
    </entry> 
    <entry> 
    <record>796</record> 
    <time>2016/12/29 23:53:42.037</time> 
    <type>Error</type> 
    <source>VisualStudio</source> 
    <description>CreateInstance failed for package [Microsoft.VisualStudio.TraceLogPackage.TraceLogPackage]Source: &apos;mscorlib&apos; Description: Exception has been thrown by the target of an invocation.&#x000D;&#x000A;System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.Diagnostics.HubExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A; at Microsoft.VisualStudio.TraceLogPackage.TraceLogPackage..ctor()&#x000D;&#x000A; --- End of inner exception stack trace ---&#x000D;&#x000A; at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandleInternal&amp; ctor, Boolean&amp; bNeedSecurityCheck)&#x000D;&#x000A; at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp; stackMark)&#x000D;&#x000A; at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp; stackMark)&#x000D;&#x000A; at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#x000D;&#x000A; at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp; stackMark)&#x000D;&#x000A; at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&#x000D;&#x000A; at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark&amp; stackMark)&#x000D;&#x000A; at System.Activator.CreateInstance(String assemblyName, String typeName)&#x000D;&#x000A; at System.AppDomain.CreateInstance(String assemblyName, String typeName)System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.Diagnostics.HubExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.Diagnostics.HubExtensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A; at Microsoft.VisualStudio.TraceLogPackage.TraceLogPackage..ctor()&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description> 
    <guid>{494B203E-3C94-40AB-B331-6CB32460B617}</guid> 
    <hr>80004005 - E_FAIL</hr> 
    <errorinfo></errorinfo> 
    </entry> 

はこのことについて話して多くの場所を見つけることができませんでしたが、私は、私はこれらの提案を試してみました見つけたものから:\ Users \ユーザーblabla \のAppData \ローミング\マイクロソフト:

1)は、プロファイルディレクトリ

Cと改名しました\ VisualStudioを\ 14.0

2)は、エラー

GUID

に関連したレジストリキーを削除したが、何も任意の助けをいただければ幸い作業していません。

PS:XAML

+0

Windows用のVisual Studio Extensions for Javascriptを修復しましたか? – active92

+0

mm私はプロジェクトが接続されているのを見ることができません。Windows用のC#でビルドされたWindows 8.1のアプリWindows用のVisual Studio Extensions Javascript用のライブラリは効果がないはずですが、試しても害はありません。私はおかげで実行しようとしています –

答えて

0

を持つC#で構築された私はロードしようとしているプロジェクトは、Windows 8.1のアプリケーションでは、「ユーザー」フォルダを使用しないようにしてください。 C:\ Projectsで作成してください....

+0

今それを試みたが、問題を解決しないでも –

+0

パッケージは、NuGetのものを投げているのですか? –

+0

それをチェックしてください: http://stackoverflow.com/questions/32270428/vs2015-error-while-trying-to-run-application-invalid-pointer –

関連する問題