diff options
author | Mike Krüger <mkrueger@novell.com> | 2009-08-28 09:19:53 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2009-08-28 09:19:53 +0400 |
commit | 3ad8addebf55651b6f7188532ba69c71fe6df6c6 (patch) | |
tree | 861f101d02e2fe89dc3a5af139d6eb76eae63c46 /main/src/core | |
parent | 819c49308786e9e158b9ace4e2effda2e0f8ecb5 (diff) |
* MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs: Fixed
"Bug 479196 - "add test fixture" adds refs to nunit.core and
nunit.framework from "Package".
svn path=/trunk/monodevelop/; revision=140855
Diffstat (limited to 'main/src/core')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/ChangeLog | 6 | ||||
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/ChangeLog b/main/src/core/MonoDevelop.Ide/ChangeLog index aba815b7d6..91466ce423 100644 --- a/main/src/core/MonoDevelop.Ide/ChangeLog +++ b/main/src/core/MonoDevelop.Ide/ChangeLog @@ -1,3 +1,9 @@ +2009-08-28 Mike Krüger <mkrueger@novell.com> + + * MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs: + Fixed "Bug 479196 - "add test fixture" adds refs to + nunit.core and nunit.framework from "Package". + 2009-08-28 Lluis Sanchez Gual <lluis@novell.com> * MonoDevelop.Ide.Commands/ViewCommands.cs: Pad titles may diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs index d18631c62b..965433eed0 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SingleFileDescriptionTemplate.cs @@ -144,7 +144,8 @@ namespace MonoDevelop.Ide.Templates else aname = aref.Substring (0, i); foreach (ProjectReference pr in project.References) { - if (pr.ReferenceType == ReferenceType.Gac && (pr.Reference == aname || pr.Reference.StartsWith (aname + ","))) + if (pr.ReferenceType == ReferenceType.Gac && (pr.Reference == aname || pr.Reference.StartsWith (aname + ",")) || + pr.ReferenceType != ReferenceType.Gac && pr.Reference.Contains (aname)) return true; } return false; |