Comments (6)
FileNotFoundException: Could not load file or assembly 'C:\Users\pub\Downloads\Okami.dll'. The system cannot find the file specified.
This part surprises me. AdonisWindow looks for the icon in Assembly.GetEntryAssembly()
which seems to return 'C:\Users\pub\Downloads\Okami.dll' for you. I would expect the entry to be an .exe file.
What does your application structure look like? Does your application only constist of this Okami.dll
? Is there an additional .exe assembly involved? How do they relate? Did you start your app via unmanaged code?
from adonis-ui.
Implementing AdonisWindow
\AdonisWindowIcon_Bug\Demo\Demo> .\bin\Debug\netcoreapp3.1\Demo.exe
-> Does not start
AdonisWindowIcon_Bug\Demo\Demo\bin\Debug\netcoreapp3.1> .\Demo.exe
-> Works
Implementing only Window
-> Both work
I have created a test app here -> https://github.com/Swiftpaws/AdonisWindowIcon_Bug
from adonis-ui.
Could you please explain what you mean with > .
in you paths?
I downloaded your demo and for me it runs perfectly. But I am not sure what the difference in those two paths is that you mentioned.
from adonis-ui.
They are command line calls
The first command does not work while the second one does.
The difference is the current directory - if the current directory (of the command line) is the same as the .exe it can launch if that is not the case it will not launch
from adonis-ui.
Oh now I see. Sorry it took me so long to understand what you meant.
I am now able to reproduce the issue and working on a fix.
from adonis-ui.
I created a PR which solves the issue. At least it works for your demo project. Before merging you can check if it works for your original project as well if you want.
from adonis-ui.
Related Issues (20)
- Ribbon control
- RippleHost causing MemoryLeaks HOT 1
- About the select page
- Change accent color at runtime
- center window don't work HOT 1
- MessageBox result closes application HOT 3
- Remove red border around button content when using data validation HOT 4
- AdonisWindow // Hide all buttons property
- Text wrapping for watermark
- AdonisWindow not getting garbage collected HOT 2
- Adonis UI alternative for Avalonia? HOT 1
- Questions HOT 2
- Extend style of control styled with Classic Theme? (.NET 7) HOT 1
- Setting ResizeMode "CanResizeWithGrip" on the window removes Adonis title bar
- Resource not found; ResourceKey='TargetType=AdonisUI.Brushes ID=Layer0BorderBrush'
- visual studio 2022 xaml designer not showing adonisControls:AdonisWindow HOT 2
- Cannot add AdonisUI Custom Components from Toolbox or it's not seen xaml code?
- Add Expander control style HOT 1
- [Support request] AdonisUI styling not applying to codebehind-generated control? HOT 1
- Memory leak to AdonisWindow from HandleTitleBarActualHeightChanged
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 adonis-ui.