Comments (10)
No worries at all, @maxkatz6, I understand it completely. Your low hanging fruit picking is much appreciated already! What important is, that a road block has been lifted for us.
If we're indeed going to implement AvaloniaUI into our products, I will try my best to advocate supporting Avalonia.
from avaloniavs.
I'm trying to convince our team for choosing AvaloniaUI to replace WinForms for modernising our Windows (only) applications. As we need to host several DevExpress WPF controls, this issue makes convincing the team quite the challenge...
As I really think AvaloniaUI is our way forward, I'm eager to assist in fixing this issue in my spare time. If anyone could give me some pointers for how to perform a diagnosis of the extension while running, it would really help me out.
from avaloniavs.
I don't think I can use these DevExpress packages without having their licensed nuget feed used.
Error NU1101 Unable to find package DevExpress.Images. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget-feed-all.avaloniaui.net, nuget.org WpfLibrary1 E:\Work\Projects\TrashBin\avavs\WpfLibrary1\WpfLibrary1.csproj 1
Do you have another repro that can be used with public nugets?
from avaloniavs.
Hi Max, thanks for your response. I am currently testing against a 30 day trial license as we don't have a license for their WPF controls yet. Is registering for a trial license an option for you as well? After registering you'll get access to a unique public trial feed or you could install the packages locally through an installer: https://www.devexpress.com/products/try/
from avaloniavs.
DevExpress has no Avalonia controls
from avaloniavs.
I understand that, we need to host some WPF DevExpress controls inside AvaloniaUI Windows. I should have explained that in my issue. Hosting a DevExpress control works perfectly fine when executing aan AvaloniaUI application. The problem is that just referencing the DevExpress libraries, without actually using it in my own code, is enough to observe the reported behaviour with the previewer..
from avaloniavs.
That's a 2GB of ModuleDefMD from dnLib
from avaloniavs.
After that PR plugin still consumers lots of memory and CPU while trying to process DevExpress libraries as potential metadata candidate for XAML competition. But at least it should free this memory after metadata was already collected (i.e. once per each opened project).
from avaloniavs.
I just gave the VSIX from the PR a try and I can confirm the fix is indeed a big improvement! I could not count for much support from my team with Visual Studio continuously crashing. Thanks a lot for your timely actions!
Are you planning the resolve the memory and CPU consumption in a later fix?
from avaloniavs.
@myth384 unfortunately, I am not able to spend much more time on improving AvaloniaVS performance, as I already checked low hanging fruits. Especially since it's pretty uncommon use case to use such heavy control libraries with Avalonia. You can contact our support team, if you want to make it a higher priority though.
About AvaloniaVS release cycle, we planned to do a release once 11.1 stable is ready. But I will see if we can do a minor release earlier. Either way - this vsix package should be available to download for a month at least, and if needed, I can trigger a new build.
from avaloniavs.
Related Issues (20)
- Error for adding additional properties preview on Window
- Intellisense does not work
- [DevTools] Copy Selector replace Clr Namespace with xmlns HOT 10
- Add XAML Editor configuration persistance in Visual Studio HOT 1
- Tooltip flashing in preview window
- preview and autocomplete only work if you have a desktop application HOT 3
- Incorrect behavior of adding a new Avalonia item to project in Visual Studio HOT 1
- Broken installation on linux HOT 1
- Reference the library from an executable or wait for the solution to finish loading. HOT 1
- Autocomplete of binding properties doesn't work in Visual Studio 2022 mostly HOT 1
- Autocomplete of binding properties doesn't work in Visual Studio 2022 mostly HOT 7
- Add ability to change themes in the previewer. HOT 1
- Regions in AXAML files HOT 1
- New Event shown in Code-Behind
- "No executable found" when integrating Microsoft.ML.OnnxRuntime.DirectML HOT 6
- Add XAML editor's behaviour "Show inline color previews"
- Remove dependency from Avalonia TemplateStudio HOT 1
- Intellisense does not work whem mix assembly version
- .vsix does not install offline HOT 5
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 avaloniavs.