Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have writtem a DLL which I do not want to be visiable (view the source code)
It is in VB 2010 and works fine.
When I try to use the DotFuscator supplied in VS 2010 i get the following error:

CSS
Encountered nooptimization at line 1497, column 86.
Was expecting one of:
    "{" ...
    "unmanaged" ...
    "runtime" ...
    "synchronized" ...
    "noinlining" ...
    "cil" ...
    "internalcall" ...
    "forwardref" ...
    "native" ...
    "preservesig" ...
    "managed" ...
    "optil" ...
    "mustrun" ...

Build Error.



I have never used this before so I have no idea.............
Any help???
Posted
Comments
Martok867 16-Aug-12 19:35pm    
Hi Sergev,
Thanks for the reply.
There is no IP in the DLL.
The file is a simple security domain check and writes the usage data to a DB.
Its in a DLL as I want to use this accross several applications on the network.
I just did not want anyone at a casual glance to see the check or know the location of the audit DB.

1 solution

First of all, DotFuscator is pretty much useless. Second of all, are you really sure your code is so valuable that someone would bother to reverse-engineer it? :-)

This problem is explained here:
http://www.vbforums.com/showthread.php?636718-RESOLVED-Dotfuscator-Error-Encountered-nooptimization-at-line-356-column-80.[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900