How to use dotfuscator in our dll - c#-4.0

How to use dotfuscator in our dll to hide my code.Please Give some guideline regarding this.

Hope this will help you.
How to protect DLL using Dotfuscator

Have a look at the open-source Obfuscar here: http://code.google.com/p/obfuscar/
It works great, and can be placed into automated build tools.

Related

Is it possible to use sandBox for sharePoint online?

I wanted to know if it's possible to use a sandBox to test my code in SharePoint online ? This way, I can test my code, and my colleagues can continues to work on sites.
Thank's !
Not for any compiled code. I.e. anything that requires a DLL. You can still deploy Sandbox Solutions that are all HTML, CSS and JavaScript (with a few exceptions).
Note that many of the Sandbox Solutions will not work with the "modern UI".

changing the look of my NSIS

So after gettig my installer to do almost everything that I would like it to do I now need to change the look of the installer that you see on run. I am not sure how to do this. I know that it has to do with the MUI but not what part. Would you all be so kind as to help. Thank you
You need basically to include MUI.nsh or preferably MUI2.nsh to redefine the gui layout, then you can tailor the interface to you needs by defining some macros.
The Modern User Interface documentation explain all the possible settings and also links to several examples that you should try to see what to integrate into your setup.
In your own NSIS distribution, these files are also installed in Docs\Modern UI 2\ for the documentation and Examples\Modern UI\ for the sample scripts.
You can use some third party plug-ins, e.g. Graphical Installer (www.graphical-installer.com) which allows you to completely reskin your installer.

log4net works with Xamarin.iOS/Monotouch?

We are using Xamarin Studio to create mobile applications in .NET to some platforms. Our experience show some compatibility problems to use original Log4Net but we're no tried yet the Log4Net Compact Framework (http://logging.apache.org/log4net/release/framework-support.html).
There's someone with this problem/solution ?
Thanks in advance!
There are a lot of limitations with the MonoTouch profile. But I managed to get some of the very basic appenders to work. Should give you enough to get started. It's a work in progress, so your milage may vary. Expect bugs!
https://github.com/drunkirishcoder/monotouch-log4net
Yes, it works properly! We done the follow steps:
include the log4net.dll into References (Figure 1).
added the using log4net; in using area code.
Figure 1 - Edit References

Is there a way to customize a rule in resharper similar to fxcop?

I am a newbee to Resharper and found that this tool has great potential compared to any other code analysis tool.
But I was just wondering if we can integrate a custom rule DLL into resharper just as we are able to do in fxcop (apart from customizing the inbuilt options using the radio buttons)
How I should be able to integrate a custom code (rule) that is followed in my portfolio and integrate that rule into resharper? Is there a way around?
The problem is I am unable to find anything much on internet.
Any help will be highly appreciated!
Regards,
Ashish
Yes, you can write a plugin with custom rules. See ReSharper plugin development guide for more details of how to do it. Especially pay attention to part about custom highlightings, there is an example with ElementProblemAnalyzer there.

Automated Web Reference Switching in C# project with NAnt

Problem: I have a C# 4.0 project with web references in Visual Studio 2010. I have two sets of web references, but I do not want to use them simultaneously. I want to be able to automatically remove all my current ones, add all the new ones, and then do the equivalent of 'update web reference' on each of them. I'm having a difficult time even finding where to start.
After searching around, I've found NAnt, which looks like it may be able to accomplish what I'm after (with the wsdl command), but I'm in unfamiliar territory.
Question: Is NAnt the right tool for this job? Will I be wasting time if I learn to use it? Is there a simple solution that I'm just not seeing? I'm more just looking for some guidance than a hammered out solution.
If anyone's interested:
After doing more research, I think I'm going to use some combination of
MSBuild,
How to call MSBuild from C#,
and
How do I automatically update a web reference at build time?
I'll update this answer with my solution when I'm done.

Resources