平台构建器和 C#
Platform Builder 是一个用于在计算机上构建 Windows CE 操作系统然后将其加载到 Windows CE 设备上的工具。
所有这一切都是通过 Platform Builder 完成的。 我通过 Microsoft Visual Stuido 开发环境 (IDE) 完成这一切。
我想自动化使用 Platform Builder 的过程。 到目前为止,我只知道如何通过IDE使用Platform Builder。 我想通过另一个用 C# 编写的程序使用 Platform Builder。
实现此目标的另一种方法是学习如何从命令行使用 Platform Builder。 如果可以通过命令行完成,那么也可以通过C#程序完成。 我在这里和那里看到了一些链接,说您可以从命令行进行 Platform Builder 构建,但到目前为止,它们还不是很好。
有小费吗?
这个链接: http://msdn.microsoft.com/en-us/library/ms924536。 ASPX 谈论“如何使用命令行创建、自定义和构建运行时映像” 但它有关于创建人工智能操作系统设计的链接(http://msdn.microsoft. com/en-us/library/aa448498.aspx ),需要使用 IDE。
找到有关此主题的良好链接将非常好。 如果我可以使用 IDE 执行我需要执行的操作,那么我应该能够从命令行执行我需要执行的操作。 如果我可以从命令行执行我需要执行的操作,那么我应该能够从 C# 程序执行我需要执行的操作。 这就是我的目标。
Platform Builder is a tool for building a Windows CE Operating system on your computer and then loading it on a Windows CE device.
All this is done through Platform Builder. And I do it all through the Microsoft Visual Stuido Development Environment (IDE).
I want to automate the process of using the Platform Builder. So far, I only know how to use the Platform Builder through the IDE. I want to use the Platform Builder through another program written in C#.
Another approach to this goal is to learn how to use Platform Builder from the command line. If it can be done by the command line, then it could also be done through a C# program. I have seen some links here and there that say that you can do a Platform Builder build from the command line, but so far, they are not so good.
Any tips?
This link:
http://msdn.microsoft.com/en-us/library/ms924536.aspx
talks about "How to Use the Command Line to Create, Customize, and Build a Run-Time Image"
but it has links about Creating ai OS Design ( http://msdn.microsoft.com/en-us/library/aa448498.aspx ) that requires using the IDE.
It would be great to find a good link about this topic. If I can do what I need to do using the IDE, I should be able to do what I need to do from the command line. If I can do what I need to do from the command line, I should be able to do what I need to do from a C# program. That is my goal.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
命令行工具包含所有 Platform Builder 命令的完整列表行命令。
注意:“IDE 和命令行环境是相互独立的”。
另外,需要使用“开始”/“所有程序”/...下的Visual Studio命令行,否则环境会错误。
Command-Line Tools contains a complete list of all the Platform Builder command line commands.
Note: "The IDE and command-line environments are independent of each other".
Also, you need to use the Visual Studio command line under "Start" / "All Programs" / ... otherwise the environment will be wrong.
此链接提到了用于设置 Windows CE 构建环境的 Windows CE 构建环境工具 (Wince.bat)。
http://msdn.microsoft.com/en-us/library/ms938334。 aspx
此链接描述了如何使用 Windows CD 构建环境工具:
http://msdn.microsoft.com/en-us/library/ms930978。基本上
,当您使用 wince.bat 时,您向其传递三个参数:CPU; 项目和平台。
我已经弄清楚要为 CPU 和平台输入什么。 但“项目”用什么让我有点困惑。 看来对于这个论点,你可以给它任何你想要的项目名称。 这是行不通的。 所以我尝试了一些现有项目文件夹的名称。 这也行不通。 所以现在我想我应该在调用 wince.bat 之前定义一个项目名称。 我该怎么做呢?
This link mentions Windows CE Build Environment tool (Wince.bat) that sets up the Windows CE build environment.
http://msdn.microsoft.com/en-us/library/ms938334.aspx
And this link describes how to use the Windows CD Build Environment Tool:
http://msdn.microsoft.com/en-us/library/ms930978.aspx
Basically, when you use wince.bat, you pass it three arguments: CPU; PROJECT, and PLATFORM.
I have figured out what to input for the CPU and the PLATFORM. But what to use for the "PROJECT" has me a little puzzled. It seems that for this argument, you can give it any project name you want. This does not work. So I have tried the names of a few existing project folders. This does not work either. So now I am thinking that I am supposed to define a project name prior to making the wince.bat call. How do I do this?
并不是您问题的真正答案,但您可能想查看并关注 Bruce Eitman 的 博客,介绍 Platform Builder 的问题和解决方案。
Not really a answer to your question but you may like to check out and follow Bruce Eitman's blog as he covers Platform Builder problems and solutions.