diff --git a/src/Main/Base/Project/Src/Internal/Templates/File/FileTemplate.cs b/src/Main/Base/Project/Src/Internal/Templates/File/FileTemplate.cs index 48b7bf9f54..48055768ad 100644 --- a/src/Main/Base/Project/Src/Internal/Templates/File/FileTemplate.cs +++ b/src/Main/Base/Project/Src/Internal/Templates/File/FileTemplate.cs @@ -269,6 +269,7 @@ namespace ICSharpCode.SharpDevelop.Internal.Templates if (!reference.HasAttribute("include")) throw new InvalidDataException("Reference without 'include' attribute!"); ReferenceProjectItem item = new ReferenceProjectItem(null, reference.GetAttribute("include")); + item.SetMetadata("HintPath", reference.GetAttribute("hintPath")); requiredAssemblyReferences.Add(item); } }