-
-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot attach to WPF self-contained single file app #378
Comments
Can reproduce this and will fix it after my vacation. |
So, after some investigation this is not caused by self-contained, but by single-file combined with self-contained instead. I will need some more time to find a solution for this as the dlls required to inject Snoop are not loaded as modules. |
I tried and investigated a lot, but it seems impossible, as of now, to attach to a single file self-contained app. I won't give up. But for now, will set my priorities on other problems till i might have a bright moment on how to solve this issue. |
@batzen I did encounter some issues with singlefilehost and attaching to release with PDB files ... etc More info: |
Hey, I just tested it while trying to leave a response here: It works :O. If it works we could close this issue. UPDATE: Issue still valid. |
|
Single-file self-contained does not mean native. |
Based on dotnet/wpf#8488 WPF should be trimmable now. I've read that they also implemented native AOT for WPF with .NET 8, if I recall correctly. But can't find the issue on GItHub right now. |
Hello,
I have WPF self contained app. When I publish it and try to attach with snoop it fails.
I have created an example repository. Attaching from Visual Studio works in VS 2022 17.4 Preview 4.
Do you plan to add support for this soon?
You can find an example repository here: https://github.com/okipol88/WpfSelfContained
Publish configuration:
The text was updated successfully, but these errors were encountered: