Skip to content

dnlib is not found when building in a pipelin using Confuser.MSBuild 1.6.0 #477

@Kratheon

Description

@Kratheon
  • ConfuserEx Version: Confuser.MSBuild v.1.6.0
  • Target Framework: .Net Framework 4.7.2 and/or .Net Standard 2.0
  • Operating System: Windows Server 2019

Steps to Reproduce:

  1. Create a pipeline in Azure Devops or any CI Pipeline in general
  2. Build the project where you integrated the confuser.MsBuild in order to obfusacte the .dll generated by the build process

ConfuserMSBuildErrorCSPROJ
ConfuserMSBuildErrorReferences
ConfuserMSBuildError

As you can see in the last image, it seems that during the ConfuseTask in the building process of a pipeline, ConfuserEx is not able to find the dnlib.dll

I don't have this problem when I build the project in Visual Studio 2022.

I aldready tried to give the dnlib.dll (v.3.4.0) by adding it in the project root (and copy it in the output directory in the csproj)or adding a probePath in the crproj giving the path of dnlib.dll

Any ideas what I am missing or it is even possible to use Confuser.MsBuild in a pipeline building process ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedback-requiredThis issue can't be processed further until additional information are provided.inactiveThis issue requires some feedback, but did not get any response.potential-bugSomething does not seem to be working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions