Giter Club home page Giter Club logo

Comments (6)

 avatar commented on July 16, 2024

Now, i downloaded a release from appveyor and it does not protect againt

Stuck..

confuser

confuser project

from confuserex.

mkaring avatar mkaring commented on July 16, 2024

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.

 avatar commented on July 16, 2024

@mkaring

Can not we do anything about that requirement?
Becouse i can protect same dll with .net reactor

from confuserex.

mkaring avatar mkaring commented on July 16, 2024

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.

 avatar commented on July 16, 2024

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.

mkaring avatar mkaring commented on July 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.