How to obfuscate Windows phone 7 code?Have any tools for it?
Why are you separating this from C#/ Silverlight ? aren't windows phone application written in C#/ Silverlight? , it doesn't matter whether you're writing this for windows phone or for a C# console/Windows forms Application.
There're some tools you can use them for general C#:
Aldaray
XHEO
Semantic Designs C# obfuscator
And these are some .NET assemblies FREE obfuscators:
Freeware .NET Obfuscator Skater Light Edition 1.0
.NET Confuser
Babel .NET
Related
I develop a windows phone 8 app written in visual basic. I want to integrate the Nokia Imaging SDk into my app. Is the SDK available for visual basic or only for C#???
All .NET applications, be it C# or VB.NET or whichever language, are compiled in the same intermediary language, called CIL. Basically, if the SDK works with a C# app, it will work with a VB.NET app.
I have a windows 8 metro game (using monogame) that i developed and plan to submit to windows 8 app store and i wish to obfuscate it. How can i do it? Will obfuscation cause runtime errors?
We use Crypto Obfuscator. It has a very decent GUI, a great support team, and most importantly both Visual Studio integration and support for Obfuscating Windows 8 Store apps.
You can try Manco .NET Obfuscator. Version 4.5 supports obfuscating of the .NET Windows 8 Store applications.
Check the babel obfuscator.
The obfuscator usually "just" makes your code unreadable, alone it won't cause any runtime exceptions but if some occurs (due to an app problem) you probably won't be able to track the error (because everything is obfuscated).
PS: Google is our friend
We have built an app with Visual Studio 2012 and it runs beautifully on any Windows 7 or Vista machine, 32 or 64 bit. However, when I try to run the app on an Win XP machine, I get this:
**
Prerequisite check for system component Microsoft .NET Framework 4.5
(x86 and x64) failed with the following error message:
"Installation of the Microsoft .NET Framework 4.5 is not supported on
this operating system. Contact your application vendor."
**
And then of course, when I try to install .NET 4.5 on the Win XP machine, I find out it's not supported.
At this point, I'm just wanting to know what can be done to get this app to run on Win XP. It's a calculator application written in visual basic.
Thanks Guys!
.Net framework 4.5 is not supported in Windows XP. If you're not using any .Net 4.5 features you can rebuild your app using .Net Framework 4 (In the Project properties).
I always hate these kind of answers, but a quick google search indicates that you can't get .net 4.5 to run on Windows XP.
IF you really really need your application to run, you can always use earlier versions of the framework
you can do this by
Right click on your project and go to
properties
application
target framework
and change that to something elxe
Can you make me clear which delevoper platform I can use for delevop Apps for Windows RT (not full Windows 8!). Are some projects templates in Visual Studio which are allowed me to use only WinRt without .NEt during my development on c# and xaml.
The Visual C#/VB/C++/JS|Windows Store app templates (Blank App, Grid App, Split App) are for apps that will run on Windows RT and any other Windows 8. You can use .NET on Windows RT, but if you don't want to - you can also use C++ or JavaScript. Note that Windows RT is the SKU of Windows that runs on ARM tablets, while WinRT or Windows Runtime is the new generation development platform for Windows. Also note, that while most parts of Windows Runtime can be used only by Windows Store apps, some can be used by both Windows Store and Desktop apps, some can only be used by desktop apps and I think some parts of the old WinAPI/Win32 might be accessible to Windows Store apps too. MSDN documentation states which APIs apply to which types of applications.
You can use Visual Studio 2012 Express for Windows 8.0.
More info on msdn.
The project templates are available under Windows Store category under Visual C# in New Project in Visual Studio.
.NET 4.5 is an in-place-upgrade and therefore replaces .NET 4.0. Consequently when I install .NET 4.5 with Visual Studio 2012 I can no longer develop applications for .NET 4.0.
As .NET 4.5 is not supported under Windows XP, how can I maintain my existing .NET 4.0 applications which still have to run under Windows XP after I installed Visual Studio 2012?
Until now I could always devlop .NET applications for every version, even .NET 1.1, as long as VS2003 was installed. I don't have a problem with Microsoft not supporting .NET 4.5 on XP, I think it's allright to cut off old stuff.
But as we have still customers using Windows XP, we need to be able to create .NET 4.0 programs at the same time as .NET 4.5.
EDIT:
I just had my first incompatibility issue: I installed VS 2012 on a Windows Server 2012. I created a project targeting .NET 4.0. In blend 4.0 I create a copy of a control template of a checkbox. The generated template contains references on colors which are available only under .NET 4.5. The solution cannot be compiled any longer. However the same case works fine on my Windows 7 installation.
I assume that the installation of .NET 4.5 has replaced the control templates for my standard controls. Therefore I cannot create copies any longer.
Ironically, it seems Mono supports much of the .NET 4.5 functionality, and that it can be installed on Windows XP.
If your need C# 5.0's async and your client refuses to upgrade it's OS, this can be an option.
I have run into some serious issues developing .NET programs for 4.0 against computers with 4.5 installed. One issue, for instance, is that if you are doing WPF development and have a private setter on a property - if you're binding to that property with Mode=TwoWay, you will not get an exception if you're developing against .NET 4.5! You should get an exception and you will if you're in an environment with only .NET 4.0 installed (even though you're developing to target 4.0 in Visual Studio). Now obviously you should not have Mode=TwoWay and a private setter, but maybe you had originally intended for the property to be only OneWay. The point is that this is just one of many examples of issues that are simply swept under the rug by 4.5 and has caused me to go back to developing in Windows 7 with Visual Studio 2010 and .NET 4.0 for anything targeting .NET 4.0.
In the meantime I have found a great blog of Scot Hanselman which answers my concerns: http://www.hanselman.com/blog/NETVersioningAndMultiTargetingNET45IsAnInplaceUpgradeToNET40.aspx
.NET 4.5 is an in-place-upgrade and replaces the .NET 4.0 CLR, but it will still be possible to create .NET 4.0 applications with Visual Studio 2012.
EDIT: I now installed the final release of VS2012. My existing .NET 4.0 projects compile and run, no problems so far. The only drawback is, it doesn't support Windows Installer Projects any longer. You can switch forward and backward between VS2010 and VS2012.
BIG EDIT: We should wait until Microsoft announces the final decision, it's not clear yet, only conclusions.
But, I think that Microsoft won't drop support for XP and Vista that easy, it appears that the matter of decreasing support is just for speed-purposes to show it to the developers.
Also, if the it comes true and Microsoft Stopped the support for XP and Vista, then you have the virtual machine as an excellent choice!
Best wishes