Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to Obfuscate my Xamarin android app and I did it for the DLL was in the
output but when I click export android package in visual studio the DLL I protected was delete and the DLL without obfuscate replace it
How should I do it?
Obfuscating of Xamarin Android apps doesn't make much sense (of course you can turn on "Enable ProGuard" option if you want) but you can turn on "Embed assemblies to native code" which will convert all code into a binary .so file.
Here's a blog post explaining how to obfuscate a Xamarin Android app with Dotfuscator. It says there's an issue around file locations after the obfuscation process:
In order for the Xamarin platform specific build process to properly find the obfuscated assemblies, they have to be copied back into the original assembly locations after obfuscation. Android has an additional restriction in that the original obfuscated PCL must be copied back to its project specific location as well.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
How to access iPhone with c# in visual studio console app? The phone appears in the file explorer but I do not know how to get it in code. After what I've read, it is very complicated.
I am not a dev but I can read and try lots of stuff.
I am on windows 10.
here is a usefull library to solve your problem called
MediaDevices from the GitHub user Basman2. You can find this library also on the NuGet Store.
For the examples you can download the GitHub repo and test the implemented features.
The library has functionalities to download files from your device or upload them.
With this tool you can also display your files like in the link below.
Screenshot from the file section
I hope this can fix your problem.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I´m about to finish my apprenticeship soon and I must do a project. I want to write a logging-class/-dll for being used by other programs. I will use Xamarin for android (C#) because my company will use my dll in the future for their apps.
My dll should contain log levels, for example if the developer wants the full path of actions the user did, or only if an error occurs he wants go get the errordata. The dll should be able to track more than only the error/errormessage (->which leads us to the logging levels).
Does anyone have an idea how to get into this topic or has any testfiles for me?
There are already few open source logging frameworks available that work on Xamarin.Android, e.g https://serilog.net/
There is another logging framework called NLog (https://github.com/NLog/NLog/wiki/platform-support) You can refer these projects to build your own logging library
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
My client give me his FTP I'm download source code.
Its published.
How can i do changes in code.
My client have not the Unpublished code.
What can i do?
Well, you need to check a few things
1- Check the code and see whether you can find .cs files with you .aspx files. If you can find them then it means that the website was deployed in Debug mode and you can atleast have the code of all the asp.net forms.
And if you cannot find the .cs files then it was deployed in Release mode and you are screwed.
2- Check the debug/release folder of the code and see whether you can find some custom DLL's. (By custom, i mean DLL's that are not from Microsoft and any third party). If you can find some custom DLL's then you cannot do anything because you donot have the code for the DLL's. (So, you do not have the Dll project).
You can still retrieve the code of DLL's by using some tools but that is not recommended.
EDIT:
You cannot get the exact code, but you can get a decompiled version of it.
The most popular (and best) tool is Reflector, but there are also other .Net decompilers (such as Dis#). You can also decompile the IL using ILDASM, which comes bundled with the .Net Framework SDK Tools.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have take over a old asp.net website and there is no Visual Studio Project for it. If i want to change some functionality, is there a way to put in a .cs file overriding the logic in the bin file?
I am not aware of any other solution but one.
You can decompile the whole dll, create a new project and attach all classes there. Then recompile and replace an old dll with a new one.
You may need to decompile the whole web site, as it is likely there will be some dependencies to other dlls.
For anyone who stumbles across this question, I'd like to suggest an alternate approach. Take a look at Fody. Fody is an IL weaving tool which allows you to weave in changes to existing .dll compiled files. Here is a Basic Fody Addin Project. You'll notice Fody would allow you to inject or 'weave' code changes into the IL without a decompile.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have googled over the internet and read some forums, but I could not find a really good solution to suit my requirements. I am looking for an automatic application update framework for my project.
Which do you think the best application update framework for .net?
Requirements:
free
easy to use and integrate with existing .net project
check/download/install updates automatically from a server
if it is needed, update also its referenced new dll-s from the server
if new dll is referenced to the app, should be also downloadad automatically from the server
if new items (e.g. XML files, language resource files) needed for a new version, also download them
UPDATE:
installation folder must be changeable by the user (clickonce is not an option)
check this http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx out - it combines ClickOnce (Update machnism) + Windows installer (installation) to make possible what you are asking for...
Another (perhaps better?) option: http://www.codeproject.com/KB/cs/DotNetAutoUpdateClient.aspx
Check out ClickOnce Deployment at http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.80).aspx
It works really great. To use it, just open up the project properties in VS and go to the deploy tab.