Quantcast
Channel: SharpDevelop Community
Viewing all 1764 articles
Browse latest View live

List of throwable exceptions for a given method

$
0
0

Hi!

Is there any way to determine what types of exception can be thrown by a given method from IDE? For example tcpclient.connect();?

 Thanks

 

PS. I'm using:

SharpDevelop Version : 4.3.3.9663-463ee024
.NET Version         : 4.0.30319.1

 


SharpDevelop Reports - Tomar los datos desde un DataSet o en su defecto de una Base de Datos SQLite

$
0
0

Hola, les quería consultar si es posible formular reportes con SharpDevelop Reports tomando los datos desde un DataSet, o un DataTable o en su defecto que se tomen los datos desde una base de datos SQLite, sin tener ya creada ninguna plantilla de reporte (es decir sin tener creado el archivo .srd de reporte)

Motiva el hecho que tengo mi Base de Datos creada en SQLite y no encuentro un Modelo de Datos compactible con esta para formular los reportes con SharpDevelop Reports.

Se que si tenemos ya creado el archivo .sdr podríamos en principio tomar los datos de un DataSet o mejor ahun de un DataTable que poseea la misma arquitectura que la base de datos utilizada para crear nuestra plantilla de reporte (archivo.srd), pero el problema es que no hay Modelo de Datos compactible con SQLite que acepte el SharpDevelop Reports.

 

Mas que saber como tomo los datos desde una Base de Datos SQLite (que creo que por ahora no es posible), me gustaría saber como tomar los datos de un DataSet para formular los reportes con SharpDevelop Reports, pues esto me serviría como comodín para reportar datos de cualquier tipo de base de datos.

Si alguien sabe como hacerlo, agradeceré tenga a bien darme una guía para formular mis primeros reportes.

Salud2s.

Which database is Suitable for Sharpdevelop

$
0
0

 Hi All,

I am new to sharpdevelop,can any one pls suggest me for which database to use so that I would be helpful for me to proceed further.

Thanks in Advance

Suvesh

 

System.ArgumentOutOfRangeException: El índice estaba fuera del intervalo.

$
0
0

Me da el siguiente error al intentar imprimir mi reporte:

Alguien sabe como se puede solucionar?

System.ArgumentOutOfRangeException: El índice estaba fuera del intervalo. Debe ser un valor no negativo e inferior al tamaño de la colección.
   en ICSharpCode.Reports.Core.ReportEngine.PreviewPushDataReport
   en Probando_en_C_Sharp_con_FW_3_5.Reporte2.BtnReporte2Click en c:\Users\Administrador\Documents\Programacion\SharpDevelop Projects\Probando en C Sharp con FW 3_5\Probando en C Sharp con FW 3_5\Reporte2 - Con DataTable Combinado.cs:línea 70
   en System.Windows.Forms.Control.OnClick
   en System.Windows.Forms.Button.OnClick
   en System.Windows.Forms.Button.OnMouseUp
   en System.Windows.Forms.Control.WmMouseUp
   en System.Windows.Forms.Control.WndProc
   en System.Windows.Forms.ButtonBase.WndProc
   en System.Windows.Forms.Button.WndProc
   en ControlNativeWindow.OnMessage
   en ControlNativeWindow.WndProc
   en System.Windows.Forms.NativeWindow.DebuggableCallback
   en ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop
   en ThreadContext.RunMessageLoopInner
   en ThreadContext.RunMessageLoop
   en System.Windows.Forms.Application.Run
   en Probando_en_C_Sharp_con_FW_3_5.Program.Main en c:\Users\Administrador\Documents\Programacion\SharpDevelop Projects\Probando en C Sharp con FW 3_5\Probando en C Sharp con FW 3_5\Program.cs:línea 27

SharpZipLib issue while adding reference Windows Phone

$
0
0

I am trying to add dll of SharpZipLib to my Windows Phone 8 project. It gives me following error while adding

a reference to a higher version or incompatible assembly cannot be added to the project

Here is a screen shot

Error

 

Can some one please help me ? How can I solve this issue?

Trying to remove a folder that make sharpziplib crash

$
0
0

Hi i`m trying to extract an epub book but it contains this folder under the name "./" Zip dir which is empty , i tried filtring it but i can skip the folder by GetNextEntry() but it goes looking inside the folder and the code crash, if i delete the folder manually everything goes fine but i can do this every time i download an epub , help will be appreciated:) 

Weird decompilation.

$
0
0

I don't think this is supposed to happen:

 SerializationInfoEnumerator enumerator = info.GetEnumerator();
            while (enumerator.MoveNext())
            {
                string name;
                if ((name = enumerator.Name) != null)
                {
                    if (<PrivateImplementationDetails>{6931C943-9C9F-4C50-A060-66D8ADC4FC9B}.$$method0x6003e35-1 == null)
                    {
                        <PrivateImplementationDetails>{6931C943-9C9F-4C50-A060-66D8ADC4FC9B}.$$method0x6003e35-1 = new Dictionary<stringint>(8)
                        {
                            
                            {
                                "System.Security.ClaimsIdentity.version",
                                0
                            },
                            
                            {
                                "System.Security.ClaimsIdentity.authenticationType",
                                1
                            },
                            
                            {
                                "System.Security.ClaimsIdentity.nameClaimType",
                                2
                            },
                            
                            {
                                "System.Security.ClaimsIdentity.roleClaimType",
                                3
                            },
                            
                            {
                                "System.Security.ClaimsIdentity.label",
                                4
                            },
                            
                            {
                                "System.Security.ClaimsIdentity.actor",
                                5
                            },
                            
                            {
                                "System.Security.ClaimsIdentity.claims",
                                6
                            },
                            
                            {
                                "System.Security.ClaimsIdentity.bootstrapContext",
                                7
                            }
                        };
                    }
                    int num;
                    if (<PrivateImplementationDetails>{6931C943-9C9F-4C50-A060-66D8ADC4FC9B}.$$method0x6003e35-1.TryGetValue(name, out num))
                    {
                        switch (num)
                        {
                        case 0:
                            info.GetString("System.Security.ClaimsIdentity.version");
                            continue;
                        case 1:
                            this.m_authenticationType = info.GetString("System.Security.ClaimsIdentity.authenticationType");
                            continue;
                        case 2:
                            this.m_nameType = info.GetString("System.Security.ClaimsIdentity.nameClaimType");
                            continue;
                        case 3:
                            this.m_roleType = info.GetString("System.Security.ClaimsIdentity.roleClaimType");
                            continue;
                        case 4:
                            this.m_label = info.GetString("System.Security.ClaimsIdentity.label");
                            continue;
                        case 5:
                            using (MemoryStream memoryStream = new MemoryStream(Convert.FromBase64String(info.GetString("System.Security.ClaimsIdentity.actor"))))
                            {
                                this.m_actor = (ClaimsIdentity)binaryFormatter.Deserialize(memoryStream, nullfalse);
                                continue;
                            }
                            break;
                        case 6:
                            break;
                        case 7:
                            using (MemoryStream memoryStream2 = new MemoryStream(Convert.FromBase64String(info.GetString("System.Security.ClaimsIdentity.bootstrapContext"))))
                            {
                                this.m_bootstrapContext = binaryFormatter.Deserialize(memoryStream2, nullfalse);
                            }
                            continue;
                        default:
                            continue;
                        }
                        this.DeserializeClaims(info.GetString("System.Security.ClaimsIdentity.claims"));
                    }
                }
            }

 

in mscorlib:System.Security.Claims.ClaimIdentity.Deserialize(SerializationInfo, StreamingContext, bool) : void

using ilspy version 2.1.0.1646

Imprimir reporte

$
0
0

Hola foro, necesito que alguien me ayude con report generator. He creado un report que tira de una base de datos. El report está creado pero no se como imprimirlo.


Alguien que me pueda echar un cable?

 

He añadido en References las dlll ICSHARPCODE.SHARPZIPLIB e ICDSHARPCODE.REPORTS.CORE pero me da este error:

The type or namespace name 'Reports' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?) (CS0234) - C:\PROGRAMACION\CHARP\GESTION\vehiculos\vehiculos\MainForm.cs:23,19

 

 

 

 

 

 

 

 


unhandled exception

Why no Windows Form in Tools panel?

$
0
0

 Hello all,

On the Home page for SharpDevelop I can see quite clearly the in the Tools Panel there is a tab for Windows Forms. MY Tools panel ends with an expanded Clipboard ring(which I cannot unexpand). How do I get access to Windows Forms, please.

Regards,

David Hyde

SharpDevelop 5.0.0.3284 not working on Windows XP/2003, not a valid Win32 application

$
0
0

Hi ppl...

I've already put this problem in the forums trying a previous version->  5.0.0.2100-newNR-alpha-edbdd876
I've beem waiting for new versions to see if this issue was fixed already

I've download the new 5.0.0.3284 version and the problen persists

When it is launched it gaves me the error "SharpDevelop.exe is not a valid Win32 Application"

?what can be the problem, I've verified the .exe and it is  a Win32 executable

thx

 

Sortierung eines Reports

$
0
0
ich kann ja innerhalb eines DGV die Spalten-Sortierung umändern in dem ich auf jeweiligen Spaltenheader klicke, wie kann ich diese neue Sortierung an einem Report weitergeben (geht das überhaupt )?

 

das heißt ich muss ja die ursprüngliche Sortierung in der X.SRD Datei ändern wie mache ich das ? 

Cannot create project: Cannot load 'SharpSvn.dll'

$
0
0

SharpDevelop Version : 4.3.3.9663-463ee024

.NET Version         : 4.0.30319.1

OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 3

Current culture      : Turkish (Turkey) (tr-TR)

Current UI language  : en

Working Set Memory   : 70284kb

GC Heap Memory       : 11770kb

 

Exception thrown:

System.IO.FileLoadException: Could not load file or assembly 'SharpSvn.dll' or one of its dependencies. Uygulama yapılandırması doğru olmadığından, bu uygulama başlayamadı. Uygulamayı yeniden yüklemek sorunu giderebilir. (Exception from HRESULT: 0x800736B1)

File name: 'SharpSvn.dll'

   at ICSharpCode.Svn.Commands.RegisterEventsCommand.ProjectCreated(Object sender, ProjectEventArgs e)

   at ICSharpCode.SharpDevelop.Project.ProjectService.OnProjectCreated(ProjectEventArgs e)

   at ICSharpCode.SharpDevelop.Internal.Templates.ProjectDescriptor.CreateProject(ProjectCreateInformation projectCreateInformation, String defaultLanguage)

   at ICSharpCode.SharpDevelop.Internal.Templates.ProjectTemplate.CreateProject(ProjectCreateInformation projectCreateInformation)

   at ICSharpCode.SharpDevelop.Project.Dialogs.NewProjectDialog.CreateProject()

   at ICSharpCode.SharpDevelop.Project.Dialogs.NewProjectDialog.TryCreateProject(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

 

---- Recent log messages:

14:00:30.453 [1] INFO - Loading addin Start Page

14:00:30.578 [6] DEBUG - RecentProjectsControl: Looking up path 'C:\Documents and Settings\kmbkm.ekip\Desktop\NX\DiskOfNX\PC-BOT\C#\LF2_Data_Studio\LF2_Data_Studio.sln'

14:00:30.718 [1] DEBUG - ActiveContentChanged to ICSharpCode.StartPage.StartPageViewContent

14:00:30.718 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Start Page]

14:00:30.718 [1] DEBUG - NavigationService

ActiveViewContent: Start Page

         Subview: TabPageText

14:00:30.718 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.StartPage.StartPageViewContent

14:00:30.718 [1] DEBUG - NavigationService -- resume logging

14:00:31.421 [1] INFO - Number of screens: 1

14:00:31.421 [1] INFO - Screen {X=0,Y=0,Width=1024,Height=600}: Validating {X=10,Y=10,Width=750,Height=550}; intersection {X=10,Y=10,Width=750,Height=550}

14:00:31.515 [1] INFO - dockingManager_Loaded

14:00:31.515 [1] INFO - Loading layout file: C:\Documents and Settings\kmbkm.ekip\Application Data\ICSharpCode/SharpDevelop4\layouts\Default.xml, hideAllLostPads=False

14:00:31.609 [1] DEBUG - ActiveContentChanged to 

14:00:31.843 [1] DEBUG - ActiveContentChanged to ICSharpCode.StartPage.StartPageViewContent

14:00:32.015 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.PropertyPad...

14:00:32.140 [1] DEBUG - PropertyPad created

14:00:32.156 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Project.ProjectBrowserPad...

14:00:32.234 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.ErrorListPad...

14:01:04.875 [1] INFO - Loading addin Package Management

14:01:05.843 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.CompilerMessageView...

14:01:06.781 [1] DEBUG - CompilerMessageView: Combined 2 appends.

14:01:23.484 [1] INFO - Creating project from template 'C#/${res:Templates.File.Categories.WindowsApplications}/${res:Templates.Project.WindowsApplication.Name}'

14:01:23.640 [1] INFO - Loading addin C# Binding

14:01:30.843 [1] INFO - Loading addin XAML binding

14:01:30.843 [1] INFO - Loading addin XML Editor

14:01:31.203 [1] ERROR - ThreadException caught

--> Exception:

System.IO.FileLoadException: Could not load file or assembly 'SharpSvn.dll' or one of its dependencies. Uygulama yapılandırması doğru olmadığından, bu uygulama başlayamadı. Uygulamayı yeniden yüklemek sorunu giderebilir. (Exception from HRESULT: 0x800736B1)

File name: 'SharpSvn.dll'

   at ICSharpCode.Svn.Commands.RegisterEventsCommand.ProjectCreated(Object sender, ProjectEventArgs e)

   at ICSharpCode.SharpDevelop.Project.ProjectService.OnProjectCreated(ProjectEventArgs e)

   at ICSharpCode.SharpDevelop.Internal.Templates.ProjectDescriptor.CreateProject(ProjectCreateInformation projectCreateInformation, String defaultLanguage)

   at ICSharpCode.SharpDevelop.Internal.Templates.ProjectTemplate.CreateProject(ProjectCreateInformation projectCreateInformation)

   at ICSharpCode.SharpDevelop.Project.Dialogs.NewProjectDialog.CreateProject()

   at ICSharpCode.SharpDevelop.Project.Dialogs.NewProjectDialog.TryCreateProject(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

 

---- Post-error application state information:

Installed 3rd party AddIns: 

Workbench.ActiveContent: ICSharpCode.StartPage.StartPageViewContent

ProjectService.OpenSolution: <null>

ProjectService.CurrentProject: <null>

Greetings Sharp Develop Community,

First of all, i must say you're doing a great job and hope that will end forever (a long time).

Back to the bug, as you can see I get the error while trying to create a new project.

Additional Info:

I didnt use MSI Setup but copied whole directory which SD is installed from another PC. SD was working as it should on the computer which I used installer but crashes on the other one.

I'm using WindowsXP.

Available frameworks on my PC: 1.0, 1.1, 2.0, 4.0

>> Maybe remind you that english is not my first language.

see: Culture Info

Im thinking about trying Sharp but FooBasic.com Web IDE Looks Easier & Better

$
0
0

I want some honest oppinions which I should use to create my social website with.

A co-worker told me about Foo Basic a software like Sharp but that is easier to create .NET websites in and it automatically supports chrome, firefox, safari, ie, and opera and is ajax. It writes the javascript CSS ajax and HTML for you automatically.

Best of all it lets you code an entire website using just 1 or a combination of classic VB6 code, asp.net code, or classic asp.

Another thing is i read you can obtain a paid version of the product free if you simply contact them and state that you are a poor struggling student trying to teach yourself web programming. their website is foobasic.com

below is a screenshot of the ide and code window

Picture of Foo Basic IDE

 

 

 

 

 

Version required to extract this entry not supported (819)


Sharp Develop 4.3 and Tortoise SVN 1.8

$
0
0

I have just updated the Tortoise SVN to version 1.8 and now Sharp Develop 4.3 continually crash.

How can i disable the svn plugin?

Windows Forms Control does not appear in tools panel

$
0
0

I have discussed this in the User Forum.

What I find is that when I press the Design tab for designin a form all that appears is a pointer, so i have no access to the forms control. Dare I say, this is not what happens in Visual Studio Express.

I can send a screen shot if I have an address.

Regards,

 

David Hyde

Unhandled exception

$
0
0

SharpDevelop Version : 5.0.0.3286-newNR-alpha-9cce5d93
.NET Version         : 4.0.30319.17929
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : Russian (Russia) (ru-RU)
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 214352kb
GC Heap Memory       : 41301kb

Unhandled WPF exception
Exception thrown:
System.InvalidOperationException: This Visual is not connected to a PresentationSource.
   at System.Windows.Media.Visual.PointToScreen(Point point)
   at ICSharpCode.AvalonEdit.AddIn.AvalonEditEditorUIService.GetScreenPosition(Int32 line, Int32 column)
   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsPopup.SetPosition(Popup popup, ITextEditor editor, Int32 line, Int32 column, Boolean openAtWordStart)
   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsBulbPopup.OpenAtLineStart(ITextEditor editor)
   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsRenderer.<TimerMoveTick>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
16:51:58.711 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.711 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.711 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.711 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.711 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.711 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.712 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.715 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.FormsDesigner.FormsDesignerViewContent
16:51:58.715 [1] WARN - WindowActiveCondition: cannot find Type ICSharpCode.XmlEditor.XmlTreeView
16:51:58.867 [1] ERROR - Unhandled WPF exception
--> Exception:
System.InvalidOperationException: This Visual is not connected to a PresentationSource.
   at System.Windows.Media.Visual.PointToScreen(Point point)
   at ICSharpCode.AvalonEdit.AddIn.AvalonEditEditorUIService.GetScreenPosition(Int32 line, Int32 column)
   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsPopup.SetPosition(Popup popup, ITextEditor editor, Int32 line, Int32 column, Boolean openAtWordStart)
   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsBulbPopup.OpenAtLineStart(ITextEditor editor)
   at ICSharpCode.AvalonEdit.AddIn.ContextActions.ContextActionsRenderer.<TimerMoveTick>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution C:\Users\ReDoX\Documents\SharpDevelop Projects\TicTacToe\TicTacToe.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: TicTacToe]
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent

I got this error, when i click on design in "Windows Forms Designer".

Interop.Excel.dll 1.3.0.0 Problems with .net 4.0

$
0
0

Hi,

I have a very odd problem that I've been looking around at for the last 2 weeks off and on.

I'm using SD Version:4.0.0 Build: 7070

Create a new project using .net 3.5

We have Excel 2000 at my work

I add in the COM reference to Microsoft Excel 9.0 Object Library
Add Imports Excel at the top

I can use office automation perfectly without any issues.

 

If I then create a new project but with .net 4.0 instead of 3.5 and do everything else exactly the same it just wont work. It's giving me the following error

System.IO.FileNotFoundException: Could not load file or assembly 'Interop.Office, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.Office, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null'

Where can I find Interop.Office, Version=2.1.0.0 and why does this work perfectly in 3.5?

I feel like I'm going round the bend with this at the moment. I can't downgrade the project as I get loads of other errors to do with resx files that I believe is already an ongoing bug.

Can anyone help me? Otherwise, if I create a new project in .net 4.0 by accident (It's default) then I would have to re-create it all again and copy the code and everything to a new project (Which is a pain as I'm sure you know)

Thanks

Tilly

unhandled when converting to python

$
0
0

 

 

 

 

SharpDevelop Version : 4.3.3.9663-463ee024

.NET Version         : 4.0.30319.1008

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : Dutch (Netherlands) (nl-NL)

Current UI language  : en

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 168300kb

GC Heap Memory       : 51124kb

 

Error on LoadSolutionProjects thread

Exception thrown:

System.AggregateException: One or more errors occurred. ---> System.ApplicationException: Error parsing C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form2.py ---> System.SystemException: 'unicodeescape' codec can't decode bytes in position 342: malformed \N character escape

   at IronPython.Runtime.LiteralParser.ParseString(Char[ text, Int32 start, Int32 length, Boolean isRaw, Boolean isUni, Boolean normalizeLineEndings)

   at IronPython.Compiler.Tokenizer.MakeStringToken(Char quote, Boolean isRaw, Boolean isUnicode, Boolean isBytes, Boolean isTriple, Int32 start, Int32 length)

   at IronPython.Compiler.Tokenizer.ContinueString(Char quote, Boolean isRaw, Boolean isUnicode, Boolean isBytes, Boolean isTriple, Int32 startAdd)

   at IronPython.Compiler.Tokenizer.ReadString(Char quote, Boolean isRaw, Boolean isUni, Boolean isBytes)

   at IronPython.Compiler.Tokenizer.Next()

   at IronPython.Compiler.Tokenizer.GetNextToken()

   at IronPython.Compiler.Parser.FetchLookahead()

   at IronPython.Compiler.Parser.ParseSimpleStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmtTest()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmtTest()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseClassOrFuncBody()

   at IronPython.Compiler.Parser.ParseFuncDef()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseClassOrFuncBody()

   at IronPython.Compiler.Parser.ParseClassDef()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)

   at IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)

   at ICSharpCode.PythonBinding.PythonParser.CreateAst(String fileName, String fileContent)

   at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, String fileContent)

   at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, ITextBuffer textBuffer)

   at ICSharpCode.SharpDevelop.ParserService.FileEntry.ParseFile(IProjectContent parentProjectContent, ITextBuffer fileContent)

   --- End of inner exception stack trace ---

   at ICSharpCode.SharpDevelop.ParserService.FileEntry.ParseFile(IProjectContent parentProjectContent, ITextBuffer fileContent)

   at ICSharpCode.SharpDevelop.ParserService.ParseFile(IProjectContent parentProjectContent, String fileName, ITextBuffer fileContent)

   at ICSharpCode.SharpDevelop.ParseProjectContent.<>c__DisplayClass13.<Initialize2>b__e(FileName fileName)

   at System.Threading.Tasks.Parallel.<>c__DisplayClass2d`2.<ForEachWorker>b__23(Int32 i)

   at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()

   at System.Threading.Tasks.Task.InnerInvoke()

   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)

   at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)

   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IList`1 list, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)

   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)

   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)

   at ICSharpCode.SharpDevelop.ParseProjectContent.Initialize2(IProgressMonitor progressMonitor)

   at ICSharpCode.SharpDevelop.LoadSolutionProjects.JobTask.Run(IProgressMonitor progressMonitor)

   at ICSharpCode.SharpDevelop.LoadSolutionProjects.JobQueue.RunThread()

---> (Inner Exception #0) System.ApplicationException: Error parsing C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form2.py ---> System.SystemException: 'unicodeescape' codec can't decode bytes in position 342: malformed \N character escape

   at IronPython.Runtime.LiteralParser.ParseString(Char[ text, Int32 start, Int32 length, Boolean isRaw, Boolean isUni, Boolean normalizeLineEndings)

   at IronPython.Compiler.Tokenizer.MakeStringToken(Char quote, Boolean isRaw, Boolean isUnicode, Boolean isBytes, Boolean isTriple, Int32 start, Int32 length)

   at IronPython.Compiler.Tokenizer.ContinueString(Char quote, Boolean isRaw, Boolean isUnicode, Boolean isBytes, Boolean isTriple, Int32 startAdd)

   at IronPython.Compiler.Tokenizer.ReadString(Char quote, Boolean isRaw, Boolean isUni, Boolean isBytes)

   at IronPython.Compiler.Tokenizer.Next()

   at IronPython.Compiler.Tokenizer.GetNextToken()

   at IronPython.Compiler.Parser.FetchLookahead()

   at IronPython.Compiler.Parser.ParseSimpleStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmtTest()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmtTest()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseClassOrFuncBody()

   at IronPython.Compiler.Parser.ParseFuncDef()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseClassOrFuncBody()

   at IronPython.Compiler.Parser.ParseClassDef()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)

   at IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)

   at ICSharpCode.PythonBinding.PythonParser.CreateAst(String fileName, String fileContent)

   at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, String fileContent)

   at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, ITextBuffer textBuffer)

   at ICSharpCode.SharpDevelop.ParserService.FileEntry.ParseFile(IProjectContent parentProjectContent, ITextBuffer fileContent)

   --- End of inner exception stack trace ---

   at ICSharpCode.SharpDevelop.ParserService.FileEntry.ParseFile(IProjectContent parentProjectContent, ITextBuffer fileContent)

   at ICSharpCode.SharpDevelop.ParserService.ParseFile(IProjectContent parentProjectContent, String fileName, ITextBuffer fileContent)

   at ICSharpCode.SharpDevelop.ParseProjectContent.<>c__DisplayClass13.<Initialize2>b__e(FileName fileName)

   at System.Threading.Tasks.Parallel.<>c__DisplayClass2d`2.<ForEachWorker>b__23(Int32 i)

   at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()

   at System.Threading.Tasks.Task.InnerInvoke()

   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)

   at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )<---

 

 

---- Recent log messages:

12:40:08.141 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.DirectoryServices.dll

12:40:08.141 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll

12:40:08.141 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll

12:40:08.141 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll

12:40:08.141 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll

12:40:08.141 [LoadSolutionProjects] DEBUG - RefreshProjectContentForReference: not refreshing (rpc.IsUpToDate) C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll

12:40:08.145 [1] DEBUG - Activated feature 'ICSharpCode.AvalonEdit.AddIn.AvalonEditViewContent/open'

12:40:08.146 [1] DEBUG - Trying to restore memento of '[AvalonEditViewContent 20938598\Conversion Results]' from key '1e13ec5:20938598\CONVERSION RESULTS'

12:40:08.156 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent 20938598\Conversion Results]

12:40:08.156 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Conversion Results*]

12:40:08.156 [1] DEBUG - NavigationService

ActiveViewContent: Conversion Results

         Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}

12:40:08.156 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent 20938598\Conversion Results]

12:40:08.158 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form3.py new!=null:True

12:40:08.158 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form3.py new!=null:False

12:40:08.158 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Class1.py new!=null:True

12:40:08.158 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Class1.py new!=null:False

12:40:08.158 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form0.py new!=null:True

12:40:08.159 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form0.py new!=null:False

12:40:08.161 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form1.py new!=null:True

12:40:08.161 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form1.py new!=null:False

12:40:08.196 [1] DEBUG - ParseInformationUpdated C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form4.Designer.py new!=null:True

12:40:08.203 [LoadSolutionProjects] ERROR - Error on LoadSolutionProjects thread

--> Exception:

System.AggregateException: One or more errors occurred. ---> System.ApplicationException: Error parsing C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form2.py ---> System.SystemException: 'unicodeescape' codec can't decode bytes in position 342: malformed \N character escape

   at IronPython.Runtime.LiteralParser.ParseString(Char[ text, Int32 start, Int32 length, Boolean isRaw, Boolean isUni, Boolean normalizeLineEndings)

   at IronPython.Compiler.Tokenizer.MakeStringToken(Char quote, Boolean isRaw, Boolean isUnicode, Boolean isBytes, Boolean isTriple, Int32 start, Int32 length)

   at IronPython.Compiler.Tokenizer.ContinueString(Char quote, Boolean isRaw, Boolean isUnicode, Boolean isBytes, Boolean isTriple, Int32 startAdd)

   at IronPython.Compiler.Tokenizer.ReadString(Char quote, Boolean isRaw, Boolean isUni, Boolean isBytes)

   at IronPython.Compiler.Tokenizer.Next()

   at IronPython.Compiler.Tokenizer.GetNextToken()

   at IronPython.Compiler.Parser.FetchLookahead()

   at IronPython.Compiler.Parser.ParseSimpleStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmtTest()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmtTest()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseClassOrFuncBody()

   at IronPython.Compiler.Parser.ParseFuncDef()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseClassOrFuncBody()

   at IronPython.Compiler.Parser.ParseClassDef()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)

   at IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)

   at ICSharpCode.PythonBinding.PythonParser.CreateAst(String fileName, String fileContent)

   at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, String fileContent)

   at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, ITextBuffer textBuffer)

   at ICSharpCode.SharpDevelop.ParserService.FileEntry.ParseFile(IProjectContent parentProjectContent, ITextBuffer fileContent)

   --- End of inner exception stack trace ---

   at ICSharpCode.SharpDevelop.ParserService.FileEntry.ParseFile(IProjectContent parentProjectContent, ITextBuffer fileContent)

   at ICSharpCode.SharpDevelop.ParserService.ParseFile(IProjectContent parentProjectContent, String fileName, ITextBuffer fileContent)

   at ICSharpCode.SharpDevelop.ParseProjectContent.<>c__DisplayClass13.<Initialize2>b__e(FileName fileName)

   at System.Threading.Tasks.Parallel.<>c__DisplayClass2d`2.<ForEachWorker>b__23(Int32 i)

   at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()

   at System.Threading.Tasks.Task.InnerInvoke()

   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)

   at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)

   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IList`1 list, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)

   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)

   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)

   at ICSharpCode.SharpDevelop.ParseProjectContent.Initialize2(IProgressMonitor progressMonitor)

   at ICSharpCode.SharpDevelop.LoadSolutionProjects.JobTask.Run(IProgressMonitor progressMonitor)

   at ICSharpCode.SharpDevelop.LoadSolutionProjects.JobQueue.RunThread()

---> (Inner Exception #0) System.ApplicationException: Error parsing C:\Users\bto\Desktop\New folder (11)\Scan project.ConvertedToPython\Form2.py ---> System.SystemException: 'unicodeescape' codec can't decode bytes in position 342: malformed \N character escape

   at IronPython.Runtime.LiteralParser.ParseString(Char[ text, Int32 start, Int32 length, Boolean isRaw, Boolean isUni, Boolean normalizeLineEndings)

   at IronPython.Compiler.Tokenizer.MakeStringToken(Char quote, Boolean isRaw, Boolean isUnicode, Boolean isBytes, Boolean isTriple, Int32 start, Int32 length)

   at IronPython.Compiler.Tokenizer.ContinueString(Char quote, Boolean isRaw, Boolean isUnicode, Boolean isBytes, Boolean isTriple, Int32 startAdd)

   at IronPython.Compiler.Tokenizer.ReadString(Char quote, Boolean isRaw, Boolean isUni, Boolean isBytes)

   at IronPython.Compiler.Tokenizer.Next()

   at IronPython.Compiler.Tokenizer.GetNextToken()

   at IronPython.Compiler.Parser.FetchLookahead()

   at IronPython.Compiler.Parser.ParseSimpleStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmtTest()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmtTest()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseIfStmt()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseClassOrFuncBody()

   at IronPython.Compiler.Parser.ParseFuncDef()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseSuite()

   at IronPython.Compiler.Parser.ParseClassOrFuncBody()

   at IronPython.Compiler.Parser.ParseClassDef()

   at IronPython.Compiler.Parser.ParseStmt()

   at IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)

   at IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)

   at ICSharpCode.PythonBinding.PythonParser.CreateAst(String fileName, String fileContent)

   at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, String fileContent)

   at ICSharpCode.PythonBinding.PythonParser.Parse(IProjectContent projectContent, String fileName, ITextBuffer textBuffer)

   at ICSharpCode.SharpDevelop.ParserService.FileEntry.ParseFile(IProjectContent parentProjectContent, ITextBuffer fileContent)

   --- End of inner exception stack trace ---

   at ICSharpCode.SharpDevelop.ParserService.FileEntry.ParseFile(IProjectContent parentProjectContent, ITextBuffer fileContent)

   at ICSharpCode.SharpDevelop.ParserService.ParseFile(IProjectContent parentProjectContent, String fileName, ITextBuffer fileContent)

   at ICSharpCode.SharpDevelop.ParseProjectContent.<>c__DisplayClass13.<Initialize2>b__e(FileName fileName)

   at System.Threading.Tasks.Parallel.<>c__DisplayClass2d`2.<ForEachWorker>b__23(Int32 i)

   at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()

   at System.Threading.Tasks.Task.InnerInvoke()

   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)

   at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )<---

 

12:40:08.299 [LoadSolutionProjects] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.Core.MessageService.ShowException(Exception ex, String message)

   at ICSharpCode.SharpDevelop.LoadSolutionProjects.JobQueue.RunThread()

   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

12:40:08.330 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

12:40:08.331 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent 20938598\Conversion Results]

 

---- Post-error application state information:

Installed 3rd party AddIns: 

Workbench.ActiveContent: --> Exception thrown by the state getter:

System.InvalidOperationException: This operation can be called on the main thread only.

   at ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.AssertMainThread()

   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.get_ActiveContent()

   at ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.<InitializeWorkbench>b__0()

   at ICSharpCode.Core.ApplicationStateInfoService.GetCurrentApplicationStateInfo()

ProjectService.OpenSolution: [Solution: FileName=C:\Users\bto\Desktop\New folder (11)\Scan project\Scan project.sln, HasProjects=True, ReadOnly=False]

ProjectService.CurrentProject: [CSharpProject: Scan project]

Viewing all 1764 articles
Browse latest View live