locked
运行WPF需要哪些组件包? RRS feed

  • 问题

  • 我安装了一个wes7系统,然后装好vs2010软件,发现运行的时候会出现错误。我设计了一个登陆界面,“用户名”使用textbox控件,“密码”使用passwbox控件,输入用户名不会出现错误,当点击密码输入框准备输入密码的时候马上出现错误,提示“未知硬件错误”,不知道是缺少了什么组件包?
    2011年10月26日 2:26

答案

  • 建议对没有坐过依赖性组件检查的时候,使用Application compatibility的模板,做到最大的程序兼容。
    WES JDP Team
    • 已建议为答案 WES_JDP_Lihui 2011年10月27日 2:01
    • 已标记为答案 WESfan 2011年11月30日 1:36
    2011年10月27日 2:01
  • 你添加的组件不少,但是建议你用ICE菜单的Tools->Analyze Static Dependencies... 分析你应用程序的依赖的DLL File(组件)。


    Zhengbo.Xiao
    深圳艾斯威特贸易有限公司
    计算机、嵌入式是产品硬件、软件销售、Windows Embedded解决方案提供商。
    我的WIndows Embedded中文技术BLOG:
    www.XPE.cc
    blog搬家了,欢迎访问: http://questor87.wordpress.com/
    为解决大陆的Windows Embedded的开发者无法访问http://questor87.wordpress.com/,特从2010年11月起,在
    QQ:1320232327(另外两个已满)
    MSN:questor_87@hotmail.com
    MCTS:
    Windows Embedded Standard 7 Development
    Windows Embedded Standard 2009 Development
    Windows Embedded Standard CE Development
    Microsoft MVP(2010)
    • 已建议为答案 happymy 2011年10月27日 15:19
    • 已标记为答案 WESfan 2011年11月30日 1:36
    2011年10月27日 15:19

全部回复

  • liaozhongwen,

    你好,在制作WES7系统的时候你采用了什么模板?同时,你是在系统中安装了VS2010的开发软件还是安装了使用VS2010开发的软件?

    该软件是采用了WPF技术的程序么?

    这个帖子的问题比较多,请你整理成几个具体的问题。

     


    WES JDP Team
    2011年10月26日 2:48
  • Feature Packages13

    .NET Framework

    │├■.NET Framework 2.0

    │├■.NET Framework 2.0 Client Profile

    │├□.NET Framework 3.0

    │├□.NET Framework 3.0 Client Profile

    │├□.NET Framework 3.5

    │└□.NET Framework 3.5 Client Profile

    ├■Application Support

    │├■COM OLE Application Support

    │├■COM+ Application Support

    │├□MSMQ  

    │└■Win32 Application Runtimes and Libraries

    Boot Environments

    │├○Enhanced Write Filter Boot Environment 

    │└●Windows Boot Environment

    ├■Browsers

    │└■Internet Explorer 8

     ├■Internet Explorer 8 Browser   

     ├■Internet Explorer 8 Engine and Display  

     └■Internet Explorer 8 Foundation  

    ├■Data Access and Storage

    │├■Windows Data Access Components

    │└□Windows Data Access Components – SQL

    ├□Data Integrity 

    │├□Shadow Copy Volume Interface 

    │├□Shadow Copy Volume Service

    │├□Windows Backup and Restore 

    │└□Windows Side by Side

    ├■Devices and Printers

    │├■Device Framework

    │├■Device User Experience

    │├■Driver Frameworks

    │├■Fax and Scan

    │├■Printing Utilities and Management

    │├■Sensor and Location Platform

    │└●Standard Windows USB Stack

    ├■Diagnostics

    │├■Common Diagnostic Tools

    │├■Performance Monitoring

    │├■Problem Reports and Solutions

    │└■User

    ├■Embedded Enabling Features

    │├Edition Branding

    │├○Unbranded Setup Screens

    ││└●Windows Embedded Standard Startup Screens

    │├○Bootable Windows USB Stack

    │├□Custom Logon Desktop Background Images 

    │├□Dialog Box Filter

    │├□Enhanced Write Filter with HORM

    │├□File Based Write Filter (FBWF)

    │├□Hide Boot Screens 

    │├□Message Box Default Reply 

    │├□RAM Disk Controller RAM

    │├□Registry Filter

    │└□WSDAPI for .NET

    Fonts

    │├■Bitmap Fonts

    │├■Simplified Chinese Fonts.

    │├■Simplified Chinese Supplemental Fonts

    │└■TrueType Fonts

    ├■Graphics and Multimedia

    │├■Premium Codecs

    │├■Audio and Video Engines and Media Foundation

    │├■DirectX and Windows Device Experience

    │├■Graphics Platform

    │├■Image Mastering API v2

    │└■Windows Media Player 12

    ├□International

    │├□IME

    ││├□IME Base Components

    ││└□IME Simplified Chinese Support

    │├□International Components and Language Services

    │└□Language Pack Setup

    ├□Internet Information Services – IIS

    │├□IIS 7.0

    │└□Windows Process Activation Service

    Management

    │├System Management

    ││├□Group Policy Management

    ││├■Microsoft Management Console (MMC)

    ││├■System Management Administrative Tools

    ││├■System Management Utilities

    ││└■Windows Management Instrumentation

    │├□Windows Update

    ││├□Windows Update Standalone Installer

    ││└□Windows Update User Interface

    │├□Parental Control

    │├■Power Management

    │├■Window Application Compatibility

    │└■Windows PowerShell 2.0

    ├□MediaCenter

    │└□MediaCenter

    Networking

    │├■Base

    ││├■Extensible Authentication Protocol (EAP)

    ││├■Internet Authentication Service

    ││├■Networking Base

    ││└■Networking Foundation

    │├□TelnetServer

    │├□BITS

    │├■Bluetooth

    │├■Domain Services

    │├■IRDA and UNIMODEM

    │├□Network Access Protection

    │├■Network and Sharing Center

    │├■Network Diagnostics

    │├■Peer Networking

    │├■Quality of Service

    │├■Remote Access Service (RAS)

    │├□Small Networking Services

    │├■Telephony API Client

    │├□Windows Firewall

    │└■Wireless Networking

    ├□Remote Connections

    │└□Remote Desktop Connection

    Security

    │├Security Credentials

    ││├□Credential Roaming Service  

    ││├■Credential and Certificate Management

    ││└□Windows Authorization Manager (AZMAN)

    │├■System Security Management

    ││└■Windows Security Center

    │├□Active Directory Rights Management

    │├□AntiMalware

    │├□Application Security

    │├□Bitlocker Secure Startup

    │├□Encrypted File System (EFS)

    │├■Security Base

    │└□Trusted Platform Module (TPM) Management

    ├■System Services

    │├■File System

    ││├■Advanced File System

    ││├■Core File System

    ││├□File and Folder Synchronization

    ││├■File Compression Utility

    ││├□Remote Client

    ││└■Simplified Message Block (SMB)

    │├■Remote Procedure Call

    │└■Windows Installer

    User Interface

     ├□Help

     │├□Embedded Core Help Content

     │├□Help and Support Engine

     │└□Remote Assistance

     ├□Microsoft Speech API

     │├□Speech and Text

     │└□Speech Chinese Simplified

     ├■Windows Shell

     │├■Accessories

     │├■Application User Experience

     │├■Shell Controls and UI support Functions

     │├■Shell Foundation

     │├■System Control Panel

     │├●Windows Explorer Shell

     │└■Windows Explorer Shell Resources

     ├■Accessibility

     ├○Command Prompt Shell with Custom Shell Support

     ├□DVD Maker

     ├■Mobility Center and SideShow

     ├□Nature Language 6

     ├■Photo Viewer

     ├■Search Indexing

     ├□Tablet PC Support

     ├□Text Services Framework

     └□Windows Search

     

    用huang se 颜色标注的为选择安装的组件。

    可以顺利安装。net4.0 和vs2010.

    安装完成之后可以顺利运行winform程序,但是运行WPF程序就会出现上面提到的问题。

    2011年10月26日 6:08
  • 我首先是在另一台电脑用vs2010开发软件开发了有用户登录框输入的WPF软件。在另一台电脑安装WES7系统,采用自选组件安装,组件列表如上一回复所示。系统安装好之后,可以顺利安装.net framwork4.0。但是运行WPF软件出现问题,于是我又在WES7系统的电脑上安装了vs2010开发软件,安装过程没有出现错误。安装完之后,运行WPF软件还是会出现同样的错误。即使是用VS2010开发软件创建WPF工程,使用PassworkBox控件的时候,运行仍然会出现同样的错误。
    2011年10月26日 6:22
  • 检测到 FatalExecutionEngineError
    Message: 运行时遇到了错误。此错误的地址为 0x6d3a9ddd,在线程 0xc5c 上。错误代码为 0x80131623。此错误可能是 CLR 中的 bug,或者是用户代码的不安全部分或不可验证部分中的 bug。此 bug 的常见来源包括用户对 COM-interop 或 PInvoke 的封送处理错误,这些错误可能会损坏堆栈。

    上面的错误是在vs开发软件上运行包含PasswordBox控件的WPF工程时出现的错误,在运行窗口点击password输入框即出现上述错误。

    2011年10月26日 7:07
  • 你可以先在完整版的windows7系统中运行程序,检测是否存在该问题。然后我们再考虑是否缺少了某些运行需要的文件。


    WES JDP Team
    2011年10月26日 10:12
  • 应该是缺少了某些组件,我下午又定制了一个版本的WES7,在有问题系统的基础上增加了一些组件,安装完成之后,就不会出现问题了。

    2011年10月26日 11:49
  • 建议对没有坐过依赖性组件检查的时候,使用Application compatibility的模板,做到最大的程序兼容。
    WES JDP Team
    • 已建议为答案 WES_JDP_Lihui 2011年10月27日 2:01
    • 已标记为答案 WESfan 2011年11月30日 1:36
    2011年10月27日 2:01
  • 你添加的组件不少,但是建议你用ICE菜单的Tools->Analyze Static Dependencies... 分析你应用程序的依赖的DLL File(组件)。


    Zhengbo.Xiao
    深圳艾斯威特贸易有限公司
    计算机、嵌入式是产品硬件、软件销售、Windows Embedded解决方案提供商。
    我的WIndows Embedded中文技术BLOG:
    www.XPE.cc
    blog搬家了,欢迎访问: http://questor87.wordpress.com/
    为解决大陆的Windows Embedded的开发者无法访问http://questor87.wordpress.com/,特从2010年11月起,在
    QQ:1320232327(另外两个已满)
    MSN:questor_87@hotmail.com
    MCTS:
    Windows Embedded Standard 7 Development
    Windows Embedded Standard 2009 Development
    Windows Embedded Standard CE Development
    Microsoft MVP(2010)
    • 已建议为答案 happymy 2011年10月27日 15:19
    • 已标记为答案 WESfan 2011年11月30日 1:36
    2011年10月27日 15:19