Reference DLLs in ASP.NET without \Bin or GAC

后端 未结 5 593
天命终不由人
天命终不由人 2020-12-05 15:43

I have an ASP.NET project under source control (Subversion). For various reasons, I don\'t want to add the \\Bin directory or its contents to source control, so I have it sv

5条回答
  •  春和景丽
    2020-12-05 16:36

    The only way I've thought of so far is to have my NAnt build script copy the DLL from an outside (versioned) lib directory into the \Bin directory prior to building. I don't like this very much because it introduces an process dependency that's outside of Visual Studio: developers must ensure that the library is copied before trying to build inside VS.

提交回复
热议问题