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

Commit

Permalink
Fix space handling in BAML renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
yck1509 committed Oct 7, 2015
1 parent e159e16 commit d455ede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Confuser.Renamer/BAML/BAMLAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@ void ProcessConverter(PropertyWithConverterRecord rec, TypeDef type) {
var bamlRefs = service.FindRenamer<WPFAnalyzer>().bamlRefs;
bamlRefs.AddListEntry(baml, reference);
bamlRefs.AddListEntry(xaml, reference);
bamlRefs.AddListEntry(Uri.EscapeUriString(baml), reference);
bamlRefs.AddListEntry(Uri.EscapeUriString(xaml), reference);
}
}
}
Expand Down

3 comments on commit d455ede

@jfrierso
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Ki,

I downloaded and began running ConfuserEx v5 but ran into some trouble. I am trying to obfuscate a dll for an asp.net web app (v3.5 framework). The following error received after attempting the obfuscated dll in iis v8:

Compiler Error Message: The compiler failed with error code -1073741819.

C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\assembly\dl3\7bf59bf5\6b66c0eb_d901d101\Ajaxified.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\assembly\dl3\e8880d9c\33e951c7_db01d101\Microsoft.Web.Preview.dll" /R:"F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\assembly\dl3\ff7167d1\a30e20f1_d901d101\SCS.Web.UI.WebControls.Toolbar.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\assembly\dl3\b0b5ff12\81d3b9ad_f201d101\Legitigant_WebApp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\assembly\dl3\ccaac98f\8077c6ca_db01d101\AjaxControlToolkit.dll" /out:"F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\App_Web_login.aspx.cdcab7d2.1ij5r0dl.dll" /debug- /win32resource:"F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\t24dwgw2.res" /nowarn:41008,40000,40008 /define:_MYTYPE="Web" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Linq,System.Xml.Linq,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls /warnaserror- /optionInfer+ "F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\App_Web_login.aspx.cdcab7d2.1ij5r0dl.0.vb" "F:\tempdir\v4.0.30319\legitigant_desktop\88233f9c\58cbbb08\App_Web_login.aspx.cdcab7d2.1ij5r0dl.1.vb"

Any help is appreciated

@yck1509
Copy link
Owner Author

@yck1509 yck1509 commented on d455ede Oct 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Please open an issue for the problem.

@jfrierso
Copy link

@jfrierso jfrierso commented on d455ede Oct 22, 2015 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.