Skip to content
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

Build fixes #304

Open
wants to merge 3 commits into
base: release/1.3
Choose a base branch
from
Open

Build fixes #304

wants to merge 3 commits into from

Conversation

SamB
Copy link

@SamB SamB commented Apr 2, 2021

Just a few build improvements I came up with due to debugger misconfiguration.

In particular, I had "Break when exceptions cross AppDomain or managed/native boundaries" enabled,
so the debugger broke in on a failed call somewhere inside WasCurrentProcessToastActivated(),
at which point I noticed that the debugger wasn't finding the symbols.

This turned out to be because the PDB files from NuGet dependencies weren't being propagated along with the DLLs.

SamB added 3 commits April 1, 2021 22:53
Apparently, this project system was never taught to copy
PDB and XML documentation files alongside the DLL they go with.

We'll have to do it ourselves for now.

For details, see:
* dotnet/sdk#1458
* NuGet/Home#5926
@CLAassistant
Copy link

CLAassistant commented Apr 2, 2021

CLA assistant check
All committers have signed the CLA.

@Lakritzator
Copy link
Member

Cool, very thoughtful.
But I cannot merge this.
It might look like your changes make sense, but I do not want to have direct connection between Greenshot and the plugins.
Especially there should not be any leaking of dependencies, and this will happend if you have a direct project reference.
It should be possible to install Greenshot without having any plugins.

About the toast error, I moved from my own toast implementation to the "Microsoft.Toolkit.Uwp.Notifications" which seems to have an issue which I fixed myself in my code. I did have a quick check, but couldn't find it yet. I just upgraded the nuget locally, but don't know yet if this solves the issue... Honestly, I just added a try catch for now...

@SamB
Copy link
Author

SamB commented Apr 2, 2021 via email

@SamB
Copy link
Author

SamB commented Apr 3, 2021

By the way, the reason I was trying to run in the debugger in the first place was that I was seeing something like Issue #116 (desktop was really eager to be clicked in "Capture Window" mode ...), but naturally it wasn't happening in my freshly launched build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants