Bug Report
Cant open a dll or exe produced by VS2017
I get the following error:
at Microsoft.Cci.Pdb.MsfDirectory..ctor(PdbReader reader, PdbFileHeader head, BitAccess bits)
at Microsoft.Cci.Pdb.PdbFile.LoadFunctions(Stream read, Dictionary`2& tokenToSourceMapping, String& sourceServerData, Int32& age, Guid& guid)
at Mono.Cecil.Pdb.PdbReader.PopulateFunctions()
at Mono.Cecil.Pdb.PdbReader.ProcessDebugHeader(ImageDebugDirectory directory, Byte[ header)
at Mono.Cecil.ModuleDefinition.ProcessDebugHeader()
at ICSharpCode.ILSpy.LoadedAssembly.LoadSymbols(ModuleDefinition module)
at ICSharpCode.ILSpy.LoadedAssembly.LoadAssembly(Object state)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Error in Design tab when use LINQ Statement in the code.
I was using lateest version of sharpdevlope, but I designer tab was not shwoing. So installed 4.4 version. I am able to see Desgin tab on this version.
But if the source contain any LINQ Statmenet like below it give error while click on Desgin tab.
Same code working in Visual Studio 2012.
dim listStudents = (from m in Students
select m).ToList()
Any body have solution on this..
Thanks in advance.
Rais
Is there an updated FAQ for converting VSShell extensions?
A lot of the docs seem to be a bit dated.
Database
Hi there.
I started programming in C# using SharpDevelopment.
Now I would like to create a database or use the existing db.mdb.
Since I never did this before, I am asking for a noob explanation on setting this up.
The database should be in the same directory as the executable and contain several subdatabases.
It would be great if you could help me
Donk
Breakpoint bug
Hi,
I just want to give a bug repport for the next upgrads.
I use SharpDevelop 5.1, and when I set a breakpoint for testing my code, the application raise fatal error and it's stopped.
My OS session was into User mode. I've tested it into session with Administrator mode and I have no error. The beakpoint is correctly executed and I can acces my objects values.
Before, I've tested it session User mode and starting SharpDevelop as Administrator... it also bugged.
Thanks
OS : Windows 7, 64 bits
Unexpected eof
Hello.
I have a data matrix that i decode with zxing and what i get from it is encoded with java zip.Now im using sharpzip but every time i get un unexpected eof when it gets to GetNextEntry().
Here is my code, i can't figure what im doing wrong:
IBarcodeReader reader = new BarcodeReader();
Bitmap bmp = new Bitmap("D:/scanate/scan.jpg");
var result = reader.Decode(bmp);
var tostring = result.ToString();
byte[ toBytes = Encoding.UTF8.GetBytes(tostring);
var unzip = UnzipArray(toBytes);
public static byte[ UnzipArray(byte[ inputArray)
{
var buffer = new byte[Environment.Is64BitProcess ? 4096 : 2048];
try
{
using (var outStream = new MemoryStream())
{
using (var inStream = new MemoryStream(inputArray))
{
using (var zip = new ZipInputStream(inStream))
{
if (zip.GetNextEntry() != null)
{
int outSize = 0;
while ((outSize = zip.Read(buffer, 0, buffer.Length)) > 0)
{
outStream.Write(buffer, 0, outSize);
}
}
}
}
return outStream.ToArray();
}
}
catch (Exception ex)
{
throw new ZipException(string.Format(Properties.Resources.ErrorUnzippingArray, "JavaZip", ex.Message));
}
}
If someone can help me?
Equivalent to "Unit Test Project"?
Normal 0 21 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Normal tabell"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:8.0pt; mso-para-margin-left:0cm; line-height:107%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-ansi-language:EN-US; mso-fareast-language:EN-US;}
I'm trying to setup a test framework in Sharpdevelop and there's this guide but the creator is using Visual Studio. He first creates a C# Class Library and names it WordpressAutomation, I assume the equivalent in Sharpdevelop is"Class Library", then he creates a "Test Project" in Visual Studio and names it "WordpressTests"..
In the Automation project he references the Selenium packages (used to command browsers in testing), and in the test project he references the framework, looking like this:
-- WordpressAutomation --
namespaceWordpressAutomation
{
public class Class1
{
public void Go()
{
var driver = new FirefoxDriver();
driver.Navigate().GoToUrl("http://www.google.com");
}
}
}
-- WordpressTests --
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WordpressAutomation;
namespace WordpressTests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod()
{
var c = new Class1();
c.Go();
}
}
}
However, when trying to do the same I'm not
sure what to use.Is there an equivalent to "Unit Test Project"? I
tried using an empty project, and then going from there but it gives me the"CS5001 - does not contain a static 'Main' method suitable for an entry
point" error. What am I missing?
Also, is the NUnit framework a good alternative to Visual Studio's TestTools?
migrate sharpdevelop project to visual studio
i have a project in sharpdevelop, this is vb.net, when i do a little modification the sharpdevelop is freeze , i use sharpdevelop 4.4, and i know the version 5 is not support vb.net, i want to migrate my project to visual studio, When i open the project woks fine, but i have any change in any form, i visual studio change the structure to the form, the file ?????.designer.vb is modificated, into the lines with addhandler as follows:
"AddHandler Me.clientesbtn.Click, AddressOf Me.Clientesbtn_Click "
are deleted, all of them, and in "sub" lines, with events like next one:
"Sub OpcionesToolStripMenuItemClick(ByVal sender As Object, ByVal e As EventArgs)"
visual studio add the next into the end of line "Handles opcionesToolStripMenuItem.Click", then all lines sub with events have changes and when i compile the project i have multiple error, and they are de same
"Error18La cláusula Handles requiere una variable WithEvents definida en el tipo contenedor o en uno de sus tipos base."
I dont know how to repair the project, o exist any method to migrate from sharpdevelop to visual studio? please help me, thanks
Export SharpDevelop project for Visual Studio .NET 2003 (and 2005)?
I was wondering if there is an export equivalent in the current release or a future release? It would be really useful since then Developers can share code between SharpDevelop & VS .NET without having to manually re-create a solution/project, etc., keeping the settings intact.
I am a little lost, not sure what to ask or search for.
Hello all,
Essentially here is my issue.
I need to use a call to either the adobe dll or the sdk or the com to open a file and save it as an image.
The problem I must solve is using the built in function of the adobe sotwares com or dll to open and save. (import dll or add it as a reference)
I don't know where to start.
Do I import the dll as an assmebly? Do I do the com interop thing? If so, how do I get the GUID for the com library, and the guid for the Functions I need.
I can't seem to find much info on including dlls and such, save a few uber specific ones that explain nothing at all. This seems..important to learn so that I can use things like...the adobe sdk.
Any help at all in terms of where to start learnign would rock.
Thanks guys.
SharpDevelop Version : 4.4.1.9729-7196a277
SharpDevelop Version : 4.4.1.9729-7196a277
.NET Version : 4.0.30319.42000
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Italian (Italy) (it-IT)
Working Set Memory : 129220kb
GC Heap Memory : 30198kb
Unhandled WPF exception
Exception thrown:
System.ArgumentException: Il tipo di carattere 'Segoe UI' non supporta lo stile 'Regular'.
in System.Drawing.Font.CreateNativeFont()
in System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
in System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
in System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style)
in ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost.SetFont()
in ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost.OnLoaded(Object sender, RoutedEventArgs e)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
in System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
in System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
in System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
11:04:42.690 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeFieldReferenceExpression: Name=GroupBox1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:04:42.706 [1] DEBUG - Forms designer: Initializing nested service container of Text_Mail [System.Windows.Forms.TextBox], Text: using Reflection
11:04:42.723 [1] DEBUG - Forms designer: Initializing nested service container of Label1 [System.Windows.Forms.Label], Text: using Reflection
11:04:42.725 [1] DEBUG - Forms designer: deserializing a property assignment:
11:04:42.725 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeFieldReferenceExpression: Name=Label1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:04:42.725 [1] DEBUG - Forms designer: deserializing a property assignment:
11:04:42.725 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeFieldReferenceExpression: Name=Label1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:04:42.728 [1] DEBUG - Forms designer: Initializing nested service container of GroupBox2 [System.Windows.Forms.GroupBox], Text: using Reflection
11:04:42.728 [1] DEBUG - Forms designer: deserializing a property assignment:
11:04:42.728 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeFieldReferenceExpression: Name=GroupBox2, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:04:42.728 [1] DEBUG - Forms designer: deserializing a property assignment:
11:04:42.728 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeFieldReferenceExpression: Name=GroupBox2, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:04:42.731 [1] DEBUG - Forms designer: Initializing nested service container of Butt_Invia [System.Windows.Forms.Button], Text: using Reflection
11:04:42.734 [1] DEBUG - Forms designer: Initializing nested service container of Butt_End [System.Windows.Forms.Button], Text: using Reflection
11:04:42.747 [1] DEBUG - Forms designer: deserializing a property assignment:
11:04:42.747 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeThisReferenceExpression]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:04:42.747 [1] DEBUG - Forms designer: deserializing a property assignment:
11:04:42.747 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeThisReferenceExpression]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:04:42.754 [1] DEBUG - Forms designer: DesignerLoader loaded, HasSucceeded=True
11:04:42.754 [1] DEBUG - FormsDesigner loaded, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
11:04:42.782 [1] DEBUG - IDEContainer: Connecting property grid to service provider
11:04:42.873 [1] INFO - Form Designer: END INITIALIZE
11:04:42.873 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
11:04:42.874 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
11:04:42.886 [1] DEBUG - ParseInformationUpdated G:\BEPPE\VisualStudio_2005\Agenda\Agenda\Frm_Email.vb new!=null:True
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent
ProjectService.OpenSolution: [Solution: FileName=G:\BEPPE\VisualStudio_2005\Agenda\Agenda.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VBNetProject: Agenda]
SharpDevelop Version : 4.4.1.9729-7196a277
SharpDevelop Version : 4.4.1.9729-7196a277
.NET Version : 4.0.30319.42000
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Italian (Italy) (it-IT)
Working Set Memory : 130432kb
GC Heap Memory : 30960kb
Unhandled WPF exception
Exception thrown:
System.ArgumentException: Il tipo di carattere 'Segoe UI' non supporta lo stile 'Regular'.
in System.Drawing.Font.CreateNativeFont()
in System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
in System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
in System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style)
in ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost.SetFont()
in ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost.OnLoaded(Object sender, RoutedEventArgs e)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
in System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
in System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
in System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
in MS.Internal.LoadedOrUnloadedOperation.DoWork()
in System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
in System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
in System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
in System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
11:08:23.161 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Lab_App, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:08:23.161 [1] DEBUG - Forms designer: deserializing a property assignment:
11:08:23.161 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Lab_App, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:08:23.163 [1] DEBUG - Forms designer: Initializing nested service container of Lab_Ora [System.Windows.Forms.Label], Text: using Reflection
11:08:23.163 [1] DEBUG - Forms designer: deserializing a property assignment:
11:08:23.163 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Lab_Ora, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:08:23.163 [1] DEBUG - Forms designer: deserializing a property assignment:
11:08:23.163 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Lab_Ora, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:08:23.164 [1] DEBUG - Forms designer: Initializing nested service container of Label1 [System.Windows.Forms.Label], Text: using Reflection
11:08:23.164 [1] DEBUG - Forms designer: deserializing a property assignment:
11:08:23.164 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Label1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:08:23.164 [1] DEBUG - Forms designer: deserializing a property assignment:
11:08:23.164 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Label1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:08:23.165 [1] DEBUG - Forms designer: Initializing nested service container of Lab_Data [System.Windows.Forms.Label], Text: using Reflection
11:08:23.170 [1] DEBUG - Forms designer: deserializing a property assignment:
11:08:23.170 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeThisReferenceExpression]], Right=[CodePropertyReferenceExpression: Name=Gainsboro, Target=[CodeTypeReference: System.Drawing.Color]]]
11:08:23.170 [1] DEBUG - Forms designer: deserializing a property assignment:
11:08:23.170 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeThisReferenceExpression]], Right=[CodePropertyReferenceExpression: Name=Gainsboro, Target=[CodeTypeReference: System.Drawing.Color]]]
11:08:23.173 [1] DEBUG - Forms designer: DesignerLoader loaded, HasSucceeded=True
11:08:23.174 [1] DEBUG - FormsDesigner loaded, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
11:08:23.175 [1] DEBUG - IDEContainer: Connecting property grid to service provider
11:08:23.185 [1] INFO - Form Designer: END INITIALIZE
11:08:23.185 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
11:08:23.185 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
11:08:23.194 [1] DEBUG - ParseInformationUpdated G:\BEPPE\VisualStudio_2005\Agenda\Agenda\Frm_Dettagli.vb new!=null:True
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent
ProjectService.OpenSolution: [Solution: FileName=G:\BEPPE\VisualStudio_2005\Agenda\Agenda.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VBNetProject: Agenda]
SharpDevelop Version : 4.4.1.9729-7196a277
SharpDevelop Version : 4.4.1.9729-7196a277
.NET Version : 4.0.30319.42000
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Italian (Italy) (it-IT)
Working Set Memory : 56988kb
GC Heap Memory : 6957kb
Unhandled WPF exception
Exception thrown:
System.ArgumentException: Il tipo di carattere 'Segoe UI' non supporta lo stile 'Regular'.
in System.Drawing.Font.CreateNativeFont()
in System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
in System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
in System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style)
in ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost.SetFont()
in ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost.OnLoaded(Object sender, RoutedEventArgs e)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
in System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
in System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
in System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
in MS.Internal.LoadedOrUnloadedOperation.DoWork()
in System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
in System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
in System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
in System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
in System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
in System.Windows.Interop.HwndTarget.OnResize()
in System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
in System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
11:51:38.052 [1] DEBUG - Add pad MSHelpSystem.Controls.Help3SearchPad at Right, Hidden
11:51:38.052 [1] DEBUG - Add pad ICSharpCode.PackageManagement.Scripting.PackageManagementConsolePad at Bottom, Hidden
11:51:38.052 [1] DEBUG - Add pad ICSharpCode.Reports.Addin.ReportExplorerPad at Right, Hidden
11:51:38.052 [1] INFO - Starting workbench...
11:51:38.052 [1] DEBUG - NavigationService -- suspend logging
11:51:38.052 [1] INFO - Loading addin Start Page
11:51:38.068 [1] INFO - Loading addin Usage Data Collector
11:51:38.083 [1] DEBUG - ActiveContentChanged to ICSharpCode.StartPage.StartPageViewContent
11:51:38.083 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Pagina Iniziale]
11:51:38.083 [1] DEBUG - NavigationService
ActiveViewContent: Pagina Iniziale
Subview: TabPageText
11:51:38.083 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.StartPage.StartPageViewContent
11:51:38.083 [1] DEBUG - NavigationService -- resume logging
11:51:38.099 [4] DEBUG - RecentProjectsControl: Looking up path 'G:\BEPPE\VisualStudio_2005\Agenda\Agenda.sln'
11:51:38.099 [4] DEBUG - RecentProjectsControl: Looking up path 'G:\BEPPE\VisualSudio_SharpDevelop\Prove_Xaml\Xaml_01\Xaml_01.sln'
11:51:38.099 [4] DEBUG - RecentProjectsControl: Looking up path 'G:\BEPPE\VisualStudio_2005\Scadenziario\Scadenze.sln'
11:51:38.224 [1] INFO - Number of screens: 1
11:51:38.224 [1] INFO - Screen {X=0,Y=0,Width=1280,Height=720}: Validating {X=26,Y=2,Width=1222,Height=731}; intersection {X=26,Y=2,Width=1222,Height=718}
11:51:38.255 [1] INFO - dockingManager_Loaded
11:51:38.255 [1] INFO - Loading layout file: C:\Users\Paola\AppData\Roaming\ICSharpCode/SharpDevelop4\layouts\Default.xml, hideAllLostPads=False
11:51:38.271 [1] DEBUG - ActiveContentChanged to
11:51:38.286 [1] DEBUG - ActiveContentChanged to ICSharpCode.StartPage.StartPageViewContent
11:51:38.286 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Project.ProjectBrowserPad...
11:51:38.286 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.PropertyPad...
11:51:38.302 [1] DEBUG - PropertyPad created
11:51:38.302 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.ClassBrowser.ClassBrowserPad...
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.StartPage.StartPageViewContent
ProjectService.OpenSolution: <null>
ProjectService.CurrentProject: <null>
SharpDevelop Version : 4.4.1.9729-7196a277
SharpDevelop Version : 4.4.1.9729-7196a277
.NET Version : 4.0.30319.42000
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Italian (Italy) (it-IT)
Working Set Memory : 128716kb
GC Heap Memory : 38168kb
Unhandled WPF exception
Exception thrown:
System.ArgumentException: Il tipo di carattere 'Segoe UI' non supporta lo stile 'Regular'.
in System.Drawing.Font.CreateNativeFont()
in System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
in System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
in System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style)
in ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost.SetFont()
in ICSharpCode.SharpDevelop.Widgets.CustomWindowsFormsHost.OnLoaded(Object sender, RoutedEventArgs e)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
in System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
in System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
in System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
in MS.Internal.LoadedOrUnloadedOperation.DoWork()
in System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
in System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
in System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
in System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
11:55:33.908 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeFieldReferenceExpression: Name=Butt_Godate, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:55:33.908 [1] DEBUG - Forms designer: deserializing a property assignment:
11:55:33.908 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=BackColor, Target=[CodeFieldReferenceExpression: Name=Butt_Godate, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=White, Target=[CodeTypeReference: System.Drawing.Color]]]
11:55:33.909 [1] DEBUG - Forms designer: deserializing a property assignment:
11:55:33.909 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Butt_Godate, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:55:33.909 [1] DEBUG - Forms designer: deserializing a property assignment:
11:55:33.909 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Butt_Godate, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:55:33.910 [1] DEBUG - Forms designer: Initializing nested service container of Butt_PrevWeek [System.Windows.Forms.Button], Text: using Reflection
11:55:33.911 [1] DEBUG - Forms designer: deserializing a property assignment:
11:55:33.911 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Butt_PrevWeek, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:55:33.911 [1] DEBUG - Forms designer: deserializing a property assignment:
11:55:33.911 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Butt_PrevWeek, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:55:33.912 [1] DEBUG - Forms designer: Initializing nested service container of Butt_NextWeek [System.Windows.Forms.Button], Text: using Reflection
11:55:33.912 [1] DEBUG - Forms designer: deserializing a property assignment:
11:55:33.912 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Butt_NextWeek, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:55:33.912 [1] DEBUG - Forms designer: deserializing a property assignment:
11:55:33.912 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ForeColor, Target=[CodeFieldReferenceExpression: Name=Butt_NextWeek, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Blue, Target=[CodeTypeReference: System.Drawing.Color]]]
11:55:33.913 [1] DEBUG - Forms designer: Initializing nested service container of Butt_End [System.Windows.Forms.Button], Text: using Reflection
11:55:33.945 [1] DEBUG - Forms designer: DesignerLoader loaded, HasSucceeded=True
11:55:33.948 [1] DEBUG - FormsDesigner loaded, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
11:55:33.961 [1] DEBUG - IDEContainer: Connecting property grid to service provider
11:55:33.988 [1] INFO - Form Designer: END INITIALIZE
11:55:33.988 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
11:55:33.988 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
11:55:33.989 [1] DEBUG - ParseInformationUpdated G:\BEPPE\VisualStudio_2005\Agenda\Agenda\Frm_Settimana.vb new!=null:True
---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent
ProjectService.OpenSolution: [Solution: FileName=G:\BEPPE\VisualStudio_2005\Agenda\Agenda.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VBNetProject: Agenda]
Unbehandelte Ausnahme ist aufgetreten
SharpDevelop Version : 5.1.0.5216-0e58df71
.NET Version : 4.6.01590
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Spanish (Mexico) (es-MX)
Current UI language : de
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 162852kb
GC Heap Memory : 26468kb
Exception thrown:
System.InvalidOperationException: Object is currently in use elsewhere.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)
at System.Windows.Forms.Design.Behavior.SelectionBorderGlyph.Paint(PaintEventArgs pe)
at System.Windows.Forms.Design.Behavior.BehaviorService.PropagatePaint(PaintEventArgs pe)
at System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.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:
22:46:15.190 [1] DEBUG - Forms designer: deserializing a property assignment:
22:46:15.190 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ParentRowsBackColor, Target=[CodeFieldReferenceExpression: Name=dataGrid1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=Gainsboro, Target=[CodeTypeReference: System.Drawing.Color]]]
22:46:15.190 [1] DEBUG - Forms designer: deserializing a property assignment:
22:46:15.190 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ParentRowsForeColor, Target=[CodeFieldReferenceExpression: Name=dataGrid1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=MidnightBlue, Target=[CodeTypeReference: System.Drawing.Color]]]
22:46:15.190 [1] DEBUG - Forms designer: deserializing a property assignment:
22:46:15.190 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=ParentRowsForeColor, Target=[CodeFieldReferenceExpression: Name=dataGrid1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=MidnightBlue, Target=[CodeTypeReference: System.Drawing.Color]]]
22:46:15.190 [1] DEBUG - Forms designer: deserializing a property assignment:
22:46:15.190 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=SelectionBackColor, Target=[CodeFieldReferenceExpression: Name=dataGrid1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=CadetBlue, Target=[CodeTypeReference: System.Drawing.Color]]]
22:46:15.190 [1] DEBUG - Forms designer: deserializing a property assignment:
22:46:15.190 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=SelectionBackColor, Target=[CodeFieldReferenceExpression: Name=dataGrid1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=CadetBlue, Target=[CodeTypeReference: System.Drawing.Color]]]
22:46:15.191 [1] DEBUG - Forms designer: deserializing a property assignment:
22:46:15.191 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=SelectionForeColor, Target=[CodeFieldReferenceExpression: Name=dataGrid1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=WhiteSmoke, Target=[CodeTypeReference: System.Drawing.Color]]]
22:46:15.191 [1] DEBUG - Forms designer: deserializing a property assignment:
22:46:15.191 [1] DEBUG - -> [CodeAssignStatement: Left=[CodePropertyReferenceExpression: Name=SelectionForeColor, Target=[CodeFieldReferenceExpression: Name=dataGrid1, Target=[CodeThisReferenceExpression]]], Right=[CodePropertyReferenceExpression: Name=WhiteSmoke, Target=[CodeTypeReference: System.Drawing.Color]]]
22:46:15.267 [1] DEBUG - Forms designer: Initializing nested service container of dataGridView1 [System.Windows.Forms.DataGridView] using Reflection
22:46:15.422 [1] DEBUG - Forms designer: DesignerLoader loaded, HasSucceeded=True
22:46:15.422 [1] DEBUG - FormsDesigner loaded, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
22:46:15.457 [1] DEBUG - IDEContainer: Connecting property grid to service provider
22:46:15.611 [1] INFO - Form Designer: END INITIALIZE
22:46:15.613 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
22:46:15.616 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
22:46:15.636 [1] DEBUG - ParseInformationUpdated F:\Users\Torsten\Documents\SharpDevelop Projects\VW-ropa\VW-ropa\Datos_basicos.Designer.cs (updated)
22:46:15.637 [1] DEBUG - ParseInformationUpdated F:\Users\Torsten\Documents\SharpDevelop Projects\VW-ropa\VW-ropa\Datos_basicos.Designer.cs (updated)
22:46:16.109 [1] DEBUG - Folding update ignored; parse information is outdated version
22:46:18.467 [1] ERROR - ThreadException caught
--> Exception:
System.InvalidOperationException: Object is currently in use elsewhere.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)
at System.Windows.Forms.Design.Behavior.SelectionBorderGlyph.Paint(PaintEventArgs pe)
at System.Windows.Forms.Design.Behavior.BehaviorService.PropagatePaint(PaintEventArgs pe)
at System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.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:
ProjectService.CurrentSolution: [Solution F:\Users\Torsten\Documents\SharpDevelop Projects\VW-ropa\VW-ropa.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: VW-ropa]
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent
Including content from XML files in intellisense tooltips
I'm not sure whether this counts as a bug or a feature request, but here goes...
Steps to reproduce
1) Create a project containing a class with the following content
using System;
namespace IntellisenseTest
{
/// <summary>
/// Description of Widget.
/// </summary>
public class Widget
{
/// <summary>
/// Gets or sets a property which is documented inline.
/// </summary>
public string Foo { get; set; }
/// <include file="SharedDocumentation.xml"
/// path="doc/members/member[@name='P:IntellisenseTest.Widget.Bar']/*" />
public string Bar { get; set; }
}
}
2) Add an XML file to the project called SharedDocumentation.xml with the following content:
<?xml version="1.0"?>
<doc>
<members>
<member name="P:IntellisenseTest.Widget.Bar">
<summary>Gets or sets a property which is documented in a separate XML file.</summary>
</member>
</members>
</doc>
3) Hover the mouse pointer over the name of the Bar property in the Widget class until a tooltip appears
Expected result: Tooltip includes the summary text "Gets or sets a property which is documented in a separate XML file"
Actual result: Tooltip only shows the property's signature
If I enable the XML documentation property in the project properties and build a Sandcastle help file, it includes the content from my XML file just as if it were included inline in the code, but it seems that SharpDevelop gets the tooltip content by parsing the source code files rather than from the generated XML documentation file.
I thought I'd have a go at implementing this functionality myself and my investigations led me to the DocumentationUIBuilder class in the ICSharpCode.SharpDevelop project. In the AddDocumentationElement(XmlDocumentationElement) method, there's a switch (element.Name) { ... } block, to which I've added the following:
case "include":
string filename = element.GetAttribute("file");
if (string.IsNullOrWhiteSpace(filename))
{
// file attribute not supplied or is empty, no point trying to read the file
break;
}
// FIXME: this is resolved relative to the SD bin folder, need the project folder
string fullyQualifiedFilename = System.IO.Path.GetFullPath(filename);
if (System.IO.File.Exists(fullyQualifiedFilename) == false)
{
AddText("External documentation file '" + fullyQualifiedFilename + "' does not exist");
break;
}
System.Xml.XPath.XPathDocument xdoc = new System.Xml.XPath.XPathDocument(fullyQualifiedFilename);
XPathNavigator documentXPathNavigator = xdoc.CreateNavigator();
XPathNavigator pathXPathNavigator = documentXPathNavigator.SelectSingleNode(element.GetAttribute("path"));
IEntity entity = null; // TODO: what do I set this to?
XmlDocumentationElement e = new XmlDocumentationElement(pathXPathNavigator.InnerXml, entity);
AddDocumentationElement(e);
break;
I know this can be made more robust, e.g. not all the exceptions that could be thrown are handled and it'd probably be tidier to move all of this into a separate method, but for now I have two questions.
1) The tooltip now tells me that the XML file I'm trying to reference can't be found because it's looking in the SharpDevelop bin folder rather than my project folder - how can I get the path to the project folder?
2) In order to pass content from the XML file to the XmlDocumentationElement method, I also need to supply something which implements IEntity - what is this and how do I create it?
Alternatively, am I going about this in completely the wrong way?
SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version : 4.6.01586
OS Version : Microsoft Windows NT 6.3.9600.0
Current culture : English (United Kingdom) (en-GB)
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 161904kb
GC Heap Memory : 298135kb
Thanks, Simon
Unexpected EOF!
Hello.
I have a data matrix that i decode with zxing and what i get from it is encoded with java zip.Now im using sharpzip but every time i get un unexpected eof when it gets to GetNextEntry().
Here is my code, i can't figure what im doing wrong:
IBarcodeReader reader = new BarcodeReader();
Bitmap bmp = new Bitmap("D:/scanate/scan.jpg");
var result = reader.Decode(bmp);
var tostring = result.ToString();
byte[ toBytes = Encoding.UTF8.GetBytes(tostring);
var unzip = UnzipArray(toBytes);
public static byte[ UnzipArray(byte[ inputArray)
{
var buffer = new byte[Environment.Is64BitProcess ? 4096 : 2048];
try
{
using (var outStream = new MemoryStream())
{
using (var inStream = new MemoryStream(inputArray))
{
using (var zip = new ZipInputStream(inStream))
{
if (zip.GetNextEntry() != null)
{
int outSize = 0;
while ((outSize = zip.Read(buffer, 0, buffer.Length)) > 0)
{
outStream.Write(buffer, 0, outSize);
}
}
}
}
return outStream.ToArray();
}
}
catch (Exception ex)
{
throw new ZipException(string.Format(Properties.Resources.ErrorUnzippingArray, "JavaZip", ex.Message));
}
}
If someone can help me?
Unbehandelte Ausnahme nach Einfügen eines DataGridView im Designer
SharpDevelop Version : 5.1.0.5216-0e58df71
.NET Version : 4.6.01590
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Spanish (Mexico) (es-MX)
Current UI language : de
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 156344kb
GC Heap Memory : 22683kb
Exception thrown:
System.InvalidOperationException: Object is currently in use elsewhere.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)
at System.Windows.Forms.Design.Behavior.SelectionBorderGlyph.Paint(PaintEventArgs pe)
at System.Windows.Forms.Design.Behavior.BehaviorService.PropagatePaint(PaintEventArgs pe)
at System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.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:
18:02:09.781 [1] DEBUG - Checking project reference: EntityFramework.SqlServer
18:02:09.781 [1] DEBUG - Checking assembly reference
18:02:09.781 [1] DEBUG - Checking project reference: Microsoft.CSharp
18:02:09.781 [1] DEBUG - Checking GAC reference
18:02:09.781 [1] DEBUG - Checking project reference: System
18:02:09.781 [1] DEBUG - Checking GAC reference
18:02:09.782 [1] DEBUG - Checking project reference: System.ComponentModel.DataAnnotations
18:02:09.782 [1] DEBUG - Checking GAC reference
18:02:09.782 [1] DEBUG - Checking project reference: System.Core
18:02:09.782 [1] DEBUG - Checking GAC reference
18:02:09.782 [1] DEBUG - Checking project reference: System.Data
18:02:09.782 [1] DEBUG - Checking GAC reference
18:02:09.782 [1] DEBUG - Checking project reference: System.Data.DataSetExtensions
18:02:09.782 [1] DEBUG - Checking GAC reference
18:02:09.782 [1] DEBUG - Checking project reference: System.Data.SQLite
18:02:09.782 [1] DEBUG - Checking assembly reference
18:02:09.782 [1] DEBUG - Checking project reference: System.Data.SQLite.Linq
18:02:09.783 [1] DEBUG - Checking assembly reference
18:02:09.783 [1] DEBUG - Checking project reference: System.Drawing
18:02:09.783 [1] DEBUG - Checking GAC reference
18:02:09.783 [1] DEBUG - Checking project reference: System.Windows.Forms
18:02:09.783 [1] DEBUG - Checking GAC reference
18:02:09.783 [1] DEBUG - Found existing GAC reference
18:02:09.811 [1] DEBUG - SelectedToolUsedHandler
18:02:10.275 [1] ERROR - ThreadException caught
--> Exception:
System.InvalidOperationException: Object is currently in use elsewhere.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)
at System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)
at System.Windows.Forms.Design.Behavior.SelectionBorderGlyph.Paint(PaintEventArgs pe)
at System.Windows.Forms.Design.Behavior.BehaviorService.PropagatePaint(PaintEventArgs pe)
at System.Windows.Forms.Design.Behavior.BehaviorService.AdornerWindow.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:
ProjectService.CurrentSolution: [Solution F:\Users\Torsten\Documents\SharpDevelop Projects\VW-ropa\VW-ropa.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: VW-ropa]
Workbench.ActiveContent: ICSharpCode.FormsDesigner.FormsDesignerViewContent
Using SharpDevelop with database Oracle 11g
Hello everybody
I am having an application done in Visual Studio 2012. I´m looking for open source alternative. My application is running with database Oracle 11g. I want to import the application and my question is if once I import the project I can connect to the database oracle.
I saw in the following link: http://community.sharpdevelop.net/forums/p/22502/57189.aspx that it seems that "Unfortunately SharpDevelop's database explorer only supports Microsoft's SQL Server."
Is there anyone who could connect tthe application with Oracle Database?
thank for your support.