Search
Setup for Free
S
Silk.NET
•
3y ago
TechPizza
... you're still building for net6
.
.
. you
're still building for net6
Silk.NET
Join
A Discord server for the Silk.NET - your one-stop-shop for high-speed .NET multimedia, graphics, and compute. FOSS.
1,788
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
A
Aqua
doesnt herman miller stuff cost like £1000+
L
Lyris the Kitori
•
1/13/23, 6:48 PM
if im gonna pound 1000 anything it
's going to be a glass bottle with a hammer
, not MONey
A
Aqua
•
1/13/23, 6:48 PM
hahaha
T
TechPizza
... you're still building for net6
I
Igorko
•
1/13/23, 6:49 PM
oof
, mb
I
Igorko
•
1/13/23, 6:49 PM
forgot to change TargetFramework
I
Igorko
•
1/13/23, 6:56 PM
it works
!
I
Igorko
•
1/13/23, 6:57 PM
dotnet build -c release
dotnet build -c release
with net7 bundles assemblies and optimizes them in size
, resulting in a 23
.9 MiB apk
T
TechPizza
OP
•
1/13/23, 6:57 PM
still a bit chonky
I
Igorko
•
1/13/23, 6:57 PM
still a bit much for an empty app
, but much better than 94
, thank you all
!
T
TechPizza
OP
•
1/13/23, 6:58 PM
are you bundling SDL with it
?
T
TechPizza
OP
•
1/13/23, 6:58 PM
i mean
, the APK is a zip
, you could just open it and see i guess
I
Igorko
•
1/13/23, 6:58 PM
not sure
.
.
.
I
Igorko
•
1/13/23, 6:58 PM
i think i saw sdl dll in debug apk
I
Igorko
•
1/13/23, 6:59 PM
oh
, nevermind
, it does
T
TechPizza
OP
•
1/13/23, 6:59 PM
because you could probably use silk
.net without bundling sdl
I
Igorko
•
1/13/23, 7:00 PM
how would i do that
?
I
Igorko
•
1/13/23, 7:00 PM
also what silk would use for input handling and events then
? glfw
?
T
TechPizza
OP
•
1/13/23, 7:01 PM
it would use android APIs i think
T
TechPizza
OP
•
1/13/23, 7:02 PM
also does the APK include more than one SDL native dll
? i think it has to include multiple
T
TechPizza
OP
•
1/13/23, 7:02 PM
unless not
P
Perksey
•
1/13/23, 7:04 PM
yes our aar includes all the main archs
P
Perksey
•
1/13/23, 7:05 PM
https://github.com/dotnet/Silk.NET/blob/main/build/nuke/Build.Native.cs#L55
https://github.com/dotnet/Silk.NET/tree/main/src/Windowing/SilkDroid
T
TechPizza
OP
•
1/13/23, 7:06 PM
yeah but upon install only the needed one should be stored
T
TechPizza
OP
•
1/13/23, 7:06 PM
so one should look at the install size
, not APK size
T
TechPizza
so one should look at the install size, not APK size
I
Igorko
•
1/13/23, 7:07 PM
hmm
, didn
't think of that
I
Igorko
•
1/13/23, 7:07 PM
the app size is 35
.42 MB
I
Igorko
•
1/13/23, 7:07 PM
chonky indeed
F
flyke
•
1/13/23, 7:14 PM
People making games on Defold engine
, with 4mb download size
. Is it possible with
.Net and Silk
? I mean
, such small apk size
.
P
Perksey
•
1/13/23, 7:15 PM
it is technically possible but you
'd throw out everything that
's nice about this ecosystem in the process
P
Perksey
•
1/13/23, 7:15 PM
mono is to blame for a lot of the size
P
Perksey
•
1/13/23, 7:15 PM
as the actual silk bit
(SDL
, silk assemblies
) is pretty tiny by comparison
F
flyke
•
1/13/23, 7:18 PM
I see
, so all volume it is big fat Mono
.
P
Perksey
•
1/13/23, 7:18 PM
pretty much
P
Perksey
•
1/13/23, 7:18 PM
i
'd be interested in the actual apk makeup though
P
Perksey
•
1/13/23, 7:18 PM
which assemblies are the largest
L
Lyris the Kitori
and you can still compile apps for that in vs2022, even for ARM
F
Furball
•
1/13/23, 7:31 PM
it doesnt work though
F
Furball
•
1/13/23, 7:32 PM
itll tell you that its an invalid target
F
Furball
•
1/13/23, 7:32 PM
and that the valid targets are x86
, x86
_64 and arm64
L
Lyris the Kitori
•
1/13/23, 7:32 PM
I saw the option and just assumed it worked
, ah
F
Furball
•
1/13/23, 7:32 PM
oh i meant a totally different thing but yes
F
Furball
•
1/13/23, 7:32 PM
just cuz its there doesnt mean it works
F
Furball
•
1/13/23, 7:32 PM
hell it lets you select itanium as the target
F
Furball
•
1/13/23, 7:33 PM
it just wont build cuz msvc dropped that long ago
F
Furball
•
1/13/23, 7:33 PM
also that subsystem is horrible
F
Furball
•
1/13/23, 7:33 PM
its the definition of malicious compliance
F
Furball
•
1/13/23, 7:36 PM
the unix subsystem was only made to milk money from government stuff cuz they needed to comply with a unix spec to be considered
F
Furball
•
1/13/23, 7:36 PM
and well
.
.
. that spec wasnt exactly well written
P
Perksey
•
1/13/23, 7:37 PM
government specs are never well written
P
Perksey
•
1/13/23, 7:37 PM
heck all non
-open specs tend to be poortly written
F
flyke
•
1/13/23, 8:09 PM
I
'm happy with new Linux subsystem on Windows
, web devs life became easier
. Can run aps in Linux containers
, almost without problems
, only drawback is high memory consumption
.
L
Lyris the Kitori
•
1/13/23, 8:10 PM
the POSIX subsystem for windows wasn
't like WSL or WSL2
, it
's an NT personality
Next page
dotnet build -c release
dotnet build -c release