Toggle navigation
LINQPad
Categories
Discussions
Activity
Best Of...
Sign In
Home
LinqPad single exe
actnhn
January 2017
Hi Joe,
Is it possible for you to share how you package all LinqPad assemblies into a single executable?
Thanks
0
·
Share on Facebook
Share on Twitter
Comments
JoeAlbahari
January 2017
You can do this by including the assemblies as embedded resources and loading them on demand via the AppDomain's AssemblyResolve event. Look at the last code listing on this page:
http://www.albahari.com/nutshell/cs4ch17.aspx
You can also compress the assemblies to save space, with System.IO.Compression.DeflateStream
2
·
Share on Facebook
Share on Twitter
Sign In
or
Register
to comment.
Comments
http://www.albahari.com/nutshell/cs4ch17.aspx
You can also compress the assemblies to save space, with System.IO.Compression.DeflateStream