how can I use dotfuscator for my dlls in web application after build time so when I publish my website it will contain the encrepted dlls instead of the old ones?
A:
Use Post-build event command in VS 2008.
Right click on your csproject, choose properties, go to build event, then inside the post build event command line, type in the following batch command:
- dotobfuscator command line, and
- the command to copy the files to the website (i.e,
copy %encrypteddll% %destination%
) .
The copy command should be something like this:
copy "D:\EncriptionFolder\BusinessEntitesLayer.dll" "D:\wefaq\SocialProject\SocialProject\bin\BusinessEntitesLayer.dll"
Or alternatively, you can use NANT or other build tools to automate your build steps.
Ngu Soon Hui
2009-10-05 06:24:05
I tried to write the following on post build event command :copy %D:\EncriptionFolder\BusinessEntitesLayer.dll% %D:\wefaq\SocialProject\SocialProject\bin\BusinessEntitesLayer.dll%but it gave me error when build the project:the command ... exites with code 1
wafa
2009-10-05 06:44:01
I solved the previos problem now after I published the website it can't find the login page what to do?
wafa
2009-10-05 06:57:10