Index: C:/programming/Prebuild/src/Core/Targets/VS2005Target.cs =================================================================== --- C:/programming/Prebuild/src/Core/Targets/VS2005Target.cs (revision 203) +++ C:/programming/Prebuild/src/Core/Targets/VS2005Target.cs (working copy) @@ -463,8 +463,17 @@ if (!solution.ProjectsTable.ContainsKey(refr.Name)) { ps.Write(" ", refr.Name); - ps.WriteLine(" {0}", refr.Name); + ps.Write(" Include=\""); + ps.Write(refr.Name); + + if (!string.IsNullOrEmpty(refr.Version)) + { + ps.Write(", Version="); + ps.Write(refr.Version); + } + + ps.WriteLine("\" >"); + // TODO: Allow reference to *.exe files ps.WriteLine(" {0}", Helper.MakePathRelativeTo(project.FullPath, refr.Path + "\\" + refr.Name + ".dll")); ps.WriteLine(" ");