本文介绍了无法选择与MageUI切入点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发布使用ClickOnce我的WPF应用程序,但我也想混淆了。
我出版我的应用程序到本地文件夹,模糊处理,然后用mageui,然后将其上传到我的Web服务器就辞职。
问题是,我似乎无法定义我的可执行文件为切入点,我选择它每一次,它会默认回一个空文件类型。
奇怪的是,这种情况即使我不混淆我的组装,并尝试提出辞职原样。我可以定义我引用为切入点启动我的应用程序的其他DLL(这是不是他们使用的当然),但不是可执行文件。
有什么建议么?

I'm publishing my wpf application using ClickOnce, however i also want to obfuscate it.
I am publishing my application to a local folder, obfuscating it, then resigning it using mageui and then uploading it to my web server.
The problem is, I can't seem to define my executable as an entry point, every time i select it, it will default back to an empty file type.
The weird thing is, this happens even if i don't obfuscate my assembly and try to resign it as is. I can define other dlls I've referenced as entry points (which isn't their use of course), but not the executable that starts my application.
any suggestions?

推荐答案

您可能使用了错误版本mageui.exe为您的项目。

You are probably using the wrong version of mageui.exe for your project.

如果你调用mageui.exe的,例如C:\ Program Files文件(x86)的\微软的SDK \的Windows \ v7.0A \ bin您可能无法设置入口点在你的主执行程序,为你发现了。

If you invoke mageui.exe from, for example, C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin you may not be able to set the entry point on your main executable, as you have found out.

相反,去一个文件夹更深NETFX 4.0工具(例如C:\ Program Files文件(x86)的\微软的SDK \的Windows \ v7.0A \ BIN \ NETFX 4.0工具),并尝试使用mageui.exe从那里。它应该工作...

Instead, go one folder deeper to NETFX 4.0 Tools (e.g. C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools) and try use mageui.exe from there. It should work...

这篇关于无法选择与MageUI切入点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 02:21