2017-09-13 1 views
1

J'utilise Visual Studio 2017 pour mon développement d'applications Web à l'aide de ASP.NET MVC Framework. Je n'ai aucun problème tout au long de l'ouverture de mon projet. Cependant, hier je viens mis à jour mes fenêtres 10. Aujourd'hui, je ne peux pas ouvrir mon précédent projet studio visuel avec suivantVisual Studio 2017: Le projet ASP.NET MVC ne peut pas s'ouvrir après la mise à jour de Windows 10

An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\chan.yoonghon\AppData\Roaming\Microsoft\VisualStudio\15.0_3a4e3740\ActivityLog.xml". 

Exception details: 
System.ArgumentException: The number of generic arguments provided doesn't equal the arity of the generic type definition. 
Parameter name: instantiation 
    at System.RuntimeType.MakeGenericType(Type[] instantiation) 
    at Microsoft.VisualStudio.Composition.Reflection.TypeRef.get_ResolvedType() 
    at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteType() 
    at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteTypeWithoutCollection() 
    at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_IsLazy() 
    at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_LazyFactory() 
    at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import) 
    at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.SatisfyImports() 
    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.SatisfyImmediateImports() 
    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState) 
    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState) 
    at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose() 
    at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass53_0.<CreateExport>b__0() 
    at System.Lazy`1.CreateValue() 
    at System.Lazy`1.LazyInitValue() 
    at System.Lazy`1.get_Value() 
    at Microsoft.VisualStudio.Composition.ExportProvider.<>c__DisplayClass70_0`2.<GetExports>b__1() 
    at System.Lazy`1.CreateValue() 
    at System.Lazy`1.LazyInitValue() 
    at System.Lazy`1.get_Value() 
    at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValue[T]() 
    at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetService[T]() 
    at Microsoft.Internal.VisualStudio.PlatformUI.PivotNavigatorServices.get_AttachedCollectionService() 
    at Microsoft.VisualStudio.PlatformUI.SolutionNavigatorPane.RefillNavigator() 
    at Microsoft.VisualStudio.PlatformUI.SolutionNavigatorPane.OnToolWindowCreated() 
    at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags) 
    at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool) 
    at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool) 
    at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id) 
    at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id) 
    at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() 

J'ai même pas en mesure de créer un nouveau projet aussi ASP.NET Visual Studio avec l'erreur suivante.

The number of generic arguments provided doesn't equal the arity of the generic type definition. 
Parameter name: instantiation 

Répondre

1

Je vous recommande de réparer ou de réinstaller Visual Studio.

Allez dans Démarrer >> Installer Visual Studio >> Lancez >> Klick l'icône à côté de lancer >> Réparation Repair Visual Studio

+0

Il fonctionne pour moi –