-
Notifications
You must be signed in to change notification settings - Fork 519
Error on opening create project with vs2017rc #563
Comments
That's strange. It doesn't happen on my installation of VS2017RC. Is it possible that you have any add-ins installed? Do you have any more information that would enable me to reproduce this error? I'm not sure I can do anything to investigate and fix this without being able to reproduce it. |
HI Steve, many thanks for your quickly replay. Microsoft Visual Studio Enterprise 2017 RC Installed Version: Enterprise Architecture Diagrams and Analysis Tools 00369-50000-00000-AA079 Visual Basic 2017 RC 00369-50000-00000-AA079 Visual C# 2017 RC 00369-50000-00000-AA079 Visual C++ 2017 RC 00369-50000-00000-AA079 Application Insights Tools for Visual Studio Package 8.4.01118.2 ASP.NET and Web Tools 2016 15.0.21206.0 ASP.NET Web Frameworks and Tools 2013 5.2.41123.0 Azure App Service Tools v2.9.6 15.0.21130.0 Azure Data Lake Node 1.0 Azure Data Lake Tools for Visual Studio 2.2.3100.0 Common Azure Tools 1.8 JavaScript Language Service 2.0 JavaScript Project System 2.0 KofePackagePackage Extension 1.0 Microsoft Azure Hive Query Language Service 2.2.3100.0 Microsoft Azure Tools 2.9 Microsoft Continuous Delivery Tools for Visual Studio 0.1 Microsoft MI-Based Debugger 1.0 Microsoft Visual Studio VC Package 1.0 Node.js Tools 1.3.41102.00 Node.js Tools - Profiling 1.3.41102.00 NuGet Package Manager 4.0.0 SQL Server Data Tools 15.1.61124.0 ToolWindowHostedEditor 1.0 TSCPackage Extension 1.0 TypeScript 2.1.3.0 |
@caste1969 Can you keep TypeScript at 2.0.x, 2.1 currently has some issues with ng that will be fixed in the upcoming ng4.x releases. It might not the problem for you, but it's worth a shot! |
I am getting the same thing with the React (no Redux). I am on the same build of Visual Studio as OP. |
Strange. I'm now on the same version of VS2017RC as you, and still don't get such an error. Three things you could try to hopefully narrow this down:
|
Hi , the problem was the version of generator-aspnetcore-spa, I use 0.7.2. With 0.7.3 it works perfectly. |
I create a new project from cmd using yo aspnetcore-spa, with target vs2017. But when I try to open the generated project I got an error like this: value cannot be null, parameter name:key.
Visual studio generate this dump for the error:
=====================
07/01/2017 00:08:45
Recoverable
System.AggregateException: One or more errors occurred. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary
2.FindEntry(TKey key) at System.Collections.Generic.Dictionary
2.get_Item(TKey key)at Microsoft.VisualStudio.ProjectSystem.Designers.PhysicalProjectTreeProvider.ResolveDependentItems(Dictionary
2 pendingItemsByDirectory) at Microsoft.VisualStudio.ProjectSystem.Designers.PhysicalProjectTreeProvider.GenerateOriginalTree(ConfiguredProjectExports configuredProjectExports, CancellationToken cancellationToken) at Microsoft.VisualStudio.ProjectSystem.Designers.PhysicalProjectTreeProvider.<GenerateOriginalTreeAsync>d__117.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.TreeUpdateSubmission.<UpdateTree>d__25.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.<>c__DisplayClass95_0.<<Initialize>b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.<>c__DisplayClass102_0.<<SubmitTreeUpdateAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.<>c__DisplayClass114_0.<<SubmitTreeUpdateHelperAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.<>c__DisplayClass102_0.<<SubmitTreeUpdateAsync>b__0>d.MoveNext() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary
2.FindEntry(TKey key)at System.Collections.Generic.Dictionary
2.get_Item(TKey key) at Microsoft.VisualStudio.ProjectSystem.Designers.PhysicalProjectTreeProvider.ResolveDependentItems(Dictionary
2 pendingItemsByDirectory)at Microsoft.VisualStudio.ProjectSystem.Designers.PhysicalProjectTreeProvider.GenerateOriginalTree(ConfiguredProjectExports configuredProjectExports, CancellationToken cancellationToken)
at Microsoft.VisualStudio.ProjectSystem.Designers.PhysicalProjectTreeProvider.d__117.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.TreeUpdateSubmission.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.<>c__DisplayClass95_0.<b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.<>c__DisplayClass102_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.<>c__DisplayClass114_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.ProjectSystem.ProjectTreeProviderBase.<>c__DisplayClass102_0.<b__0>d.MoveNext()<---
===================
Many thanks
caste
The text was updated successfully, but these errors were encountered: