I tried to build the MVC Forum solution in my company, but our TFS server refuses post build events, and there are post build events set on the MVCForum.Data project:
if not exist "$(TargetDir)x86" md "$(TargetDir)x86"
xcopy /s /y "$(SolutionDir)packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\x86\*.*" "$(TargetDir)x86"
if not exist "$(TargetDir)amd64" md "$(TargetDir)amd64"
xcopy /s /y "$(SolutionDir)packages\Microsoft.SqlServer.Compact.4.0.8876.1\NativeBinaries\amd64\*.*" "$(TargetDir)amd64"
I was wondering when these DLLs are used in the application, to see if I could remove the post build event, so that I can get the forum to build on our TFS server.
I see that DLLs are loaded at runtime by the Application_Start() in the Global.asax.cs, using the ReflectionService, but when I debug I see that the SqlServerCompact DLLs, copied by the post build event mentioned above, are not in the list of DLLs that the ReflectionService loads.
Is there another place where those DLLs are used that I haven't found, a.k.a. my forum will not work in production if I don't let the post build event copy the DLLs?