从 MSBuild 构建 Flex 3 项目
我正在开发一个带有 Flex/Flash 前端的 .NET 项目。构建脚本是用 MSBuild 编写的,我希望从我的主要构建脚本构建 Flex 项目(在 Flex Builder 3 中编写)。
通过 MSBuild 构建 Flex 3 应用程序有哪些选项?
我已经了解过 flexbuild,在我尝试之前它看起来很理想。我遇到了与其他人和项目报告相同的错误看起来有点。 。 。死的。
请注意,我确实想最大程度地减少构建的复杂性。如果可能的话,我不想向蚂蚁金服。
编辑:下载并检查了 flexbuild 的源代码后,我发现它正在寻找不存在的 Eclipse 项目。我猜想Flex Builder 3和Eclipse的项目文件之间存在差异。我需要让它与 FB3 一起工作 - Eclipse 不是一个选项。
谢谢
I am working on a .NET project with a Flex/Flash front end. The build scripts are written in MSBuild and I'm looking to build the Flex project (authored in Flex Builder 3) from my primary build script.
What options do I have for building a Flex 3 application from MSBuild?
I've already seen flexbuild, and it looked ideal until I tried it. I get the same error as reported by others and the project looks kind of . . . dead.
Note that I really want to minimize the complexity of my build. If possible, I don't want to have to shell out to Ant.
EDIT: having downloaded and examined the source of flexbuild, I see that it is looking for Eclipse projects that do not exist. I guess there is a difference between the project files of Flex Builder 3 and Eclipse. I need to get this working with FB3 though - Eclipse isn't an option.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现使用一个简单的批处理文件就可以了。
在这里,%FLEXSDK% 包含您正在使用的 SDK 的路径,%DEBUG% “true”或“false”,%OUTPUT_PATH% 包含目标路径和文件名:
简单明了!希望有帮助。
I find using a simple batch file works just fine.
Here, where %FLEXSDK% contains the path to the SDK you're using, %DEBUG% "true" or "false", and %OUTPUT_PATH% the destination path and filename:
Simple and straightforward! Hope it helps.