Hello, I have used smart assembly for my project for about 2 years. Everything worked properly until I changed the hard disk of my notebook to a solid disk. Install on my new drive all my tools. Same version of Visual Studio Professional (2015), and download Smart Assembly 6. The project of both visual studio and smart assembly is the same, but when compiling my application and obfuscating with smart assembly fails. The fault is in a call to a web api. The error is :
System.Exception: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1 <System.Net.Http.HttpResponseMessage> System.Net.Http.HttpClientExtensions.PostAsJsonAsync (System.Net.Http. HttpClient, System.String, !! 0) '.
in .ctor (String [] args)
in (String [] args)
If you do not obfuscate the project, it works correctly.
Previously, with the hard disk, with smart assembly generated a single file.exe and everything worked correctly. This is what I discovered by testing:
If I do not apply the merge to the dll that contains the api web call, it works fine.
If I remove the obfuscation of the dll that contains the call, it does not work. I checked the code with .Net Reflector and okay, the call string is correct.
If I use the compilation of my project made with the previous hard disk and obfuscate it, the call works! But it's exactly the same project. Compiling it with the solid disk does not work
I do not know what to try, please help!
regards
Matias
System.Exception: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1 <System.Net.Http.HttpResponseMessage> System.Net.Http.HttpClientExtensions.PostAsJsonAsync (System.Net.Http. HttpClient, System.String, !! 0) '.
in .ctor (String [] args)
in (String [] args)
If you do not obfuscate the project, it works correctly.
Previously, with the hard disk, with smart assembly generated a single file.exe and everything worked correctly. This is what I discovered by testing:
If I do not apply the merge to the dll that contains the api web call, it works fine.
If I remove the obfuscation of the dll that contains the call, it does not work. I checked the code with .Net Reflector and okay, the call string is correct.
If I use the compilation of my project made with the previous hard disk and obfuscate it, the call works! But it's exactly the same project. Compiling it with the solid disk does not work
I do not know what to try, please help!
regards
Matias