| Topic : ASP.NET with C# Programming |
|
|
.Net Champions
|
|
Activity:
Question posted: 03 11 2010 01:39:16 +0000,
2 answers, 177 views, last activity
07 06 2010 20:18:08 +0000
|
|
I created a Class Library project to create a DLL File to use and make use of this DLL file using Add Reference and I got this file inside the Bin Folder along with a .PDB File in website solution explorer. But when I use the functions of this DLL, it works but when I debugging it with F11 option it shows the Code written for that function or I say shows the complete code of that DLL. How can I restrict to myself to use functions of DLL but code of that functions not visible to me while debugging with F11?
First of all, when we are sure about that now the time has come to release this DLL to others where they can only use it not able to see the code behind the functions which they use in their pages. For that we need to build the class library project in release mode , on successful build you get a release folder in both Bin and Object folder of your class library project but you need to take the DLL file of Bin folder but you need to take care to that it also makes a .PDB file. A program database (PDB) file holds debugging and project state information that allows incremental linking of a Debug configuration of your program. A PDB file is created when you build your class library project.
So you need to take the DLL file in a separate folder and whenever you require to use that DLL you simply need to reference that DLL from that separate folder but you can still found that while debugging with F11 you see the code of your DLL file and its because your DLL maintains a link your class library project but it only happen when you referencing that DLL at your local machine where you build your class library project and if you use it at any other machine then DLL won't able to link to code and during Debugging it simply pass through the function without going into the code of that function.......

- Create a confidential Career Profile and Resume/C.V. online
- Get advice for planning their career and for marketing of experience and skills
- Maximize awareness of and access to the best career opportunities
|
|
|
|
|
|
|
|
|
|
|
|
Somebody tell me the entire procedure to get certified for Microsoft's MCPD? |
No. I don't think so because It is very similar to a glass fill half of water and some says that the glass is half empty and others says that the glass is half full so its up to you to take these helpful features to make yourself dependent or make... |