Can Obfuscar obfuscate .NET 4.6.x, WPF, .NET Standard Libraries? - obfuscation

I have a VS2017 solution that includes projects targeting .NET 4.6.1, using WPF and .NET Standard Libraries. I am wondering if I can use Obfuscar to obfuscate the exe and dll files.
Any insights are appreciated. Thank you!

Related

Can i use .dll library targeted .net framework v3.5 in application having targeted framework 4.0?

Hello currently I'm working on desktop application using WPF. I create application by targeting .net framework 4.0. but I have facing some problems related targeted frameworks.
First there is a library which i have to use in my application.A library supports targeted .net framework v3.5 but I also want to use the DataGrid control (only available above than v4.0 targeted .net framework) for table so now i'm confuse what i should do now? how can i achieve my goal? i want to use both library + Datagrid control in my application which is targeting .net framework v4.0.
Thanks in advance :)

What versions of .NET and WPF, does the ModernUI framework support?

I'm working with a WPF app that was written using the ModernUI framework. I'm wondering what versions of the .NET Framework does the ModernUI support?
The ModernUI assemblies target .NET Framework 4.5 which means that the library is compatible with any version equal to or larger than 4.5.
You can confirm this by looking at the <TargetFrameworkVersion> elements in the .csproj files on GitHub:
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>

How to include a visual c++ .lib in Silverlight

It is possible to include a visual c++ 2005 .lib in a Silverlight project?
I wrote an ActiveX that includes a library written in visual c++ 2005, and now I want create a Silverlight plugin for cross-browser portability.
Unfortunately the only managed runtimes supported by silverlight is c# and Vb.net so no c++ :-(.
Silverlight will however support PInvoke in version 5 but there are some tricks to it that might not fit with your usecase. It does however require elevated trust.
Probably not, Silverlight is very limited. But with the release of Silverlight 5 there seems to be support for PInvoke.
http://www.microsoft.com/silverlight/future/ Quite a bit down on the page.
Silverlight 5 is released later this year.

WPF embed .net libraries into exe file

Is it possible to embed all .net dependencies to the final exe file because I want it to run on every windows machine even without preinstalled .net?
Use ClickOnce, and setup the dependencies, so that it installs the prerequisited .Net framework.
ClickOnce is good for dealing with the deployment of your application.
To embed all .net dependencies you can use ILMerge or, even better, this approach by Jeffrey Richter (which is recommended from inside the ILMerge website too).
I am not sure about the lagality of this but you can possibly use reflection to get the code from the parts of the .NET framework which you are using and re-create them as your own classes. Then use those classes when building your application.
Edit: I am not sure that you can reflect the entire .net framework though.

Ironpython 2.6.1 on Silverlight 4

I am trying to integrate IronPython in my Silverlight application but am unable to do so. After downloading the binaries, every time I try to add the dlls as references in my VS2010 solution all I get is an error about them not being compiled for Silverlight. I have even tried downloading the source distribution, but cannot set the various projects making up the solution to build against Silverlight (the only choices I have are different versions of the .net framework).
As the IronPython website explicitly states Silverlight compatibility, why is it not working? Is there any easier way of getting scripting capabilities in my Silverlight app?
You have to use binaries from IronPython-2.6.1\Silverlight\bin folder in Silverlight.

Resources