Git Product home page Git Product logo

example's Introduction

Obfuscar Example Repository

Build status

This repo uses Visual Studio 2017 to demonstrate how to use Obfuscar 2.2.11.

  1. Add a NuGet package to your final project (BasiExampleExe in this case).
  2. Use post build event to call Obfuscar with a configuration file (obfuscar.xml).

The obfuscated assemblies are in the output folder (.\BasicExampleExe\bin\Debug\Obfuscator_Output or .\BasicExampleExe\bin\Release\Obfuscator_Output).

Obfuscar Source Code can be found at GitHub.

The documentation is hosted at ReadTheDocs.

To test the example on macOS or Linux, please refer to #4.

example's People

Contributors

lextm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

example's Issues

Please Provide Working Example Code

If you want people to adopt your solution, you need to make things work out-of-the-box. This "demo" crashes, there's scant support/documentation for what to do. there's no package auto-restore setup, etc.

Visual Studio for Mac Problem

Renaming: fields...Parameters...Properties...Events...Methods...Types...Done.
An error occurred during processing:
Key containers are not supported for Mono.

On Visual Studio for Mac. Mono and Visual Studio up to date.

.NET core example

Please provide a working .net core 3.1+ example that would work with dotnet build/pack/publish command, stackoverflow says it's possible to use for .net core but its not shown anywhere how. Ideal would be an example for nuget package project.

The project does not support adding package references through the add package command.

Hi, when i try to add package to my protect using command dotnet add package Obfuscar --version 2.2.11 it says "The project does not support adding package references through the add package command." but msdn do not tell about this error so how do i do?

Actual output:

Writing C:\Users\username\AppData\Local\Temp\tmp17C4.tmp
info : Adding PackageReference for package 'Obfuscar' into project '[path censored]\My project.csproj'.
error: Error while adding package 'Obfuscar' to project '[path censored]\My project.csproj'. The project does not support adding package references through the add package command.

Error: "Unable to resolve dependency: System.Windows.Forms"

I tried to obfuscate my startup project, which is a NET Framework 4.7.2 and uses WinForms. I always get this error, even when I obfuscate the file directly from its bin folder (which includes all the dependencies):

Unable to resolve dependency: System.Windows.Forms

XAML / BAML example

Do I understand it right that Obfuscar does not process / rename BAML? It does notice, that a type is used by BAML, and keeps its name, but not any properties or methods. What should the <Skip...> set be for a class (control, converter, model) used in XAML?

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.