PostSharp.Community.Packer:将所有.dll打包到您的主可执行文件中,使其成为独立文件

时间:2021-05-10 09:28:35
【文件属性】:
文件名称:PostSharp.Community.Packer:将所有.dll打包到您的主可执行文件中,使其成为独立文件
文件大小:53KB
文件格式:ZIP
更新时间:2021-05-10 09:28:35
C# PostSharp.Community.Packer 将依赖项作为资源嵌入,以便您可以拥有独立的可执行文件。 此加载项仅在.NET Framework下有效。 在.NET Core中,我们建议改为升级到.NET Core 3或更高版本,并使用。 2020年5月27日。我们已在介绍了此插件。 这是的加载项。 它使用IL编织在编译过程中修改您的程序集。 例子 您的项目通常会导致MyProject.exe ,它需要Newtonsoft.Json.dll和Soothsilver.Random.dll作为依赖项,因为您使用了这些NuGet程序包。 如果使用此加载项,则这两个DLL将作为资源嵌入到MyProject.exe中并从那里加载。 安装 安装NuGet软件包: PM> Install-Package PostSharp.Community.Packer 在获得免费的PostShar
【文件预览】:
PostSharp.Community.Packer-master
----TestAssembly.WithReferences()
--------packages.config(435B)
--------TestAssembly.WithReferences.csproj(5KB)
--------Program.cs(883B)
--------Properties()
----PostSharp.Community.Packer.nuspec(1KB)
----sign.cmd(134B)
----Tests.PostSharpUsingAssembly()
--------packages.config(435B)
--------Program.cs(1KB)
--------Properties()
--------Tests.PostSharpUsingAssembly.csproj(5KB)
----Client()
--------PackerUtility.cs(743B)
--------PackerAttribute.cs(5KB)
--------Client.csproj(619B)
----.github()
--------workflows()
----Weaver()
--------ResourceEmbedder.cs(12KB)
--------ResourceHash.cs(1KB)
--------AssemblyLoaderInfo.cs(3KB)
--------ConcatenatedStream.cs(2KB)
--------NativeResources.cs(2KB)
--------Weaver.csproj(1KB)
--------Configuration.cs(2KB)
--------ReplacePackerUtilityInitializeAdvice.cs(978B)
--------CallAttachModuleInitializer.cs(1KB)
--------ResourceNameFinder.cs(5KB)
--------Assets.cs(1KB)
--------Checksums.cs(1KB)
--------AttachCallSynthesis.cs(2KB)
--------Extensions.cs(1KB)
--------PackerTask.cs(3KB)
--------ResourceCaseFixer.cs(526B)
----sign.json(376B)
----Tests.WPF()
--------packages.config(209B)
--------App.xaml(363B)
--------App.xaml.cs(380B)
--------App.config(182B)
--------Tests.WPF.csproj(5KB)
--------MainWindow.xaml(493B)
--------Properties()
--------MainWindow.xaml.cs(336B)
----icon.png(4KB)
----LICENSE.md(1KB)
----.gitignore(55B)
----Tests()
--------Tests.csproj(640B)
--------BasicTest.cs(2KB)
----PostSharp.Community.Packer.sln(3KB)
----BuildProcess()
--------Templates()
--------PostSharp.Community.Packer.targets(1KB)
----README.md(2KB)

网友评论