I need some advice on how to fix this bug:
Exception:
"'Set property 'System.Windows.FrameworkElement.Margin' threw an exception.' Line number '6' and line position '31'."
InnerException:
"'12,10,599,Auto' is not a valid value for property 'Margin'."
I dont know how it could happen, because I didn’t touch XAML yet. I used only designer.
Here is my XAML (There is no any “Auto” in properties ):
<Window x:Class="LinksGraph.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="774" Width="671" Closing="Window_Closing">
<Grid>
<Label Content="URL:" Height="28" Margin="12,10,599,0" Name="lURL" VerticalAlignment="Top" FontWeight="Bold" />
<Button Content="Start" Height="23" Margin="0,44,93,0" Name="btnStart" VerticalAlignment="Top" HorizontalAlignment="Right" Width="75" Click="btnStart_Click" />
<ProgressBar Height="10" HorizontalAlignment="Left" Margin="12,0,0,46" Name="pbStatus" VerticalAlignment="Bottom" Width="625" />
<TextBox Height="23" Margin="56,10,107,0" Name="tbURL" VerticalAlignment="Top" />
</Grid>
</Window>
Thanks for any advice!
I don’t know really what happened, but only “format c:\” helped me solve this problem 🙁
Nothing, including reinstal VS and all dependencies, didn’t help… And that’s sad 🙁