Questions tagged [dotpeek]

dotPeek is a .NET decompiler from JetBrains, the makers of a wide array of developer productivity tools: ReSharper, dotTrace, and dotCover for .NET developers. Also A renowned a family of IDEs for Java, Ruby, Python, PHP, and other languages and Team development tools: TeamCity for continuous integration and build management and YouTrack for issue tracking.

72 questions
3
votes
1 answer

DotPeek debug using attach to process, without source code?

I am currenlty trying to debug a service, but don't have the code located on the server, since there is alot and moving is not easy. we are currently having issue with one server, and the only way I can debug the issue is by using dotpeek to…
famle
  • 471
  • 2
  • 6
  • 10
3
votes
0 answers

Decompile Error C# CallSite

When I decompile a mvc web api with Dotpeek, I have some error. This is decompiled code: public class SignalRNotifier : INotifier { private readonly IHubContext DashboardHub = GlobalHost.ConnectionManager.GetHubContext(); …
3
votes
1 answer

Opening a .dll file with dotPeek

I have a question about .dll files. To open .dll files i tried the programm "dotpeek". Starting the programm, I clicked "files" browsed for my file (it's Minesweeper.dll default windows path C:\Program Files\Microsoft Games\Minesweeper) and i…
tankman175
  • 171
  • 2
  • 2
  • 12
2
votes
0 answers

How can I decompile my DLL file using an existing PDB file to get my code back so it's recognizable?

I have been working on a personal MVC project for about 5 months straight now. I just finished 2 days ago and yesterday I was trying to use Azure to host it as well as creating and connecting GitHub to back it up. I am not very good at using GitHub,…
dylpickle912
  • 87
  • 1
  • 3
2
votes
1 answer

Dotpeek ISSUE: unable to decompile the method

Why can't dotpeek decompile the method in the dll?(unable to decompile the method )? // ISSUE: unable to decompile the method. public ChildModel ChildModel { get => this.\u003CChildModel\u003Ek__BackingField; set { // ISSUE: unable to…
2
votes
2 answers

How I can see the Async state machine (async/await under the hood) with the help of DotPeek?

I'm watching a video lesson, where the author talking about async/await under the hood. He shows prepared and decompiled code. I want to do the same from scratch. I mean, decompile some C# compiled file with the help of, from example, DotPeek. So I…
Aleksej_Shherbak
  • 2,757
  • 5
  • 34
  • 71
2
votes
2 answers

dotPeek: "Type to search" field is missing

For as long as I can remember I had a search box near the top of the Assembly Explorer - this afternoon it's gone, and all attempts at restoring it have failed. Is this a bug or did I somehow closed it? Can I bring it back?
Emanuele Ciriachi
  • 2,216
  • 2
  • 26
  • 39
2
votes
0 answers

How can I find the platform a .NET assembly has been compiled against programmatically?

Looking at the following JetBrains dotPeek view of some given assemblies, how can I programmatically determine the platform such assemblies have been compiled against? I have tried the following method which does not work for assemblies compiled in…
MaYaN
  • 6,683
  • 12
  • 57
  • 109
2
votes
0 answers

After Decompilng exe with JetBrains dotPeek and Exporting as a C# Project, all Variablse are, "already defined"

I'm trying to decompile a fairly simple .exe with JetBrains dotPeek and then re-build it. I've so far decompiled it, and exported it as a .csproj, but when opened in Visual Studio 2015, almost all variables get the error: The type 'MainWindow'…
Gerald
  • 521
  • 1
  • 6
  • 16
2
votes
1 answer

What does it mean when dotpeek fills a method with "// Stub method ('ret' instruction only)"

I stumbled upon this question asking about linq's aggregate algorithm and thought this is the kind of question that is best answered by reverse engineering, so I went to Visual Studio and wrote the following code (this code is meant to be used in a…
Eduardo Wada
  • 2,606
  • 19
  • 31
2
votes
0 answers

Disassemble IL code into C# with line numbers using MDB (or mdb2pdb?)

Does anyone know of tools that can disassemble IL back into C# code and use information stored in a mdb file to annotate the line numbers of the dissassembled IL? I am trying to investigate stack traces that have line numbers included without having…
Imi
  • 1,579
  • 1
  • 12
  • 22
2
votes
2 answers

DotPeek not proper deserialize dll

I have decompiled DLL by dotPeek 1.4 to see what is happen inside, but there is something strage c# code (please look at attachments). There are Var declaretion without var name I think some var are numbers, they don't have name Why that code was…
Jacek
  • 11,661
  • 23
  • 69
  • 123
2
votes
2 answers

Decompiler and repacker for .NET

Is there a tool which allows me to decompile a .net dll, edit it and repack it back to dll again? I use dotPeek a lot. It can't repack or edit.
orange
  • 720
  • 3
  • 11
  • 27
2
votes
2 answers

Decompile WP8 assemblies

Anyone have clue, how to go about viewing the source from the Microsoft.Phone.dll [Windows Phone 8 ]. I tried this with the .Net reflector and JetBrains dot peek , Unfortunately it did not decompile the assembly. Any help much appreciated.?
David Bekham
  • 2,175
  • 3
  • 27
  • 56
1
vote
1 answer

dotPeek - Export of .NET Core .dll to .csproj produces a .NET Framework application

I'm trying to export a .dll assembly built from a .NET Core 6 Web Application to a .csproj file, but my decompiler (JetBrains dotPeek) produces a .NET Framework project instead of .NET Core one. JetBrains dotPeek (2022.2.4) tells me that the .dll is…