ilmerge Questions

5

Summary I want to alter the build process of a 2-assembly solution, such that a call to ILMerge is invoked, and the build results in a single assembly. Further I would like to be able to debug into...
Yogh asked 17/6, 2010 at 19:1

18

Solved

So, as the title reads, I have a VS2010 solution with ~50 projects in it right now. If I make a change to a "top level" project that nothing references then VS still rebuilds all 50 projects. I'm r...
Laski asked 17/2, 2013 at 0:25

6

Solved

In the build process for a .NET C# tool, I have been using ILMerge to merge the assemblies into a single exe. I added a new class library recently, and now the ILMerge is failing. I have remember...
Antimagnetic asked 27/11, 2009 at 9:27

3

I'll make this as simple as I can, if you need any more info please let me know. I downloaded ILMerge to merge Newtonsoft.Json.dll into my class library. I am invoking ILMerge from the post-build e...
Munshi asked 13/8, 2014 at 4:21

10

Solved

I'm currently working on a project where we have a lot of dependencies. I would like to compile all the referenced dll's into the .exe much like you would do with embedded resources. I have tried I...
Surbased asked 22/6, 2009 at 7:14

9

Solved

I want to merge one .NET DLL assembly and one C# Class Library project referenced by a VB.NET Console Application project into one command-line console executable. I can do this with ILMerge from ...
Pinworm asked 31/3, 2010 at 19:56

10

Solved

I have a C# solution with a referenced dll (also C# with the same .Net version). When I build the solution and run the resulting exe, without merging the exe and the referenced dll, everything work...
Claar asked 2/3, 2011 at 16:21

13

Solved

I have two DLL files which I'd like to include in my EXE file to make it easier to distribute it. I've read a bit here and there how to do this, even found a good thread here, and here, but it's fa...
Izawa asked 13/4, 2012 at 8:55

7

Solved

I consuming my service stack using EXE project (startup task for azure application) in that I have copied following service stack's DLL & some Azure's DLLs in to EXE project. When I build th...
Guria asked 10/11, 2011 at 9:43

2

When using MSBuild.ILMerge.Task referenced via packagereference the following error came up: error MSB4018: The "MSBuild.ILMerge.Task" task failed unexpectedly. error MSB4018: System.IO.FileNotFou...
Burier asked 6/8, 2018 at 17:9

3

Solved

I am creating a plugin to call a webservice. I need to serialize and deserialize the Json object. So, I need Newtonsoft.Json. I am trying to merge the dll from NewtonSoft.Json and my application dl...
Mammon asked 3/12, 2018 at 22:29

1

I have installed MSBuild.ILMerge.Task into my project using Nuget. When i try to build my project , An error comes up : Error : Unresolved assembly reference not allowed: ICSharpCode.SharpZipLi...
Dizon asked 11/3, 2017 at 11:29

6

Solved

Two problems: 1) Basic .NET Assembly Not Included in ILMerged Assembly I'm having trouble using ILMerge in my post-build after upgrading from .NET 3.5/Visual Studio 2008 to .NET 4/Visual Studio 2...
Mace asked 2/6, 2010 at 20:29

3

I am merging several .NET assemblies using ILMerge including some 3rd party assemblies. Since doing so, I've experienced several errors that all boil down to the fact that type definitions are tied...
Seddon asked 5/11, 2009 at 18:4

2

Solved

I tried to use ILMerge on my WPF-based project (VS2010, Net4.0) but I couldn't make the merged executable to run. So I created two very simply projects just a console application which prints out...
Muskeg asked 17/8, 2010 at 6:20

5

Solved

I'm testing out ILMerge for a new project, and although the .exe file seems to be created correctly, it won't run. I have installed ILMerge via the .msi installer (found here http://www.microsoft....
Frymire asked 16/11, 2011 at 21:11

1

I am trying to put .dll fles in my .exe file and I am getting this error: ILMerge.exe: The assembly 'Final' has a value for it's PeKind flag 'Ilonly, requires32bits' that is not compatible with...
Diminuendo asked 31/7, 2015 at 1:2

2

I am trying to merge two assemblies using ilmerge with the method described here: http://www.hanselman.com/blog/MixingLanguagesInASingleAssemblyInVisualStudioSeamlesslyWithILMergeAndMSBuild.aspx ...
Unsuitable asked 12/11, 2011 at 0:6

12

Solved

Do you use ILMerge? Do you use ILMerge to merge multiple assemblies to ease deployment of dll's? Have you found problems with deployment/versioning in production after ILMerging assemblies together...
Disgust asked 13/8, 2008 at 1:5

1

I am using the NuGet package MSBuild.ILMerge.Taskin order to combine .NET external dlls to a single executable file. It works like a charm. Now, when I try to edit while Debugging, Visual Studio s...
Kunz asked 19/10, 2016 at 14:4

0

I have an issue using the latest version of ILMerge and I would like if someone can explain me if this is normal. During my search on the web I realized I was not using the latest version of ILMerg...
Synovia asked 18/7, 2016 at 17:48

2

Solved

I am using ILMerge to combine 9 .NET DLL's written in C# .NET 4. The problem is ILMerge gets stuck, no error message or anything. The log shows that ILMerge merges all the assemblies correctly, th...
Brachyuran asked 29/12, 2011 at 17:54

1

Solved

When attempting to merge several assemblies in a VS Post Build I ran into the issue: ILMerge version 2.13.307.0 Copyright (C) Microsoft Corporation 2004-2006. All rights reserved. ILMerge /out:Ass...
Cooperstein asked 11/10, 2014 at 19:45

3

Solved

After installing .Net 4.5 Beta, the output of my Nant build fails with: "could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture...
Flannelette asked 16/8, 2012 at 16:12

2

I have a number of DLLs that are merged using the ILMERGE.EXE tool from Microsoft. All the DLLs have 'optimize my code' unchecked. When trying to debug code in a web application the modules scree...
Cousin asked 21/1, 2009 at 1:38

© 2022 - 2024 — McMap. All rights reserved.