Visual studio 2008 vcproj文件中的项目参考格式(vs2008)
我在这里再次请求帮助。 有人能给我看一个带有项目参考(不是程序集参考)的vcproj文件的示例吗,或者至少能给我看一下它是如何写入文件的格式 我已经在互联网上搜索了样本,但找不到一个只有项目参考的组件参考Visual studio 2008 vcproj文件中的项目参考格式(vs2008),visual-studio-2008,vcproj,Visual Studio 2008,Vcproj,我在这里再次请求帮助。 有人能给我看一个带有项目参考(不是程序集参考)的vcproj文件的示例吗,或者至少能给我看一下它是如何写入文件的格式 我已经在互联网上搜索了样本,但找不到一个只有项目参考的组件参考 <References> <AssemblyReference RelativePath="System.dll" AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c
<References>
<AssemblyReference
RelativePath="System.dll"
AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
</References>
所以,任何人都可以给我一个示例,因为我需要通过将它们作为XML读取来处理这些引用
非常感谢
<ProjectReference
ReferencedProjectIdentifier="{178A5D9D-1F3E-49B1-9190-916D0864BD5C}"
RelativePathToProject=".\ReleaseNotes\ReleaseNotes.csproj"
/>
在.vcproj中的引用只涉及托管项目,因此,如果您想引用本机项目,还有其他方法:
- 添加了libs中的引用项目李>
- 在.sln文件引用中,P1依赖于P2
- 在源代码中使用#pragma注释(lib,…)