Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Add support for saving specifically marked files into a subfolder of output #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lylinen
Copy link

@lylinen lylinen commented Mar 31, 2015

By tagging module with extra parameter belongsToSubFolder, one could now redirect portion of the output files into a subfolder. This is useful if language files are under subfolders.

Example:

When obfuscation is done, the obfuscated version of the file will be written into outputDirectory\Es instead of output directory itself.

@yck1509
Copy link
Owner

yck1509 commented Apr 9, 2015

Hi,
I don't quite understand the purpose of this patch. Currently, ConfuserEx already take the relative path of the input into account and place the output in the correct place. Is there any problem with it?

@lylinen
Copy link
Author

lylinen commented Jan 25, 2016

Apologies for (very) late reply.

If the project uses relative paths to describe file location, the output files are not put in correct place. For example with assembly defined as path="..\Executables\th\Common.resources.dll" and project with outputDir="..\Dotfuscated" this assembly would not end in ..\Dotfuscated\th, but at ..\Dotfuscated.

(updated to remove the XML portions that did not show up correctly)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants