Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I've added a new project to my Win Service solution. It's a simple EventLogger class library that only has one class. The problem is, no DLL file has been created in the project bin/debug folder(not using release). Only an .exe file has been created. It works fine when running on my local machine, but when I try to run it on the server I get the following error message:

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Why hasn't any DLL file been created?

Thanks,
Suunker
Posted
Comments
Timberbird 23-Aug-12 2:59am    
Are you sure it hasn't been created? In project properties, check "Output path" parameter on "Build" tab and "Post-build event command line" parameter on "Bulid Events" tab.

Any application does not create a dll. For example, if you add a console application and build it (Debug or Release), it will never create a dll file. Dll file gets created with class libraries. So, if you observe a windows application, console application etc...( which creates binaries) does not create dll files.
 
Share this answer
 
Ahh, the project was configured as a Console app, not class library. Now it works!
Thanks!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900