vs 2013 + git

构架经典的三层架构时,添加了相应的引用关系, 在提交前,看了一下diff 很明朗! 提示了gui添加项目引用时,哪些文件发生了怎么样的变化.

diff --git a/BLL/BLL.csproj b/BLL/BLL.csproj
index 0fd1ca3..bd833d9 100644
--- a/BLL/BLL.csproj
+++ b/BLL/BLL.csproj
@@ -42,6 +42,16 @@
<Compile Include="Class1.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\DAL\DAL.csproj">
+ <Project>{7fc58499-3349-44e8-8843-947dfeda4130}</Project>
+ <Name>DAL</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Model\Model.csproj">
+ <Project>{63a86700-75bd-4c13-94fd-83c503ea96e8}</Project>
+ <Name>Model</Name>
+ </ProjectReference>
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

这里BLL引用了DAL和Model

posted @ 2014-05-23 20:48  韋諾王  阅读(220)  评论(0编辑  收藏  举报