Why are there some missing links when starting my application?

I have the following project structure using Domain Model, StructureMap and Fluent NHibernate:

Project structure

The problem I am facing is that Fluent NHibernate requires that all of the following files be the bin directory on the website in order for it to work at runtime:

  • Antlr3.Runtime.dll *
  • Castle.Core.dll
  • Castle.DynamicProxy2.dll
  • FluentNHibernate.dll *
  • Iesi.Collections.dll *
  • log4net.dll *
  • NHibernate.ByteCode.Castle.dll
  • NHibernate.dll *

The problem I am facing is that not all of these assemblies are output to my bin directory. Currently, only items with are displayed *. Elements fat absent in the directory bin.

, , Fluent NHibernate. , , - NHibernate.dll FluentNHibernate.dll. , *, .

, , , , Fluent NHibernate. , ; bin.

, , . , " " = "", .

, Website, , StructureMap.

- , ?

+3
1

, , (- ), post-build script, .

VS, "" , . # , . VS , . , , . , # . -, .

. , , NH . , . , , , . .

+4

Source: https://habr.com/ru/post/1756702/


All Articles