开发者

ILMerge even with XMLDocs switch, yields a dll that bears no intellisense

开发者 https://www.devze.com 2023-03-11 07:36 出处:网络
Has anyone experienced this or found a solution? I have tried the following: Referencing the output dll directly without moving it

Has anyone experienced this or found a solution? I have tried the following:

  1. Referencing the output dll directly without moving it
  2. Uninstalling the output d开发者_JAVA百科ll from the GAC

Neither option made a difference. Please note that the generated XML doc has the same name as the dll and is included with it.


Ah ha. I found the reason why this was occurring.

If you referencing your ILMerge project within Visual Studio (i.e. as Add Reference -> Project) then Intellisense will not use the generated XML doc.

To solve: In your post-build step copy your output files to a common directory (e.g. Reference Assemblies) and then link against the DLLs. You can still have the project in the solution, however you must setup the project dependencies so that it will build if you have made changes.

HTH,

0

精彩评论

暂无评论...
验证码 换一张
取 消