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

SharpDevelop 4.3.1 Service Release

$
0
0

Release Information

This is a planned service release – it contains bug fixes and performance improvements. Additionally, we have added the following features:

Downloads

SharpDevelop 4.3.1

Support

Our primary means of support is via ourWeb-based forum (please do not email team members directly unless they advise you to do so in the forum)


SharpSnippetCompiler with autocompletion in #Develop 5

$
0
0

i create a repo in https://github.com/fuxuejun/SharpSnippetCompiler-v5.

i use the lastest source of sharpdevelop 5, and fixed SharpSnippetCompiler with completion.

 

Sharp Develop Reports databases supported?

$
0
0

Hi

I posted a similar question in the Sharp Develop main

forum. They told me it only supports SQL Server

at the moment.

Is this also true for Sharp Develop Reports?

Thanks

H.F.

 

 

[closed] Bug in XAML Editor when having MinWidth and MinHeight set

Wrong XAML when using UserControls:

$
0
0

I'm Inserting a Control from another Assembly via DragDrop and XAML Designer is creating wrong xaml:

 

<Grid Width="2048" Height="1536" Background="White" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
            <Button Content="Button" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" 
VerticalAlignment
="Stretch" Margin="8,8,1965,1505" Width="75" Height="23" />             <BasicConveyor Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" 
VerticalAlignment
="Stretch" Margin="8,40,1910,1346" Width="130" Height="150" 
xmlns
="clr-namespace:MCC.VISU.CommonControls;assembly=MCC.VISU.CommonControls" />         </Grid>
so "Grid.Column" and "Grid.Row" could not be found any more, because the xmlns is overwritten on BasicConveyor
I think the Designer should put the Control in its own namespace:
<Grid Width="2048" Height="1536" Background="White" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">             <Button Content="Button" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" 
VerticalAlignment
="Stretch" Margin="8,8,1965,1505" Width="75" Height="23" />             <u:BasicConveyor Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" 
VerticalAlignment
="Stretch" Margin="8,40,1910,1346" Width="130" Height="150" 
xmlns
:u="clr-namespace:MCC.VISU.CommonControls;assembly=MCC.VISU.CommonControls" />         </Grid>

 

Drag any Control over Derived UserControl -> UserControl Content Disappears...

$
0
0

This does not happen with a Empty UserControl.

But when you create a Control that derives from Usercontrol, it's Content is shown. Now when you Drag a new Control over the Usercontrol, the Designer tryes to use the Usercontrol as Parent, and so hides it's content!

I think this should only be done, when the Type is UserControl directly, and not on a derived Type!

Unhandled exception has occured

$
0
0

Unhandled exception when opening Configuration Editor (Build > Edit configurations/platforms), usual entering this dialog works fine

(Fwiw: As always on that machine I was using Remote Desktop Connection)

 

SharpDevelop Version : 4.3.1.9430-406354be

.NET Version         : 4.0.30319.296

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : Danish (Denmark) (da-DK)

Current UI language  : en

Terminal Server Session

Working Set Memory   : 201148kb

GC Heap Memory       : 92316kb

 

Exception thrown:

System.InvalidOperationException: This operation cannot be performed while an auto-filled column is being resized.

   at System.Windows.Forms.DataGridView.PerformLayoutPrivate(Boolean useRowShortcut, Boolean computeVisibleRows, Boolean invalidInAdjustFillingColumns, Boolean repositionEditingControl)

   at System.Windows.Forms.DataGridView.SetColumnHeadersHeightInternal(Int32 columnHeadersHeight, Boolean invalidInAdjustFillingColumns)

   at System.Windows.Forms.DataGridView.AutoResizeColumnHeadersHeight(Boolean fixedRowHeadersWidth, Boolean fixedColumnsWidth)

   at System.Windows.Forms.DataGridView.OnColumnHeadersGlobalAutoSize()

   at System.Windows.Forms.DataGridView.set_TopLeftHeaderCell(DataGridViewHeaderCell value)

   at System.Windows.Forms.DataGridView.get_TopLeftHeaderCell()

   at System.Windows.Forms.DataGridView.GetCellInternal(Int32 columnIndex, Int32 rowIndex)

   at System.Windows.Forms.DataGridView.OnCellMouseEnter(DataGridViewCellEventArgs e)

   at System.Windows.Forms.DataGridView.UpdateMouseEnteredCell(HitTestInfo hti, MouseEventArgs e)

   at System.Windows.Forms.DataGridView.OnColumnWidthChanged(DataGridViewColumnEventArgs e)

   at System.Windows.Forms.DataGridView.OnBandThicknessChanged(DataGridViewBand dataGridViewBand)

   at System.Windows.Forms.DataGridView.AdjustFillingColumns()

   at System.Windows.Forms.DataGridView.ComputeLayout()

   at System.Windows.Forms.DataGridView.PerformLayoutPrivate(Boolean useRowShortcut, Boolean computeVisibleRows, Boolean invalidInAdjustFillingColumns, Boolean repositionEditingControl)

   at System.Windows.Forms.DataGridView.OnHandleCreated(EventArgs e)

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

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

   at System.Windows.Forms.DataGridView.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:

10:56:23.373 [14] DEBUG - Setting property SolutionDir to 'C:\LanticTFS\Dev\Development\Entertainment\TestPacketInjectorWPFEdition\'

10:56:23.372 [1] DEBUG - CompilerMessageView: Combined 2 appends.

10:56:23.374 [14] DEBUG - Setting property SolutionExt to '.sln'

10:56:23.374 [14] DEBUG - Setting property SolutionFileName to 'TestPacketInjectorWPFEdition.sln'

10:56:23.375 [14] DEBUG - Setting property SolutionName to 'TestPacketInjectorWPFEdition'

10:56:23.375 [14] DEBUG - Setting property SolutionPath to 'C:\LanticTFS\Dev\Development\Entertainment\TestPacketInjectorWPFEdition\TestPacketInjectorWPFEdition.sln'

10:56:23.378 [14] DEBUG - <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><Import Project="C:\Projects\SharpDevelop_4.3.1.9430_Source\bin\..\AddIns\Analysis\SourceAnalysis/SharpDevelop.SourceAnalysis.targets" /><Import Project="C:\Projects\SharpDevelop_4.3.1.9430_Source\bin\SharpDevelop.TargetingPack.targets" /><Target Name="_ComputeNonExistentFileProperty" /></Project>

10:56:23.510 [8] DEBUG - Received command ReportEvent

10:56:23.582 [8] DEBUG - Received command ReportEvent

10:56:23.684 [8] DEBUG - Received command ReportEvent

10:56:23.688 [8] DEBUG - Received command ReportEvent

10:56:23.691 [8] DEBUG - Received command BuildDone

10:56:23.693 [8] INFO - Finished building LanticCommon, success=True

10:56:27.583 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.CompilerMessageView

10:56:33.693 [13] DEBUG - Telling worker process to exit

10:56:33.693 [13] DEBUG - Waiting for thread-join

10:56:33.695 [8] DEBUG - Cannot read from WorkerProcess 3872: end of stream

10:56:33.696 [8] DEBUG - Stopped reading from WorkerProcess 3872.

10:56:33.696 [8] DEBUG - Telling worker process to exit

10:56:33.697 [8] DEBUG - End of reader thread on WorkerProcess 3872.

10:56:33.697 [13] DEBUG - Joined!

11:00:14.067 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

11:00:14.071 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\LanticTFS\Dev\Development\Entertainment\TestPacketInjectorWPFEdition\LanticIntegrationTestSuite\MusicTests.cs]

11:00:20.215 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.EditConfigurationsCommand', activation=MainMenu

11:00:20.276 [1] ERROR - ThreadException caught

--> Exception:

System.InvalidOperationException: This operation cannot be performed while an auto-filled column is being resized.

   at System.Windows.Forms.DataGridView.PerformLayoutPrivate(Boolean useRowShortcut, Boolean computeVisibleRows, Boolean invalidInAdjustFillingColumns, Boolean repositionEditingControl)

   at System.Windows.Forms.DataGridView.SetColumnHeadersHeightInternal(Int32 columnHeadersHeight, Boolean invalidInAdjustFillingColumns)

   at System.Windows.Forms.DataGridView.AutoResizeColumnHeadersHeight(Boolean fixedRowHeadersWidth, Boolean fixedColumnsWidth)

   at System.Windows.Forms.DataGridView.OnColumnHeadersGlobalAutoSize()

   at System.Windows.Forms.DataGridView.set_TopLeftHeaderCell(DataGridViewHeaderCell value)

   at System.Windows.Forms.DataGridView.get_TopLeftHeaderCell()

   at System.Windows.Forms.DataGridView.GetCellInternal(Int32 columnIndex, Int32 rowIndex)

   at System.Windows.Forms.DataGridView.OnCellMouseEnter(DataGridViewCellEventArgs e)

   at System.Windows.Forms.DataGridView.UpdateMouseEnteredCell(HitTestInfo hti, MouseEventArgs e)

   at System.Windows.Forms.DataGridView.OnColumnWidthChanged(DataGridViewColumnEventArgs e)

   at System.Windows.Forms.DataGridView.OnBandThicknessChanged(DataGridViewBand dataGridViewBand)

   at System.Windows.Forms.DataGridView.AdjustFillingColumns()

   at System.Windows.Forms.DataGridView.ComputeLayout()

   at System.Windows.Forms.DataGridView.PerformLayoutPrivate(Boolean useRowShortcut, Boolean computeVisibleRows, Boolean invalidInAdjustFillingColumns, Boolean repositionEditingControl)

   at System.Windows.Forms.DataGridView.OnHandleCreated(EventArgs e)

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

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

   at System.Windows.Forms.DataGridView.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: [MSTest 0.0.0.0]

Workbench.ActiveContent: [AvalonEditViewContent C:\LanticTFS\Dev\Development\Entertainment\TestPacketInjectorWPFEdition\LanticIntegrationTestSuite\MusicTests.cs]

ProjectService.OpenSolution: [Solution: FileName=C:\LanticTFS\Dev\Development\Entertainment\TestPacketInjectorWPFEdition\TestPacketInjectorWPFEdition.sln, HasProjects=True, ReadOnly=False]

ProjectService.CurrentProject: [CSharpProject: LanticCommon]

SharpSnippetCompiler contextmenu

$
0
0

hi

I am trying to use sharpsnippetcompiler sample to write a little VB.NET/c# class compiler and debugger.

I have got a big probem with contextmenustrip

when I right click on the texteditor there is no contextmenustrip

and in the debug mode also there is no contextmenustrip

is there any code to use to activate this contextmenustrip???

I am using the sample from github :https://github.com/blorgbeard/sharp-snippet-compiler

and I have tryed to do many things but I don't know how to resolve this problem.

 by analizing SD source code I have get that sharpdeveloptextarea contains an intisialize method that loads the contextmenu from the tree path but I am unable to call it or to check if it is called.

please help me

 


Code completion on key press causes #Dev to slow down drasticly

$
0
0

Every time i set code completion on key presses on, SharpDevelop 4.2 slows down to an incredibly irritating rate.
Not only does the text editor respond slowly, the entire program kind of seems to lag out.

My guess is that on every character key press the completion menu is fully loaded, which causes the editor to respond slowly to typing.

If this is the case, wouldn't it be a better idea to (if there isn't some similar functionality that does this, but i can't find) work around that by running a timer on every character key press, which is reset on every character  key press, so that the completion menu would only load on a, let's say, 1000ms interval if the timer actually reaches it's first tick without being reset?

Don't get me wrong, i'd love to find an answer to something like this myself, but i have never looked at the source code of SharpDevelop before, and second to that, i wouldn't know where to begin.

auto indent

$
0
0

Is there any way to turn off auto indenting in SharpDev 4.0?

Bugs of ASP.NET debug (ver 4.2 4.3 5.0)

$
0
0

Bug 1:

Bug 2

 

bug3:

  maybe it's not a bug,  i attach MS WebDev Server, then browering url in browser..but my breakpoints don't broke

 

 

When I find this ide, i found it's a wonderful ide.  but when i debug asp.net program, i think it is every terrible, i hope you can resovle this bugs . thanks 

 

Cannot download Sharpdevelop4.3

$
0
0

 Why I can not download Sharpdevelop4.3?When I clickedthe link on Download in the download page,The download page can not be opened,no more error is displayed.My I know if I can download it through other way?

Copy & Paste bug

How can I get the latest document of Sharpdevelop?

$
0
0

 May I know where I can get the latest Dissecting_A_CSharp_Application.pdf?

Error while opening a file with collapsed region nodes

$
0
0

SharpDevelop Version : 4.3.0.9338-alpha-5f770be6
.NET Version         : 4.0.30319.296
OS Version           : Microsoft Windows NT 5.1.2600 Dodatek Service Pack 3
Current culture      : Polish (Poland) (pl-PL)
Current UI language  : en
Working Set Memory   : 127720kb
GC Heap Memory       : 54786kb

Unhandled WPF exception
Exception thrown:
System.InvalidOperationException: All lines collapsed but visual pos different - height tree inconsistency?
   at ICSharpCode.AvalonEdit.Rendering.TextView.BuildVisualLine(DocumentLine documentLine, TextRunProperties globalTextRunProperties, VisualLineTextParagraphProperties paragraphProperties, VisualLineElementGenerator[ elementGeneratorsArray, IVisualLineTransformer[ lineTransformersArray, Size availableSize)
   at ICSharpCode.AvalonEdit.Rendering.TextView.CreateAndMeasureVisualLines(Size availableSize)
   at ICSharpCode.AvalonEdit.Rendering.TextView.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at Microsoft.Windows.Themes.ClassicBorderDecorator.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at AvalonDock.ResizingPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV)
   at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Window.MeasureOverrideHelper(Size constraint)
   at System.Windows.Window.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   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:
12:13:12.578 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
12:13:12.921 [1] INFO - Open file C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Node.cs
12:13:12.937 [1] DEBUG - Activated feature 'ICSharpCode.AvalonEdit.AddIn.AvalonEditViewContent/open.cs'
12:13:13.218 [1] DEBUG - Trying to restore memento of '[AvalonEditViewContent C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Node.cs]' from key '1e13ec5:C:\DOCUMENTS AND SETTINGS\ADMIN\MOJE DOKUMENTY\REPOZYTORIUM\BRANCHES\INVESTCOM\INVESTCOM.MIGRATOR\NODE.CS'
12:13:13.234 [1] DEBUG - ActiveContentChanged to
12:13:13.234 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Node.cs]
12:13:13.234 [1] DEBUG - ActiveViewContentChanged to
12:13:13.250 [1] DEBUG - ParseInformationUpdated C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Node.cs new!=null:True
12:13:13.250 [1] DEBUG - NavigationService
    ActiveViewContent: Node.cs
              Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
12:13:13.250 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Node.cs]
12:13:13.250 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Node.cs]
12:13:13.375 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
12:13:13.390 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Node.cs]
12:13:29.906 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
12:13:30.250 [1] INFO - Open file C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Migrator.cs
12:13:30.265 [1] DEBUG - Activated feature 'ICSharpCode.AvalonEdit.AddIn.AvalonEditViewContent/open.cs'
12:13:30.453 [1] DEBUG - Trying to restore memento of '[AvalonEditViewContent C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Migrator.cs]' from key '1e13ec5:C:\DOCUMENTS AND SETTINGS\ADMIN\MOJE DOKUMENTY\REPOZYTORIUM\BRANCHES\INVESTCOM\INVESTCOM.MIGRATOR\MIGRATOR.CS'
12:13:30.484 [1] DEBUG - ActiveContentChanged to
12:13:30.484 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Migrator.cs]
12:13:30.484 [1] DEBUG - ActiveViewContentChanged to
12:13:30.484 [1] DEBUG - ParseInformationUpdated C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Migrator.cs new!=null:True
12:13:30.500 [1] DEBUG - NavigationService
    ActiveViewContent: Migrator.cs
              Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
12:13:30.500 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Migrator.cs]
12:13:30.500 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.Migrator\Migrator.cs]
12:18:48.203 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

---- Post-error application state information:
Installed 3rd party AddIns: [AStyleAddin 3.1.4054.23192], [RemoveUnusedRef 1.0.0], [ThemeTool 0.0.0.0]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
ProjectService.OpenSolution: [Solution: FileName=C:\Documents and Settings\Admin\Moje dokumenty\Repozytorium\branches\Investcom\Investcom.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: Investcom.Migrator]


Extraction of TGZ file fails when symlinks in the TGZ are present

$
0
0

 First off, I just wanted to say that I've had a great experience using sharpzip in my c# app.

For the most part, all is working well except once in a while I will get a failure when extracting a tar.gz with the error that "Access to the path <PATH.....> denied".  I finally figured out that the tar.gz files it was failing on are ones that have symbolic links in them.

Unfortunately, I don't have control over the generation of the tar.gz files to exclude these, so I am trying to find a way around this on my end doing the extraction.

I don't need these symlinks on extraction so I essentially just want to skip even trying to extract any symlinks in a tar.gz file.

Is there a way to do this or an option in sharpzip to handle symlinks in tar.gz files?  I have not had much luck working around this so any advice or suggestions would be welcomed.

I use something similiar to the extract from a Tar with full control example at https://github.com/icsharpcode/SharpZipLib/wiki/GZip-and-Tar-Samples#wiki-anchorTar, but I have also tried just the "Simple Full extract from a TGZ) as well to be sure I was not doing something wrong in my code.  Both ways fail when symlinks are present in the tar.gz file.


Running c# app (.net 4.0) on a Windows 7 system.

Example contents of a tar.gz file that causes issue below.  If I remove the 4 symlinks manually from the file, extraction works perfectly.

[system1] → tar ztfv network-scripts.tar.gz
drwxr-xr-x root/root         0 2013-03-17 10:55:19 network-scripts/
-rwxr-xr-x root/root      3325 2009-07-04 03:10:48 network-scripts/ifup-wireless
lrwxrwxrwx root/root         0 2012-01-23 18:25:48 network-scripts/ifdown-isdn -> ifdown-ippp
-rw-r--r-- root/root       119 2012-01-23 18:20:33 network-scripts/ifcfg-eth2
-rwxr-xr-x root/root      5433 2009-07-04 03:10:48 network-scripts/init.ipv6-global
-rwxr-xr-x root/root      1707 2009-07-04 03:10:48 network-scripts/ifup-routes
-rwxr-xr-x root/root       859 2009-07-04 03:10:48 network-scripts/ifup-bnep
-rwxr-xr-x root/root       827 2009-07-04 03:10:48 network-scripts/ifdown-ippp
-rw-r--r-- root/root     39833 2009-07-04 03:10:48 network-scripts/network-functions-ipv6
-rw-r--r-- root/root       184 2012-01-23 18:59:16 network-scripts/ifcfg-eth5
-rwxr-xr-x root/root      1154 2009-07-04 03:10:48 network-scripts/net.hotplug
-rwxr-xr-x root/root      2369 2009-07-04 03:10:48 network-scripts/ifup-post
-rwxr-xr-x root/root      4473 2009-07-04 03:10:48 network-scripts/ifdown-ipv6
-rwxr-xr-x root/root       625 2009-07-04 03:10:48 network-scripts/ifdown-bnep
-rw-r--r-- root/root       178 2012-01-23 18:59:21 network-scripts/ifcfg-bond1
-rwxr-xr-x root/root       637 2009-07-04 03:10:48 network-scripts/ifdown-routes
lrwxrwxrwx root/root         0 2012-01-23 18:25:48 network-scripts/ifup-isdn -> ifup-ippp
-rwxr-xr-x root/root      4573 2009-07-04 03:10:48 network-scripts/ifdown-eth
-rwxr-xr-x root/root       954 2009-07-04 03:10:48 network-scripts/ifup-plusb
-rwxr-xr-x root/root      2078 2009-07-04 03:10:48 network-scripts/ifup-tunnel
-rwxr-xr-x root/root       823 2009-07-04 03:10:48 network-scripts/ifup-ipx
lrwxrwxrwx root/root         0 2012-01-23 18:25:48 network-scripts/ifup -> ../../../sbin/ifup
-rwxr-xr-x root/root       727 2009-07-04 03:10:48 network-scripts/ifup-plip
-rwxr-xr-x root/root      1074 2009-07-04 03:10:48 network-scripts/ifdown-tunnel
-rwxr-xr-x root/root     10798 2009-07-04 03:10:48 network-scripts/ifup-eth
-rwxr-xr-x root/root      1481 2009-07-04 03:10:48 network-scripts/ifdown-post
-rwxr-xr-x root/root      8088 2009-07-04 03:10:48 network-scripts/ifup-ipsec
-rwxr-xr-x root/root      1675 2009-07-04 03:10:48 network-scripts/ifup-sl
-rw-r--r-- root/root       254 2009-07-04 03:10:48 network-scripts/ifcfg-lo
-rwxr-xr-x root/root     10853 2009-07-04 03:10:48 network-scripts/ifup-ipv6
-rwxr-xr-x root/root       913 2009-07-04 03:10:48 network-scripts/ifdown-sl
-rw-r--r-- root/root       119 2012-01-23 18:20:33 network-scripts/ifcfg-eth0
-rw-r--r-- root/root     10474 2009-07-04 03:10:48 network-scripts/network-functions
-rwxr-xr-x root/root      1593 2009-07-04 03:10:48 network-scripts/ifdown-sit
-rwxr-xr-x root/root      3662 2009-07-04 03:10:48 network-scripts/ifup-sit
-rwxr-xr-x root/root     13427 2009-07-04 03:10:48 network-scripts/ifup-aliases
-rwxr-xr-x root/root     12033 2009-07-04 03:10:48 network-scripts/ifup-ippp
-rw-r--r-- root/root       184 2012-01-23 18:59:16 network-scripts/ifcfg-eth4
-rwxr-xr-x root/root      4298 2009-07-04 03:10:48 network-scripts/ifup-ppp
-rw-r--r-- root/root       119 2012-01-23 18:20:33 network-scripts/ifcfg-eth1
-rwxr-xr-x root/root      1084 2009-07-04 03:10:48 network-scripts/ifdown-ppp
-rwxr-xr-x root/root      2159 2009-07-04 03:10:48 network-scripts/ifdown-ipsec
-rw-r--r-- root/root       119 2012-01-23 18:20:33 network-scripts/ifcfg-eth3
lrwxrwxrwx root/root         0 2012-01-23 18:25:48 network-scripts/ifdown -> ../../../sbin/ifdown

Can't create new F# project...

$
0
0

I am new to SharpDevelop and having an issue trying to setup a new F# project.

I get a message saying make sure your F# compliler isn't installed and that the imported project can't find ...FSharp.Targets and that I should correct the import statement in my project.

The problem here is that it fails to creat the project files that it requesting me to fix.  Browsing the project directory, SD created the directories but not the project files.

F# complier is installed and I can create and run F# projects in Visual Studio just fine.  It 

Urg...

Entity model explorer completely unusable in 4.3.1

$
0
0

I've opened my existing VS solution and tried to view entity model and found next problems:

1) Entity model designer completely ignors size and position of all objcts (look at screenshot)

2) Both scrollbars are absent (look at screenshot)

Screenshot:

3) After closing and opening entity explorer i've got an error:

SharpDevelop Version : 4.3.1.9430-406354be
.NET Version         : 4.0.30319.18033
OS Version           : Microsoft Windows NT 6.2.9200.0
Current culture      : Ukrainian (Ukraine) (uk-UA)
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 276064kb
GC Heap Memory       : 133966kb

Exception thrown:
System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.Xml.Linq.XAttribute..ctor(XName name, Object value)
   at ICSharpCode.Data.EDMDesigner.Core.IO.SSDLIO.WriteXElement(SSDLContainer ssdlContainer)
   at ICSharpCode.Data.EDMDesigner.Core.IO.EDMXIO.WriteXDocument(EDMView edmView)
   at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Save(OpenedFile file, Stream stream)
   at ICSharpCode.SharpDevelop.OpenedFile.SaveCurrentViewToStream(Stream stream)
   at ICSharpCode.SharpDevelop.OpenedFile.SaveCurrentView()
   at ICSharpCode.SharpDevelop.OpenedFile.SwitchedToView(IViewContent newView)
   at ICSharpCode.SharpDevelop.FileServiceOpenedFile.WorkbenchActiveViewContentChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.set_ActiveViewContent(IViewContent value)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.WorkbenchWindowActiveViewContentChanged(Object sender, EventArgs e)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.set_ActiveWorkbenchWindow(IWorkbenchWindow value)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.OnActiveWindowChanged(Object sender, EventArgs e)
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.dockingManager_PropertyChanged(Object sender, PropertyChangedEventArgs e)
   at AvalonDock.DockingManager.NotifyPropertyChanged(String propertyName)
   at AvalonDock.DockingManager.OnActiveContentChanged(DependencyPropertyChangedEventArgs e)
   at AvalonDock.DockingManager.OnActiveContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at AvalonDock.DockingManager.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at AvalonDock.ManagedContent.Activate()
   at AvalonDock.DocumentContent.Activate()
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.ShowView(IViewContent content, Boolean switchToOpenedView)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.ShowView(IViewContent content, Boolean switchToOpenedView)
   at ICSharpCode.SharpDevelop.FileService.LoadFileWrapper.Invoke(String fileName)
   at ICSharpCode.Core.FileUtility.<>c__DisplayClass14.<ObservedLoad>b__13()
   at ICSharpCode.Core.FileUtility.ObservedLoad(FileOperationDelegate loadFile, String fileName, String message, FileErrorPolicy policy)
   at ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, String fileName, String message, FileErrorPolicy policy)
   at ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, String fileName, FileErrorPolicy policy)
   at ICSharpCode.SharpDevelop.FileService.OpenFile(String fileName, Boolean switchToOpenedView)
   at ICSharpCode.SharpDevelop.Project.FileNode.ActivateItem()
   at ICSharpCode.SharpDevelop.Gui.ExtTreeView.OnMouseDoubleClick(MouseEventArgs e)
   at System.Windows.Forms.TreeView.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:
19:20:38.360 [5] DEBUG - Adding existing class LoanAdditionalAgreementWindow from LoanAdditionalAgreementWindow.xaml
19:20:38.360 [5] DEBUG - Creating compound for Pawnshop.DesktopInterface.Document.LoanAdditionalAgreementWindow
19:20:38.360 [1] DEBUG - ParseInformationUpdated D:\Pawnshop\DesktopInterface\Document\LoanDocument\LoanAdditionalAgreementWindow.xaml new!=null:True
19:20:38.375 [5] DEBUG - Adding existing class LoanContractWindow from LoanContractWindow.xaml
19:20:38.375 [5] DEBUG - Creating compound for Pawnshop.DesktopInterface.Document.LoanContractWindow
19:20:38.375 [1] DEBUG - ParseInformationUpdated D:\Pawnshop\DesktopInterface\Document\LoanDocument\LoanContractWindow.xaml new!=null:True
19:20:38.391 [5] DEBUG - Adding existing class LoanContractPropertiesView from LoanContractPropertiesView.xaml
19:20:38.391 [5] DEBUG - Creating compound for Pawnshop.DesktopInterface.Document.LoanContractPropertiesView
19:20:38.391 [1] DEBUG - ParseInformationUpdated D:\Pawnshop\DesktopInterface\Document\LoanDocument\LoanContractPropertiesView.xaml new!=null:True
19:20:38.485 [5] DEBUG - Adding existing class LoanRepaymentWindow from LoanRepaymentWindow.xaml
19:20:38.485 [5] DEBUG - Creating compound for Pawnshop.DesktopInterface.Document.LoanRepaymentWindow
19:20:38.485 [1] DEBUG - ParseInformationUpdated D:\Pawnshop\DesktopInterface\Document\LoanDocument\LoanRepaymentWindow.xaml new!=null:True
19:20:38.485 [1] DEBUG - NavigationService -- resume logging
19:20:38.563 [4] DEBUG - Git: OverlayIconManager Thread finished
19:20:38.641 [9] DEBUG - SVN: OverlayIconManager Thread finished
19:20:44.259 [1] DEBUG - ActiveContentChanged to
19:20:44.853 [1] DEBUG - ActiveViewContentChanged to
19:20:44.853 [1] DEBUG - ActiveWorkbenchWindowChanged to
19:20:46.275 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad
19:20:46.587 [1] INFO - Open file D:\Pawnshop\BusinessClasses\BusinessModel.edmx
19:20:49.322 [1] DEBUG - ActiveContentChanged to ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent
19:20:49.322 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: BusinessModel.edmx]
19:20:49.322 [1] DEBUG - NavigationService
    ActiveViewContent: BusinessModel.edmx
              Subview: TabPageText
19:20:49.322 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent
19:20:49.322 [1] ERROR - ThreadException caught
--> Exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.Xml.Linq.XAttribute..ctor(XName name, Object value)
   at ICSharpCode.Data.EDMDesigner.Core.IO.SSDLIO.WriteXElement(SSDLContainer ssdlContainer)
   at ICSharpCode.Data.EDMDesigner.Core.IO.EDMXIO.WriteXDocument(EDMView edmView)
   at ICSharpCode.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent.Save(OpenedFile file, Stream stream)
   at ICSharpCode.SharpDevelop.OpenedFile.SaveCurrentViewToStream(Stream stream)
   at ICSharpCode.SharpDevelop.OpenedFile.SaveCurrentView()
   at ICSharpCode.SharpDevelop.OpenedFile.SwitchedToView(IViewContent newView)
   at ICSharpCode.SharpDevelop.FileServiceOpenedFile.WorkbenchActiveViewContentChanged(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.set_ActiveViewContent(IViewContent value)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.WorkbenchWindowActiveViewContentChanged(Object sender, EventArgs e)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.set_ActiveWorkbenchWindow(IWorkbenchWindow value)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.OnActiveWindowChanged(Object sender, EventArgs e)
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.dockingManager_PropertyChanged(Object sender, PropertyChangedEventArgs e)
   at AvalonDock.DockingManager.NotifyPropertyChanged(String propertyName)
   at AvalonDock.DockingManager.OnActiveContentChanged(DependencyPropertyChangedEventArgs e)
   at AvalonDock.DockingManager.OnActiveContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at AvalonDock.DockingManager.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at AvalonDock.ManagedContent.Activate()
   at AvalonDock.DocumentContent.Activate()
   at ICSharpCode.SharpDevelop.Gui.AvalonDockLayout.ShowView(IViewContent content, Boolean switchToOpenedView)
   at ICSharpCode.SharpDevelop.Gui.WpfWorkbench.ShowView(IViewContent content, Boolean switchToOpenedView)
   at ICSharpCode.SharpDevelop.FileService.LoadFileWrapper.Invoke(String fileName)
   at ICSharpCode.Core.FileUtility.<>c__DisplayClass14.<ObservedLoad>b__13()
   at ICSharpCode.Core.FileUtility.ObservedLoad(FileOperationDelegate loadFile, String fileName, String message, FileErrorPolicy policy)
   at ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, String fileName, String message, FileErrorPolicy policy)
   at ICSharpCode.Core.FileUtility.ObservedLoad(NamedFileOperationDelegate saveFileAs, String fileName, FileErrorPolicy policy)
   at ICSharpCode.SharpDevelop.FileService.OpenFile(String fileName, Boolean switchToOpenedView)
   at ICSharpCode.SharpDevelop.Project.FileNode.ActivateItem()
   at ICSharpCode.SharpDevelop.Gui.ExtTreeView.OnMouseDoubleClick(MouseEventArgs e)
   at System.Windows.Forms.TreeView.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.Data.EDMDesigner.Core.UI.DisplayBinding.EDMDesignerViewContent
ProjectService.OpenSolution: [Solution: FileName=D:\Pawnshop\Pawnshop.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: Pawnshop.BusinessClasses]

 

 

A problem with Sharpdevelop. Help me.

$
0
0

Every time when I switch from Source to design, Sharpdevelop compress all objects. I can't explain this bug but you can see it in image.

Here is correct form:

and here is incorrect form:

Resgen error using SharpDevelop 4.0 (.NET 4.0) on Vista SP 2

$
0
0

 I am using version 4.0 of SharpDevelop, along with .NET Framework 4.0 and running on Vista with SP 2, and I get the following error on a project I created:

Task failed because "resgen.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "resgen.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A. You may be able to solve the problem by doing one of the following:  1) Install the Microsoft Windows SDK.  2) Install Visual Studio 2010.  3) Manually set the above registry key to the correct location.  4) Pass the correct location into the "ToolPath" parameter of the task. (MSB3091)

Any ideas on how to proceed?  

Viewing all 1764 articles
Browse latest View live