assembly-name

ILMerge & Keep Assembly Name

自闭症网瘾萝莉.ら 提交于 2019-12-13 16:29:14
问题 I need to merge some dlls and both the file name and assembly name need to be the same as for my main dll (mydll.dll). I also need the pdb file. How do I get this done? Here are a few things I tried: Just use ILMerge mydll.dll .... /out:mydll.dll This fails with "Access to the path ...mydll.pdb is denied." Rename mydll.dll to mydllTemp.dll and mydll.pdb to mydllTemp.pdb and then ILMerge mydelltemp.dll .... /out:mydll.dll This fails with "The pdb associated with ...mydlltemp.dll is out of date

Need fully qualified type name

≡放荡痞女 提交于 2019-12-08 16:29:37
问题 I need to resolve an assembly and type at runtime and I need to find the fully qualified type name. For some reason I cannot get it right, as I keep get an exception saying it cannot find the type specified. The app.config file, in which the assembly to look for is defined, looks like this: <configSections> <section name="modules" type="Microsoft.Practices.Composite.Modularity.ModulesConfigurationSection, Microsoft.Practices.Composite"/> </configSections> <modules> <module assemblyFile="G: