il-repack icon indicating copy to clipboard operation
il-repack copied to clipboard

wildcard don't work when in path names

Open softlion opened this issue 7 years ago • 0 comments

Hi, i'm trying to merge all resource language assemblies without specifying each language.

Ilrepack /wildcards /out:"somename.dll" "mainassemly.dll" ".\*\some.resources.dll"

ILRepack does not understand the wildcard when in a path name.

   System.Exception: Invalid path: .\*\Data.resources.dll
   à ILRepacking.RepackOptions.ResolveFile(String s)
   à System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext()
   à System.Linq.Enumerable.<DistinctIterator>d__63`1.MoveNext()
   à System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   à System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   à ILRepacking.ILRepack.ReadInputAssemblies()
   à ILRepacking.ILRepack.Repack()
   à ILRepacking.Application.Main(String[] args)

Without dot

 System.Exception: Invalid path: *\Data.resources.dll

softlion avatar Dec 01 '16 11:12 softlion