Comments (11)
@waliarubal Sorry did not have much time lately. I hope I can investigate over the weekend.
from avalonia.xaml.behaviors.
@waliarubal Can you post from where the stack overflow is coming, I am currently unable to do repro on my machine.
from avalonia.xaml.behaviors.
@waliarubal When I run your app I get this:
from avalonia.xaml.behaviors.
Check that the project file for FileSystem plugin looks like below. It has setting to emit output DLL to main project's output directory on build. Try taking latest from my master branch as I may have added some MEF changes that might effect.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Update="**\*.xaml.cs">
<DependentUpon>%(Filename)</DependentUpon>
</Compile>
<AvaloniaResource Include="**\*.xaml">
<SubType>Designer</SubType>
</AvaloniaResource>
<AvaloniaResource Include="Assets\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.9.0-preview4" />
<PackageReference Include="Avalonia.Desktop" Version="0.9.0-preview4" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Jaya.Shared\Jaya.Shared.csproj" />
</ItemGroup>
<PropertyGroup Condition="'$(Platform)'=='AnyCPU'">
<OutputPath>..\Jaya.Ui\bin\$(Configuration)\</OutputPath>
</PropertyGroup>
</Project>
You shall see something like below.
from avalonia.xaml.behaviors.
Did you manage to reproduce it? Is the issue fixed now?
from avalonia.xaml.behaviors.
Okay @wieslawsoltes , will be waiting eagerly for your fix. Just to re-mention, the below line in project file of plugins forces the plugins to be built in main program's output directory.
<PropertyGroup Condition="'$(Platform)'=='AnyCPU'">
<OutputPath>..\Jaya.Ui\bin\$(Configuration)\</OutputPath>
</PropertyGroup>
from avalonia.xaml.behaviors.
@waliarubal I get this:
Why do you thinks its caused by Avalonia Behaviors. When Avalonia was updated from 0.8.X to 0.9.X the Rx library was also updated.
from avalonia.xaml.behaviors.
@waliarubal I have commented out this code:
https://github.com/waliarubal/Jaya/blob/c5dcf8fb9fc55ea8e78e723754c00c82085c38ce/Jaya.Ui/Views/ExplorerView.xaml#L96-L100
and SO exceptions still happens. Did not see any other usage of behaviors in your app.
from avalonia.xaml.behaviors.
Interesting, I never checked after commenting the behaviour usage in my app but yes it occured when i did double click action on nodes. Anyways, is this a problem with Avalonia itself then or is their something I should do to prevent this?
from avalonia.xaml.behaviors.
@waliarubal I have commented out this code:
https://github.com/waliarubal/Jaya/blob/c5dcf8fb9fc55ea8e78e723754c00c82085c38ce/Jaya.Ui/Views/ExplorerView.xaml#L96-L100
and SO exceptions still happens. Did not see any other usage of behaviors in your app.
Yes, for now I just have this usage.
from avalonia.xaml.behaviors.
Also let me know how were you able to step into external code since debugger never halted at that point in my machine? In future it will help me in being more verbose in diagnosing root cause of the issues. Thanks for your help and support.
from avalonia.xaml.behaviors.
Related Issues (20)
- InvokeCommandAction on listbox items
- Drag multiple ListBox items
- Nightly build fails HOT 5
- Native Aot for Avalonia.Xaml.Behaviors HOT 2
- ListBox control firing SelectionChanged event before updating SelectedItem property HOT 4
- Binding to attached property exception HOT 1
- [D&D] Unable using scrollbar if scrollview is inside ListBoxItem
- Textbox focus HOT 2
- Setting Behaviors via Styles is not additive HOT 2
- Microsoft.NETFramework.ReferenceAssemblies included as dependency HOT 1
- Support KeyModifiers in more Triggers and related issues
- DataTriggerBehavior does not work correctly in ContextMenu
- Using EventTriggerBehavior to bind the closed command doesn't work HOT 4
- EventTriggerBehavior is invalid in Unloaded event HOT 5
- doc site http://wieslawsoltes.github.io/AvaloniaBehaviors/ 404 this moment.
- Update package to 11.0.4 please HOT 3
- Dragging ListBoxItem on Android
- 11.0.9.1 and 11.0.9.2 Breaks Avalonia HOT 1
- DataTriggerBehavior doesn't work with DataGridRow style HOT 1
- ButtonClickEventTriggerBehavior misses previously pressed modifiers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalonia.xaml.behaviors.