I'm able to do it by integrating Intellilock in a postbuild step
exactly like this:
"$(ProjectDir)postbuild.bat" "$(ProjectDir)" "obj\$(ConfigurationName)
\" $(TargetFileName)
postbuild.bat in the project folder contains:
if %2=="obj\Debug\" GOTO END
"c:\Program Files\Eziriz\IntelliLock\INTELLILOCK.exe" -project
"%~1intellilock.ilproj"
copy "%~1%~2locked\*.*" "%~1%~2" /y
:END
This way its locked when its not a debug build. But this way the
locked build is in the obj folder, which is the one that is used to
either build MSI or click ones deployments. The one you see in the
BIN folder will be unlocked but the deployed one will. You can rename
the name of the intellilock.ilproj but leave the %~1 where it is.
You should be able to slightly modify the bat file for a .net reactor
deployment.
> 2008/9/11 mw <
munwaic...@gmail.com>
>
>
>
>
>
> > Hi,
>
> > Is it possible to protect assemblies that are published in Visual
> > Studio using "Publish Now" in the properties of the project? I have
> > tried protecting the .dll.deploy files that it produces but that gives
> > a manifest error when trying to install. I also tried protecting the
> > assembly first before running publish and have difficulty doing that
> > for other referenced assemblies/projects. Please advise.
>
> > Thanks.- Hide quoted text -
>
> - Show quoted text -