In projects not embedding the runtime, the vdproj should build correctly, but in these projects, dotNet Protector’s runtime is needed to run.
dotNet Protector’s runtime is composed of 5 files :
. PvLogiciels.dotNetProtector.Runtime.dll : this is the common runtime, needed in all cases
. PvLogiciels.dotNetProtector.RuntimeV1.dll : this is the v1.1 framework compatible runtime. You don’t need it if your assembly is a v2.0 or later assembly
. PvLogiciels.dotNetProtector.RuntimeX86.dll : this is the v2.0 x86 runtime . You need it if your assembly is loaded by the v2.0(or later) .NET Framemork, except if your assembly only runs on a 64 bit platform.
. PvLogiciels.dotNetProtector.RuntimeAMD64.dll : this is the v2.0 ADM64 runtime. You need it if your assembly is loaded by the v2.0(or later) .NET Framemork on windows x64, except if your assembly only runs on x86 (x86 insteed of AnyCPU)
. PvLogiciels.dotNetProtector.RuntimeItanium.dll : this is the v2.0 Itanium runtime. You need it if your assembly is loaded by the v2.0(or later) .NET Framemork on windows IA64, except if your assembly only runs on x86 (x86 insteed of AnyCPU)
If your assembly is a v2+ assembly and not built to run only on a 32 box (x86), you NEED 3 setup projects (for each platform)
Adding the runtime to your project. If the common runtime is present on your assembly’s directory, Visual Studio will add PvLogiciels.dotNetProtector.Runtime.dll by itself. In the other case, add it manually in your application folder.
Depending on the version/platform of your setup project, you’ll have to add additional files:
V1.1 assembly/x86 project : add RuntimeV1 and RuntimeX86
V1.1 assembly/x64 project : add RuntimeV1, RuntimeX86 and RuntimeAMD64
V1.1 assembly/IA64 project : add RuntimeV1, RuntimeX86 and RuntimeItanium
V2+assembly/x86 project : add RuntimeX86
V2+assembly/x64 project : add RuntimeX86 and RuntimeAMD64
V2+assembly/IA64 project : add RuntimeX86 and RuntimeItanium