Home - Forums-.NET - Spices.Net - Working with solution and VS2010

Spices.Net

NET code security, tools to protect, obfuscate, tamper defense, code and data safety, recover, convert, optimize, explore, browse and analyze .Net software.

This forum related to following products: Spices.Net Suite, Spices.Net Obfuscator, Spices.Net Decompiler

Working with solution and VS2010
Link Posted: 21-Dec-2011 22:42
Hi,
We are examine spices.net to meet our requirements. We are trying to setup obfuscation on solution (working with vs2010 sp1, win7 64 bits). I installed VSIP package with vs 201 support option.
In our VS solution, we have several "executable" projects with mixed assembly usages, lets say:

Proj_A
  MyAssembly.dll
  A_Assembly.dll
  ...

Proj_B
  MyAssembly.dll
  MyAssembly2.dll
  B_Assembly.dll
  ...

Proj_C
  MyAssembly.dll
  MyAssembly2.dll
  MyAssembly3.dll
  C_Assembly.dll
  ...

I have several questions:
1. What will be the best practice to setup spices.net for this configuration? I thought, that I need to setup solution with spices (iloprj) project for each "executable" vs project.
   a). Is it right?
   b). IF so - what need I do with assemblies, shared across several projects (in the example - dlls like MyAssembly.dll, MyAssembly2.dll)

2. I saw in help file mentions for spices solution, but found not any way to create one :( Can you please profide some brief explanation?
3. When I installed VSIP and re-opened VS - I saw spices options were added to Solution and Project properties, as well as Spices.Net option was added to tools menu. Opening Spices.Net from tools menu is opening spices project (does it need to be different spices project for each VS project?). But When I tried to "add referenced assemblies" - it do nothing.
Link Posted: 22-Dec-2011 04:55
1. What will be the best practice to setup spices.net for this configuration? I thought, that I need to setup solution with spices (iloprj) project for each "executable" vs project.

If you plan to use advantages of cross-obfuscation and increase protection of your projects I'd like to recommend you to include all your assemblies in one spices.project and obfuscate them together.
If you don't plan to use cross-obfuscation (so, you should leave untouched public members of shared assemblies) - in that case you can obfuscate different projects with different spices.projects.
2. I saw in help file mentions for spices solution, but found not any way to create one :( Can you please profide some brief explanation?

Spices.solution is a collection of Spices.projects. So you should create your spices.projects and then call File-New command, select these projects and then click Open button of dialog window to create new Spices.Net Solution.
3. ... does it need to be different spices project for each VS project?

No. You can specify obfuscation option for each assembly(and associated VS project) in the VS project's Properties window. Just select project in the VS Solution Explorer and open it's project properties (View-Property Window command, or F4 shortcut) to edit extended properties of VS project.