rsdn / nemerle

Nemerle language. Main repository.
http://nemerle.org
Other
620 stars 89 forks source link

Nemerle Projects Block VS 2010 together with ASP.NET MVC 3 Projects (in C#) + NUGET #403

Open emperon opened 12 years ago

emperon commented 12 years ago

When you use a Nemerle project with an asp.net MVC 3 C# project in the same solution and if Nuget extension is installed , opening the solution blocks VS indefinitely. To reproduce the issue:

Prerequisites : Nemerle V 1.1, VS 2010, ASP.NET MVC 3 and Nuget (latest) installed

1-) Create a solution with an ASP.NET MVC 3 project (from C# templates) 2-) Create a Nemerle Class library project in the same solution. 3-) Exit the VS (save the solution) and restart.

Expected: VS should open both projects Actual : VS blocks indefinitely.

Additional findings: Apparently Nuget call to Nemerle causes something to wait

Doing a quick windbg I find this trace waiting:

Child SP IP Call Site 0edbdf4c 77ce013d [HelperMethodFrame_1OBJ: 0edbdf4c] System.Threading.WaitHandle.WaitOneNative(System.Runtime.InteropServices.SafeHandle, UInt32, Boolean, Boolean) 0edbdff4 69ceb79f System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle, Int64, Boolean, Boolean) 0edbe010 69ceb75d System.Threading.WaitHandle.WaitOne(Int32, Boolean) 0edbe028 68c5e064 System.Windows.Forms.Control.WaitForWaitHandle(System.Threading.WaitHandle)* WARNING: Unable to verify checksum for C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\eb48f26f8d7e15ba538ce1c469e82983\System.Windows.Forms.ni.dll * ERROR: Module load completed but symbols could not be loaded for C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\eb48f26f8d7e15ba538ce1c469e82983\System.Windows.Forms.ni.dll

0edbe040 69009f33 System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean) 0edbe044 68c5ff34 [InlinedCallFrame: 0edbe044] 0edbe0e4 68c5ff34 System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[]) 0edbe118 68ee365b System.Windows.Forms.WindowsFormsSynchronizationContext.Send(System.Threading.SendOrPostCallback, System.Object) 0edbe130 098559b1 Microsoft.VisualStudio.Project.UIThread.RunSync(System.Action) 0edbe144 0985591f Nemerle.VisualStudio.Utils.CalcSyncInUIThread[System.__Canon, mscorlib] 0edbe164 09855854 Nemerle.VisualStudio.Project.NemerleOAProject.get_UniqueName() 0edbe170 098557d1 NuGet.VisualStudio.ProjectName..ctor(EnvDTE.Project) 0edbe180 09855730 NuGet.VisualStudio.ProjectCache.AddProject(EnvDTE.Project) 0edbe194 09855559 NuGet.VisualStudio.SolutionManager.AddProjectToCache(EnvDTE.Project) 0edbe1ac 0985495c NuGet.VisualStudio.SolutionManager.EnsureProjectCache() 0edbe1d8 0985477d NuGet.VisualStudio.SolutionManager.OnSolutionOpened() 0edbe1e4 098542c3 NuGet.VisualStudio.SolutionManager..ctor(EnvDTE.DTE, Microsoft.VisualStudio.Shell.Interop.IVsSolution) 0edbe1fc 098529b8 NuGet.VisualStudio.SolutionManager..ctor() 0edbe460 6c0c21bb [GCFrame: 0edbe460] 0edbe484 6c0c21bb [CustomGCFrame: 0edbe484] 0edbe444 6c0c21bb [GCFrame: 0edbe444] 0edbe63c 6c0c21bb [HelperMethodFrame_PROTECTOBJ

NN--- commented 12 years ago

No problems in VS2012