English 中文(简体)
Installing ClickOnce published 新闻部
原标题:Installing ClickOnce published DPI-aware application

我的问题使我mad。

我使用视觉演播室2010年专业。 我以微软显示的的方式创立了台式软件应用程序,该软件一般在申请中添加一个显示:

<?xml version="1.0" encoding="utf-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
  <asmv3:application>
    <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
      <dpiAware>true</dpiAware>
    </asmv3:windowsSettings>
  </asmv3:application>
</assembly>

然后我公布我的申请,我试图安装。 完全失败。 在安装错误窗口时,发现申请没有适当格式(这是翻译,我使用波兰版本的操作系统)。 傲慢记录显示,在明显创作期间,存在0-x8007001f例HRESultorlog。 这一例外意味着“发展中国家不能发挥作用”。 虽说是何种手段?

谷歌研究显示,这种错误可能与不当签署集会有关。 我花了几个小时时间试图解决这种束缚,以不成功的方式签署大会。

我已发现,现在只需对整条<代码>和>、窗口与“t”、“标签”进行评论,然后申请就安装了良好的装置,即使没有任何组装签字。 我很想知道,如果你在网络浏览器中把该标签的Xmls属性中的旋律,那么服务器就对“处理你要求的信息时发生的错误”做了回答。

Can someone help? I ve tried this on several machines with win7, win7 64 and winxp on them and each time i get the same result... I wonder why google doesn t show anything about this. Am I the only one who tries to install the ClickOnce published dpi-aware application?

问题回答

仅能让新闻部了解守则。 与此类似:

[System.Runtime.InteropServices.DllImport("user32.dll")]
private static extern bool SetProcessDPIAware();

[STAThread]
static void Main()
{    
    if (Environment.OSVersion.Version.Major >= 6) SetProcessDPIAware();

    Application.EnableVisualStyles();
    Application.SetCompatibleTextRenderingDefault(false);
    ...

并且删除了红灯,它应当通过点击来创建。





相关问题
Change namespace of a deployed clickonce application

I made a bit of a namespace spelling mistake and I wish to correct it. My application currently uses Application.Settings to store a bulk of the user s information. If I refactor my namespace to be ...

which certificate is used by smartclient application

I have an .net smartclient application OA.Smart.WinUI. I have three .pfx files listed in this project OA.Smart.WinUI_1_TemporaryKey.pfx,OA.Smart.WinUI_2_TemporaryKey.pfx,OA.Smart.WinUI_TemporaryKey....

ClickOnce application deployment woes

I have a ClickOnce WPF application which is launched from a page on a web site. The URL parameters used to invoke the application tell the application what IP address to communicate with plus some ...

Making a single ClickOnce installer for two applications

I am using Visual Studio C# 2008 Express Edition. I have a Solution that has several projects, most of which are class libraries but two of which are executable projects (a GUI and a command-line ...

Configuration file with ClickOnce deployment

I ve been trying to modify my application to deploy and update using ClickOnce. I ve managed to get the program working but I m having trouble with the program configuration. My program uses a custom ...

Click Once Migrate URL

I have a Click Once App that has been published to the same location for a couple years, I now want to post an update to the program but want to migrate it to another url, is it a 2 step deployment? ...

热门标签