Skip to content

Decodable rename protection with odd crproj outputs in strange directory. #26

Open
@JasonUnger

Description

@JasonUnger

Describe the bug
When using relative directories for baseDir and OutputDir, odd things happen with how files are written.

To Reproduce
Steps to reproduce the behavior:

  1. Have a configuration similar to:
<project outputDir=".\Licensing" baseDir=".." xmlns="http://confuser.codeplex.com">
  <rule pattern="true" preset="maximum">
    <protection id="rename">
      <argument name="mode" value="decodable" />
    </protection>
  </rule>
  <module path="Demo\DemoWinFormApp\bin\Release\Licensing.GUI.dll" snKey="Core\Licensing.GUI\Licensing.GUI.snk" />
  <module path="Demo\DemoWinFormApp\bin\Release\Licensing.dll" snKey="Core\Licensing\Licensing.snk" />
  <module path="Demo\DemoWinFormApp\bin\Release\DemoLicense.dll" />
  <module path="Demo\DemoWinFormApp\bin\Release\DemoWinFormApp.exe" />
</project>
  1. Run obfuscation using above file. (Config file is at $(SolutionDir)\ConfuserEx\DemoApp.crproj)
  2. Find symbols.map at $(SolutionDir)$(SolutionDirName)

Expected behavior
Expect to find symbols.map either next to crproj file or next to module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions