Can i get my Event Receiver source code from a WSP file
-
15-01-2021 - |
Frage
I was working on a sharepoint 2013 farm solution to implement an event receiver inside visual studio 2012 professional. now when i try to build/run the project i got an error that there is not space on the disk. so i closed Visual Studio, free some space on the server, re-open the project. but i found that my code inside the ER .cs
file have been removed (almost half the code has been removed!!).
but i have the .wsp
file for my project, so i am not sure if i can rely on this .wsp
to get mt ER .c
s source code?. now i try to change the file extendion from .wsp
to .cab
, where i got those files:-
but unfortunatly none of them contain the ER .cs
code. so can anyone adivce on this please?
Thanks
Lösung
You can use free trial of .Net Reflector tool to view the source code of dll
files.
Decompiled Source code would not be the exact same as that was in your .cs
files but you will get an overall idea of your source code.