Doc*_*les 3 vb.net compiler-construction msbuild cobol reference
我仍然试图在项目中使用cobol-Projects来满足cobol编译器的需求.
是否可以创建以下构建行为:
如果Configuration是Debug,那么如果Configuration是DebugVB,则在ExCobol.cblproj上使用ProjectReferences,然后在ExCobol.dll上使用FileReferences
什么时候,如何实现它?
我假设在项目文件中使用标签就可以了.
这是否真的消除了针对DebugVB配置的cobol编译器的需求?
关于有条件的'如何',假设你有
<ProjectReference ...>...</ProjectReference>
Run Code Online (Sandbox Code Playgroud)
要么
<Reference ...>...</Reference>
Run Code Online (Sandbox Code Playgroud)
你想手工编辑.proj文件,以便包含这两者
<ProjectReference Condition="'$(Configuration)'!='DebugVB'" ...>...</ProjectReference>
<Reference Condition="'$(Configuration)'=='DebugVB'" ...>...</Reference>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1058 次 |
| 最近记录: |