[Tip: project reference]Project Reference In VS
2010-05-14 15:38
483 查看
As we know, for .Net projects, it's obvious and clear to use "Add Reference.." to control project reference / dependency relationship. Do you know about it for C++? (below is extracted from VC++ Team Blog article)
"Project to Project references have existed ever since Visual Studio 6. However the term has evolved over the years. Native technologies used Project dependencies to define references prior to Visual Studio 8. With Visual Studio 8 native projects were able to define project to project references. “Project to Project references” defines the mechanism in which Project A creates a reference to Project B, by which Project A consumes the output of Project B to deliver on its functionality. "
So:
1. For .Net projects, use "Add Reference.."
2. For native C++ projects, use "Reference.." instead of Link->input page.
"Project to Project references have existed ever since Visual Studio 6. However the term has evolved over the years. Native technologies used Project dependencies to define references prior to Visual Studio 8. With Visual Studio 8 native projects were able to define project to project references. “Project to Project references” defines the mechanism in which Project A creates a reference to Project B, by which Project A consumes the output of Project B to deliver on its functionality. "
So:
1. For .Net projects, use "Add Reference.."
2. For native C++ projects, use "Reference.." instead of Link->input page.
相关文章推荐
- [Tip: C# in VS]Some quick tips for working on C# in VS
- Your project is not referencing the ".NETPortable,Version=v4.5,Profile=Profile259" framework. Add a reference to ".NETPortable,Version=v4.5,Profile=Profile259" in the "frameworks" section of your proj
- Add web application project in VS 2005
- Visual Studio Many Projects in One Solution VS中多工程开发
- vs2015编译gdal出错:error LNK2019: unresolved external symbol _vsnwprintf_s referenced in function String
- [VS Macro]CollaposeAll Projects in Solution
- ios xcode Could not load the "MyImage.png" image referenced from a nib in the bundle with identifier "com.mytest.MyProject"
- Add Project Reference vs Add DLL Reference
- How do I fix the linker error in project upgraded from VS2010 to VS2013 where the linker is looking
- Difference between WeakReference vs SoftReference vs PhantomReference vs Strong reference in Java
- Some MACRO In VS Project Setting
- [Tip]dotNet project Add Reference
- “Build action” settings in VS.NET project properties and what do they do?
- vs 2005链接时错误的解决方案 error LNK2019: unresolved external symbol __security_cookie referenced in function
- [VS Tip]About "of" command in mini comand window in VS Find Combox
- [Tip: C# commenting]Comment in C# for VS
- VS2015 - WP8.1 app project with Microsoft VCLibs reference problem
- Wokflow designer not working when openning workflow in non-workflow VS 2005 project
- Steps to Create Setup and Deployment Project in Dot Net VS 2008
- WeakReference vs SoftReference in Java