[jira] [Commented] (NPANDAY-586) Support for Visual Studio 2012

2013-05-27 Thread Brett Porter (JIRA)

[ 
https://issues.apache.org/jira/browse/NPANDAY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13667496#comment-13667496
 ] 

Brett Porter commented on NPANDAY-586:
--

Addin seems to start fine and perform normal operations with the new 
HostApplication added.

 Support for Visual Studio 2012
 --

 Key: NPANDAY-586
 URL: https://issues.apache.org/jira/browse/NPANDAY-586
 Project: NPanday
  Issue Type: Improvement
  Components: Visual Studio Add-in
Reporter: Brett Porter
Assignee: Brett Porter

 VS 2012 has been out for a while - it would be good to verify that the Addin 
 works, and that the integration tests pass.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (NPANDAY-586) Support for Visual Studio 2012

2013-05-27 Thread Brett Porter (JIRA)

[ 
https://issues.apache.org/jira/browse/NPANDAY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13667498#comment-13667498
 ] 

Brett Porter commented on NPANDAY-586:
--

Got this when running in debug mode:

{code}
System.InvalidOperationException was unhandled
  Message=DragDrop registration did not succeed.
  Source=System.Windows.Forms
  StackTrace:
   at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
   at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.ListBox.OnHandleCreated(EventArgs e)
   at System.Windows.Forms.Control.WmCreate(Message m)
   at System.Windows.Forms.Control.WndProc(Message m)
   at System.Windows.Forms.ListBox.WndProc(Message m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, 
Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.IntCreateWindowEx(Int32 
dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, 
Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, 
HandleRef hInst, Object pvParam)
   at System.Windows.Forms.UnsafeNativeMethods.CreateWindowEx(Int32 
dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, 
Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, 
HandleRef hInst, Object pvParam)
   at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message m)
   at System.Windows.Forms.Control.WndProc(Message m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message m)
   at System.Windows.Forms.ContainerControl.WndProc(Message m)
   at System.Windows.Forms.Form.WmShowWindow(Message m)
   at System.Windows.Forms.Form.WndProc(Message m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, 
Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, 
Int32 nCmdShow)
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at 
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 
reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 
reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at WindowsApplication2.Program.Main() in 
C:\Users\brett\scm\maestrodev\npanday\dotnet\assemblies\NPanday.VisualStudio.ProjectWizard\src\main\csharp\Program.cs:line
 38
   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence 
assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
  InnerException: System.Threading.ThreadStateException
   Message=Current thread must be set to single thread apartment (STA) mode 
before OLE calls can be made. Ensure that your Main function has 
STAThreadAttribute marked on it.
   Source=System.Windows.Forms
   StackTrace:
at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
   InnerException: 
{code}

This code hasn't been used and can probably be removed.

 Support for Visual Studio 2012
 --

 Key: NPANDAY-586
 URL: https://issues.apache.org/jira/browse/NPANDAY-586
 Project: NPanday
  Issue Type: Improvement
  Components: Visual Studio Add-in
Reporter: Brett Porter
Assignee: Brett Porter

 VS 2012 has been out for a while - it would be good to verify that the Addin 
 works, and that the integration tests pass.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: 

[jira] [Commented] (NPANDAY-586) Support for Visual Studio 2012

2013-05-27 Thread Brett Porter (JIRA)

[ 
https://issues.apache.org/jira/browse/NPANDAY-586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13667516#comment-13667516
 ] 

Brett Porter commented on NPANDAY-586:
--

There's an issue with the project importer tests that fail whenever 
VisualStudioVersion is 11.0 that will need to be addressed, but they otherwise 
pass.

 Support for Visual Studio 2012
 --

 Key: NPANDAY-586
 URL: https://issues.apache.org/jira/browse/NPANDAY-586
 Project: NPanday
  Issue Type: Improvement
  Components: Visual Studio Add-in
Reporter: Brett Porter
Assignee: Brett Porter

 VS 2012 has been out for a while - it would be good to verify that the Addin 
 works, and that the integration tests pass.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira