Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/323.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# ILMerge targetplatform至4.6.2版本_C#_Dll_Ilmerge - Fatal编程技术网

C# ILMerge targetplatform至4.6.2版本

C# ILMerge targetplatform至4.6.2版本,c#,dll,ilmerge,C#,Dll,Ilmerge,我正在尝试使用ILMerge.exe将两个dll合并到一个dll中。 早些时候,我将targetplatform作为“v4”实现了这一点。 现在,我需要使用以下命令将2个dll合并为1个dll,targetplatform为“4.6.2” C:\Program Files (x86)\Microsoft\ILMerge>ilmerge /targetplatform:"v4.6.2,C:\Windows\Microsoft.NET\Framework64\v4.0.30319" /log

我正在尝试使用ILMerge.exe将两个dll合并到一个dll中。 早些时候,我将targetplatform作为“v4”实现了这一点。 现在,我需要使用以下命令将2个dll合并为1个dll,targetplatform为“4.6.2”

C:\Program Files (x86)\Microsoft\ILMerge>ilmerge /targetplatform:"v4.6.2,C:\Windows\Microsoft.NET\Framework64\v4.0.30319" /log /out:Test.merged.dll myfirst.dll mysecond.dll
我收到“平台'v4.6.2'未识别”。错误。 我已经在我的机器上安装了4.6.2 framework。但是我没有看到4.6.2的文件夹结构,就像我在4中看到的“C:\Windows\Microsoft.NET\Framework64\v4.0.30319”一样

如有任何建议,将不胜感激