You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If so, you had some more recent commits that look like they start to target newer versions of .NET (core) and the README says:
NEW! - Added .NET 5.0 WinForms projects. You can now use these projects without the .NET Framework.
on nuget I only see v1.0.0 and don't see any older versions or versions targeting other (older) frameworks.
TLDR; This package looks awesome 👏 and is exactly what I need. Would you be able to publish some older package versions and/or versions targeting other (older) frameworks? Alternatively, could you point me to a git commit when this code did work with older Frameworks? I looked for version tags and branches but couldn't see any so I am not 100% sure how far I should go back etc. Thanks for any help/advice. I could end up creating this sort of custom message box myself but it seems a shame to reinvent the wheel. I could potentially (after some direction) help and submit a PR to this repo to enable publishing old versions of the package or versions targeting other (older) frameworks if that would be useful.
What I tried:
I tried to use v1.0.0 in a VSTO add-in WinForms class library targeting .NET Framework v4.6.1 and due to client IT requirements I cannot currently change that. Unfortunately, v1.0.0 of your package failed initially due to missing System.Drawing.Bitmap
Reference required to assembly System.Drawing.Common, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 containing the type 'Bitmap'. Add one to your project.
My understanding is that in .NET Framework you have System.Drawing.Bitmap but in .NET (core) 3.1/5.0/6.0 you have System.Drawing.Common.Bitmap and this is probably causing the issue.
My request: would you be able to publish some older package versions and/or versions targeting other (older) frameworks? Alternatively, could you point me to a git commit when this code did work with older Frameworks? I looked for version tags and branches but couldn't see any so I am not 100% sure how far I should go back etc. I could potentially contribute to this repo if useful.
Thanks a lot.
The text was updated successfully, but these errors were encountered:
Just wanted to check that this repo was the one that creates this nuget package? https://www.nuget.org/packages/MessageBoxEx/
If so, you had some more recent commits that look like they start to target newer versions of .NET (core) and the README says:
on nuget I only see v1.0.0 and don't see any older versions or versions targeting other (older) frameworks.
TLDR; This package looks awesome 👏 and is exactly what I need. Would you be able to publish some older package versions and/or versions targeting other (older) frameworks? Alternatively, could you point me to a git commit when this code did work with older Frameworks? I looked for version tags and branches but couldn't see any so I am not 100% sure how far I should go back etc. Thanks for any help/advice. I could end up creating this sort of custom message box myself but it seems a shame to reinvent the wheel. I could potentially (after some direction) help and submit a PR to this repo to enable publishing old versions of the package or versions targeting other (older) frameworks if that would be useful.
What I tried:
I tried to use v1.0.0 in a VSTO add-in WinForms class library targeting .NET Framework v4.6.1 and due to client IT requirements I cannot currently change that. Unfortunately, v1.0.0 of your package failed initially due to missing
System.Drawing.Bitmap
My understanding is that in .NET Framework you have
System.Drawing.Bitmap
but in .NET (core) 3.1/5.0/6.0 you haveSystem.Drawing.Common.Bitmap
and this is probably causing the issue.I tried to install the https://www.nuget.org/packages/System.Drawing.Common/4.7.0 package which seems to be the same version of the assembly required by your package but then I got type name conflicts and other issues etc.
So I ended up with this in my .vbproj file
Which then gave me this issue:
and this issue:
This makes me think v1.0.0 of your package (and/or .NET (core) 3.1) don't play nicely with .NET Framework 4.6.1. Also, after reading this https://stackoverflow.com/questions/42009086/the-type-marshalbyrefobject-is-defined-in-an-assembly-that-is-not-referenced it sounds like my attempts to "fix" this are not getting me anywhere.
My request: would you be able to publish some older package versions and/or versions targeting other (older) frameworks? Alternatively, could you point me to a git commit when this code did work with older Frameworks? I looked for version tags and branches but couldn't see any so I am not 100% sure how far I should go back etc. I could potentially contribute to this repo if useful.
Thanks a lot.
The text was updated successfully, but these errors were encountered: