I am creating a Visual Studio extension and am trying to take advantage of the JustDecompile engine, but I must sign the assemblies. The problem is the Mono.Cecil assembly grants internal access to Mono.Cecil.Pdb and Mono.Cecil.Pdb in the AssemblyInfo.cs file;
[assembly: InternalsVisibleTo("Telerik.JustDecompile.Mono.Cecil.Pdb")]
[assembly: InternalsVisibleTo("Telerik.JustDecompile.Mono.Cecil.Mdb")]
The build requires that the referenced assemblies have a PublicKey. Because of the error, no assemblies are built so I can't get a PublicKey for them.
Any ideas how I should proceed?
Thanks,
Steve
Hello,
while decompiling System.Web.Http.Owin.dll (Microsoft.Aspnet.WebApi.Owin Nuget package), I found PassiveAuthenticationMessageHandler.SendAsync method which contains following source code:
protected
override
async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
{
if
(request ==
null
)
{
throw
new
ArgumentNullException(
"request"
);
}
PassiveAuthenticationMessageHandler.SetCurrentPrincipalToAnonymous(request);
HttpResponseMessage httpResponseMessage = await
this
.<>n__FabricatedMethod3(request, cancellationToken);
PassiveAuthenticationMessageHandler.SuppressDefaultAuthenticationChallenges(request);
return
httpResponseMessage;
}
What does 'this.<>n__FabricatedMethod3' mean? Is it calling base class SendAsync method? Any link towards some explanations of this notation? Of course, if I click on it, no such method is found.
Thanks!
I decompiled a VB.NET application built around 2011.
The decompiled code looks fine - no errors when I load it into VS 2015.
However, when I attempt to open a form designer I get many errors.
A few types:
The type 'System.Windows.Forms.Form' had no property named 'XXXX' where XXXX is a control name like StartStrip1.
The variable 'XXX' is either undeclared or was never assigned.
The name 'XXX' is already used by another object.
Duplicate declaration of member 'XXX'
1. Is this a bug in the decompiler, if so, how can I fix this?
2. Is there a step-by-step guide to decompiling windows forms and getting them to work in VS again?
Thanks
Hello,
I would like to convert a VB.NET to a C# project.
I have seen that if I make use of the With feature of VB.NET, le exported C# project won't work.
For example the following code
dim Test as Datarow = MyTable.NewRow
With Test
.Item ("COL") = 1
End With
will convert into
DataRow $W0
$W0=MyTable.NewRow
$W0.Item ("COL") = 1
The problem is that a C#Variable can not start with $ so for a big project I have 30-40K error .
Can something be done?
Thank you
Are there any instructions for using this software? I don't know where to begin.
A year or two ago I wrote and compiled a visual basic program for windows.
I now need to modify the program but I can't find the source code. How can I decompile the program back to the source code so that I can make changes?
Would you mind please advising how to replace an embedded resource in a .NET exe? I have worked out the reflexil interface to delete the old resource and inject a new blank embedded resource. I just need to understand how to load the replacement file to the new resource.
All help greatly appreciated.
I am trying to install JustDecompile on a new machine and keep getting this message.
I also tried installing the Progress Control Panel app and get the same error.
Any ideas how to fix this? It's a vague message
alpha
femme keto genix canada
Aside from satisfying its essential objective of consuming fats,
Alpha Femme additionally improves different capacities of
the body. This is something no other item would ever do, correct? In
this way bringing some phenomenal changes which no other item has
done till now. Alpha Femme Keto Genix is extremely one of its sort.
httpwwwtrendysupplementcomalphafemmeketogenixca
Hi, I wonder whether can you implement the feature ( either in the main program or as the form of a plugin) to compare the difference between Assemblies, something like Reflector.Diff
I understand that I can somehow use JustDecompile to do this, but the process is very manual. Can you automate this?
Upon opening JustDecompile I receive this error:
System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Infrastructure.XmlSerialization.AssemblyLists.FileListSerializer.(String ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\UI\Infrastructure\XmlSerialization\AssemblyLists\FileListSerializer.cs:line 226
at Infrastructure.XmlSerialization.AssemblyLists.FileListSerializer.(String , Int32& ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\UI\Infrastructure\XmlSerialization\AssemblyLists\FileListSerializer.cs:line 172
at Infrastructure.XmlSerialization.AssemblyLists.FileListSerializer.(String ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\UI\Infrastructure\XmlSerialization\AssemblyLists\FileListSerializer.cs:line 109
at Infrastructure.Configuration.(String ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\UI\Infrastructure\Configuration.cs:line 415
at Infrastructure.Configuration.(Action , ITabManager ) in C:\DeveloperTooling_JD_Agent1\_work\15\s\UI\Infrastructure\Configuration.cs:line 395
at JustDecompile.Shell.<
OnShellLoaded
>b__38_0() in C:\DeveloperTooling_JD_Agent1\_work\15\s\UI\JustDecompile\Shell.xaml.cs:line 97
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at JustDecompile.App.Main() in C:\DeveloperTooling_JD_Agent1\_work\15\s\UI\JustDecompile\obj\x86\Release\App.g.cs:line 16777215
In version: 2019.1.118.0
The only options are to copy to clipboard or close. When I click close it closes the entire program with a message that it was not responding.
Any ideas to fix this? I really loved using this program but now it's just worthless.