Dashboard > Spring.NET > Referencing Framework Libraries
  Spring.NET Log In View a printable version of the current page.  
  Referencing Framework Libraries
Added by Aleksandar Seovic, last edited by Aleksandar Seovic on Apr 28, 2004
Labels: 
(None)

Whenever you add a reference to framework libarary to the project, open your project file in text editor and remove HintPath attribute from the appropriate Reference tag. This attribute is not necessary for the framework libraries.

You also need to add reference to the NAnt build file for the project by adding line similar to this to <references> section:

<includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Web.dll"/>

Of course, replace System.Web.dll with the name of the assembly you are referencing.

Note: There is no need to reference System.dll or mscorelib.dll explicitly. They are always included in the list of references.

Site running on a free Atlassian Confluence Open Source Project License granted to Spring Framework. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators