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
{{ message }}
This repository was archived by the owner on Oct 4, 2021. It is now read-only.
[NuGet] Show license metadata in License Acceptance dialog
If the NuGet package has associated license metadata then show this
in the dialog. License metadata can be an expression or a file.
A license file will now be displayed in a dialog if the View License
link is clicked. Warning icons and associated message will also be
displayed for deprecated licenses.
There are problems here. Could not get the text to wrap so ended up
making the dialog resizable and always showing the scrollbars.
Hyperlinks in license expressions do not open the url in a browser
since the Xwt Xamarin.Mac's LabelBackend does not implement support
for this.
Copy file name to clipboardExpand all lines: main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Gui/LicenseAcceptanceDialog.cs
+91-25Lines changed: 91 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,8 @@
30
30
usingSystem;
31
31
usingSystem.Linq;
32
32
usingMonoDevelop.Core;
33
-
usingMonoDevelop.Ide;
33
+
usingMonoDevelop.Ide;
34
+
usingNuGet.PackageManagement.UI;
34
35
usingXwt;
35
36
36
37
namespaceMonoDevelop.PackageManagement
@@ -46,7 +47,6 @@ internal class LicenseAcceptanceDialog : Dialog
0 commit comments