Open burtonrodman opened 10 years ago
What type of project is this? ASP.NET MVC, Web Forms, Windows Store Apps, etc.?
web forms
Not the exact stack-trace, but the similar issue #1384 was fixed by #1385. We aren't using AddFileToActiveProject
there anymore.
Also happens during bundling in an MVC project:
13.08.2014 11:20:36: System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
at EnvDTE.Properties.Item(Object index)
at MadsKristensen.EditorExtensions.ProjectHelpers.AddFileToActiveProject(String fileName, String itemType)
at MadsKristensen.EditorExtensions.BundleFilesMenu.<GenerateAsync>d__2d.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 MadsKristensen.EditorExtensions.BundleFilesMenu.<UpdateBundleAsync>d__22.MoveNext()
Can you guys reproduce it with the nightly build?
Nightly build fixed it for me. Thanks.
I received a pop-up error when starting debugging. The following message was added to the Build output. I have VS2013 Ultimate with Update 3 and Web Essentials 2.3. Let me know what other info you need.
8/12/2014 10:52:12 AM: System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at EnvDTE.Properties.Item(Object index) at MadsKristensen.EditorExtensions.ProjectHelpers.AddFileToActiveProject(String fileName, String itemType) at MadsKristensen.EditorExtensions.BundleFilesMenu.d2d.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 MadsKristensen.EditorExtensions.BundleFilesMenu.d 22.MoveNext()