在VS中集成编译器 [英] Integrating a compiler in VS

查看:82
本文介绍了在VS中集成编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想将编译器集成到VS中,我目前拥有"XXBuild.xml"。用于设置UI显示的文件,



使用



< PropertyPageSchema Include =" $(MSBuildThisFileDirectory)$(MSBuildThisFileName).xml" 

  < ;! - 要包含在项目列表中的文件或通配符.-->

  < AvailableItemName Include =" XXBuild">

  < / AvailableItemName>



in a"XXBuild.target"文件。



但是,UI元素未在Project>中显示 属性>



我想知道在哪里找到,例如:< ProjectSchemaDefinitions> <规则>元素配置说明。



谢谢。





解决方案

朋友,


欢迎来到MSDN论坛。


>>我想知道在哪里找到,例如:< ProjectSchemaDefinitions><规则>元素配置说明


请查看

此文档
,属性页面模式是一个常规XML文件。模式可以包含上面的单个规则,也可以单独使用多个规则与单个文件中定义的其他类型。  if file包含多个定义,它必须由ProjectSchemaDefinitions
元素包装。请注意,所有名称空间声明都应该移动到ProjectSchemaDefinitions元素中。


A
规则元素

是所有魔术发生的地方。它描述了整个属性页面,包括存储数据的位置,类别和子类别,控件和编辑器等。



最好的问候,


萨拉


I want to integrate a compiler into VS, and I currently have the "XXBuild.xml" file for setting up the UI display,

using a

<PropertyPageSchema Include = "$ (MSBuildThisFileDirectory) $ (MSBuildThisFileName) .xml" 
  <! - The file or wildcard to include in the list of items .-->
  <AvailableItemName Include = "XXBuild">
  </ AvailableItemName>

in an "XXBuild.target" file.

However, UI elements are not shown in Project >  Properties >

I want to know where to find, for example: <ProjectSchemaDefinitions> <Rule> Element Configuration Explanation。

Thanks.

解决方案

Hi friend,

Welcome to the MSDN forum.

>> I want to know where to find, for example: <ProjectSchemaDefinitions> <Rule> Element Configuration Explanation

Please have a look at this doc, Property Page Schema is a regular XML file. The schema could contain single rule as above or it could have multiple rules alone with other types defined in a single file. If file contains more than one definition it has to be wrapped by ProjectSchemaDefinitions element. Note that all namespace declarations should be moved into ProjectSchemaDefinitions element.

A Rule element is where all the magic takes place. It describes property page in its entirety including location of stored data, categories and subcategories, controls and editors, and etc.

Best regards,

Sara


这篇关于在VS中集成编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆