-
Notifications
You must be signed in to change notification settings - Fork 523
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
Marshal methods, Part 1 of ? #7004
Changes from all commits
1c9a211
dcf5ebc
83515ef
e16eb40
2cd2e70
41c186d
a8bca69
e3ce6a8
ef70c2a
ccda3f3
df365df
42f4a69
799a72b
2d27ded
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"Size": 60736 | ||
}, | ||
"assemblies/Mono.Android.dll": { | ||
"Size": 152435 | ||
"Size": 152344 | ||
}, | ||
"assemblies/rc.bin": { | ||
"Size": 1083 | ||
|
@@ -59,13 +59,13 @@ | |
"Size": 9591 | ||
}, | ||
"assemblies/UnnamedProject.dll": { | ||
"Size": 3560 | ||
"Size": 3555 | ||
}, | ||
"classes.dex": { | ||
"Size": 348440 | ||
}, | ||
"lib/arm64-v8a/libmonodroid.so": { | ||
"Size": 484512 | ||
"Size": 510920 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems odd that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A lot more code is inlined now. It's a bit surprising it generates that much of a difference, tbh. |
||
}, | ||
"lib/arm64-v8a/libmonosgen-2.0.so": { | ||
"Size": 4667768 | ||
|
@@ -80,7 +80,7 @@ | |
"Size": 146816 | ||
}, | ||
"lib/arm64-v8a/libxamarin-app.so": { | ||
"Size": 15944 | ||
"Size": 15904 | ||
}, | ||
"META-INF/BNDLTOOL.RSA": { | ||
"Size": 1213 | ||
|
@@ -92,7 +92,7 @@ | |
"Size": 3646 | ||
}, | ||
"res/drawable-hdpi-v4/icon.png": { | ||
"Size": 4762 | ||
"Size": 4791 | ||
}, | ||
"res/drawable-mdpi-v4/icon.png": { | ||
"Size": 2200 | ||
|
@@ -116,5 +116,5 @@ | |
"Size": 1904 | ||
} | ||
}, | ||
"PackageSize": 3492724 | ||
"PackageSize": 3500916 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is building with
dotnet build
a requirement for this one? When you build inside Visual Studio, it will beFull
using .NET Framework MSBuild.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, marshal methods will be NET7+ only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, but you can build .NET 7 projects in Visual Studio with .NET Framework MSBuild.
Does this feature require our build to be running under .NET 7?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can maybe shell out to
dotnet
to make this work, if needed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Native portion of the feature uses APIs that aren't available in Mono classic, so I wanted to make sure it's not enabled for classic by accident. However, this properly is here just until I finish all the parts of the feature, it will be
removed in the last PR. It's just easier this way for me to keep the feature disabled in
main
while I can enable it globally in the branch I'm working in on the next PRs.