-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merging assemblies on a machine running .net 4.5 or higher produces binaries incompatible with .net 4.0 #392
Comments
See http://www.hurryupandwait.io/blog/what-you-should-know-about-running-ilmerge-on-net-4-5-assemblies-targeting-net-4-0 for far too many details |
mwrock
added a commit
to mwrock/choco
that referenced
this issue
Aug 23, 2015
Makes chocolatey builds more portable and allows it to be built on .net 4.5+ machines while maintaining compatibility with .net 4.0 clients.
ferventcoder
added a commit
that referenced
this issue
Aug 23, 2015
(GH-392) pass 4.0 reference assemblies to ilmerge
Merged into master at 3dcd195. |
ferventcoder
added a commit
that referenced
this issue
Oct 11, 2015
* master: (61 commits) (version) 0.9.10-beta1 (doc) update release notes/nuspec for 0.9.10 (GH-431) Changed Count to ListCount. Added xml docs to List and ListCount. (GH-431) Add Count to IListCommand Uses the IQueryable changes to add an efficient count for retrieving the number of results that would be returned by a list, usually in a much faster, more efficient way. (GH-431) Update Nuget List to use IQueryable as far down as makes sense. Updated Nuget List to attempt to use IQueryable all the way down for queries executed against service based repositories. This allows chocolatey to defer filtering, sorting, and paging to the server rather than the client. Reverts back to the old logic, though, for everything else. (GH-433) Externalize some more package information. Externalizes more package information that was available through the API as properties, but were marked internal. Allows full access to all Package information. (GH-427) Add paging to ListCommand (GH-71) Add priority property to ChocolateySource (GH-416) Named arguments issue after merge (GH-363) Show human-readable file sizes when downloading (GH-392) pass 4.0 reference assemblies to ilmerge (GH-390) Fix log4net dependency version in nuspec (maint) registry specs are Windows only (maint) define windows only tests (doc) update changelog (version) 0.9.10-alpha series (GH-14) Throw when windowsfeature is not plural (GH-14) Log source type evaluated (maint) removing unused variable (GH-14) Allow alternative sources to interact ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using either source built binaries on my machine (running 4.5.1) or the binaries provided by nuget result in assembly load errors when executed on a windows 2k8R2 machine after installing .net 4.0.
This can be fixed by either installing .net4.5 on the target machine or, preferably, informing ILMerge of the location of the 4.0 reference assemblies.
The text was updated successfully, but these errors were encountered: