Comments (6)
Now, i downloaded a release from appveyor and it does not protect againt
Stuck..
from confuserex.
So the problem is that the required dependencies are not present in the directory you made a screenshot of. You need to manually add all the required assemblies as "external" references to the project file in order for ConfuserEx to work, or you have to provide a directory where the required files are all stored.
Either way works. The latter works easiest by utilising the "publish to folder" functionality that is in Visual Studio. This way you should be able to create a directory with all the dependencies included.
For the first method you need to add all dependencies like this to the *.crproj file:
<module path="C:\Path\to\System.Data.SqlClient.dll" external="true" />
from confuserex.
Can not we do anything about that requirement?
Becouse i can protect same dll with .net reactor
from confuserex.
Improving this is a planned feature for ConfuserEx2 but that is just not ready at this point. How ever even the updated version will require the *.runtimeconfig.json
file that is produced for any .NET Standard/Core build and I don't see that one in the screenshot you attached.
from confuserex.
when i publish the dotnet app (with all additinal dll's like System.Diagnostics.DiagnosticSource) and with RST.URETIM3.API.runtimeconfig.json, still does not protect, gives:
[CRITICAL] Failed to resolve dependency of 'RST.URETIM3.API.dll'.dnlib.DotNet.AssemblyResolveException: Could not resolve assembly: Microsoft.AspNetCore.Mvc.Core, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
konum: dnlib.DotNet.Extensions.ResolveThrow(IAssemblyResolver self, IAssembly assembly, ModuleDef sourceModule)
konum: Confuser.Core.ConfuserEngine.Inspection(ConfuserContext context, CancellationToken token)
Good luck, sir. I dont want to use another protectors but confuserex2
from confuserex.
As I said, proper resolving using the *.runtimeconfig.json
file is currently not working.
Any file it still can't find you have to add as external dependency.
The only way around this right now is using the MSBuild extension of ConfuserEx. It is deployed for the master
(1.x) branch. Checkout the readme file to find the repository branch. Adding this to the project allows you to create a *.crproj
file for every project in your solution. This file is then used to obfuscate every assembly, before it is copied to the output directory. This methods adds all Nuget dependencies automatically as dependency to the *.crproj
file during the build. If that is a option for you, this may be a way too.
from confuserex.
Related Issues (20)
- Virustotal Community Comments
- The GUI version applies all protections even though I just enabled one in the project config
- DevExpress + ReferenceProxyProtection (strong mode) crashes
- ConfuserEx Error HOT 4
- Adding constants obfuscation causes mscorlib 4.0.0.0 dependency in class libraries that already reference 2.0.0.0
- The project seems dead. Alternatives? HOT 5
- [Feature Request]: I want to pass `snKeyPass` as a command line variable to be used in Dev-Ops secretes etc.
- [Feature Request / Bug]: When a project has been "Delay Signed", I would like it to stay that way
- [Bug] When using `"anti tamper"` on an exe and checking it at "https://www.virustotal.com/gui/home/upload" it reports a virus HOT 3
- Visibility of public members in 1.6.0 changed HOT 2
- class with function pointer produces wrong code
- Support ReadyToRun format HOT 1
- Erroneous and unused assembly referred to in XAML xmlns causes ConfuserEx to crash
- ConfusedBy is seen. HOT 9
- Norton & Windows Defender detect the generated exe as infected by Heur.AdvML.B virus. HOT 1
- Not work on machine where net framework 4 was not installed before HOT 1
- Renaming of Generic.xaml for "ResourceDictionary" and "MergedDictionaries" not right
- System.BadImageFormatException: Invalid DOS signature
- ConfuserEx issue in GUI
- DLLs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from confuserex.