dotnet / ILMerge

ILMerge is a static linker for .NET Assemblies.
MIT License
1.23k stars 170 forks source link

Windows 10 #15

Open AlexChea opened 7 years ago

AlexChea commented 7 years ago

hi, the latest dot net 4.7 is not support

mike-barnett commented 7 years ago

Could you please be more specific? How is it not supported? If you can provide a repro, that would be best. Thanks!

Fabi commented 7 years ago

.net 4.7 exe/dll merge works fine for me!

RicardoASilva commented 7 years ago

I might have the same issue, tried out the ILMerge GUI tool and I'm getting an error that "Cannot merge .Net 4.7 with ILMerge." although could be related to the tool and not ILMerge itself.

Fabi commented 7 years ago

It's related to the GUI I think, because I had the same problems there, but it works fine with the command line version

AlexChea commented 7 years ago

I see, i am using GUI to merge too, will try using command line. thanks @Fabi

michaelfp commented 6 years ago

Please just update your minor version of framework to 7. For who would like to use ilmergeGUI. Get from this repo https://github.com/jpdillingham/ILMergeGUI, this guy made the fix and is worked.

It's a simple fix,

AlexChea commented 6 years ago

is it possible to use ilmerge in Windows 10 to merge into dot net 4.6?

mike-barnett commented 6 years ago

Windows 10 should have nothing to do with it: the only thing that should matter is the version of .NET that you have. I am not aware of any problems with 4.6. If you have a (small) repro of any problem, please send it to me.

michaelfp commented 6 years ago

@AlexChea, yes it´s possible! If you have only 4.6 version installed worke as well. But if you have already installed 4.7 need to get from the repo above.

mike-barnett commented 6 years ago

Since I have nothing to do with the GUI, it would help me a lot if people would use this site for issues having to do with ILMerge itself. Thanks!

michaelfp commented 6 years ago

@mike-barnett correct. I´m just trying to help. With run the ilmerge.exe in command-line work´s great in Windows 10.

mike-barnett commented 6 years ago

Sorry! I didn't mean that to sound nasty. I'm super appreciative of your help. I just meant that I can be more efficient if I know whether an issue is about ILMerge itself or the GUI.

AlexChea commented 6 years ago

@mike-barnett in Windows 10, merge gui did not provide option for dotnet 4.6.x, only dotnet 4 how to make it available?

mike-barnett commented 6 years ago

I'm sorry, but I really do not know anything about the GUI. Those questions should be addressed to its author. If you're using the command line (or in-memory API), then you would use the /targetplatform option to tell ILMerge which .NET version to use.

weedkiller commented 6 years ago

On windows 10, I have the same error with the latest version

image

mike-barnett commented 6 years ago

That seems like a problem with the GUI, not ILMerge. Please report it to the author of that tool. Thanks!

jnm2 commented 6 years ago

@weedkiller You're in the wrong issues site. See https://bitbucket.org/wvd-vegt/ilmergegui/issues/1/net-47-framework-support

3Tecnos-Development commented 6 years ago

To solve this problem simply go in source code at line 1192 and add the condition: ilmergegui

Whoever does not want to have this job, I've compiled a version fixing the bug: ILMergeGui.zip