Dotfuscator for Silverlight Application - silverlight-5.0

Visual Studio version = Visual studio 2010 premium
as we all know silverlight application generate .XAP file if we change extension to .ZIP we can get all dlls which is use in Application and Application Dll also if we use reflector and disassemble the dlls file user can get the code . i want to protect this kind of stuf.
can we put Dotfuscator in between the process of build and generate xap file
Build (generate dlls) -> Dotfuscator -> generating XAP file

The best way to obfuscate Silverlight applications is to build the XAP package and then run Dotfuscator on the XAP file itself(ie, use the stand-alone GUI and add the XAP file to a new project). Note that this requires Dotfuscator Professional Edition.

Related

Debug a C++ DLL used in ASP MVC application

I have a C++ DLL in bin folder of my ASP MVC5 web application project. (I have copied and pasted it from the original C++ project as I was unable to add a reference) I am able to call some of the functions of the DLL(used DLLImport). I have a problem in one of the functions. This can only be solved when I will be able to step into the code of the C++ DLL. I also have the code of the C++ project (built using Cmake).
How do I reach the C++ code while debugging from my web application code. If I use F11 I should be able to reach the C++ code.
Debug a C++ DLL used in ASP MVC application
1) First, make sure that make sure that the DLL you are referring to has a PDB file or other output file in its folder.
You should open the c++ project in VS IDE and then make sure that you built it with Debug and x64 mode. If so, build it again.
Then in c# web project, use DLLImport to reference the xxx.dll in the output Debug folder which exists pdb and other whole files.
2) Second, go to Tools --> Options --> Projects and Solutions --> Web Projects --> Use the 64 bit version of IIS Express.
3) Third, if you debug a net core web project, please right-click on the project--> Properties-->Debug-->check Enable native Code Debugging.
If you debug a net framework web project, please right-click on the project--> Properties-->Web-->check Native Code.
4) Fourth, then close VS Instance, delete the bin and obj folder of the asp.net core project, then restart your web project and test again.
In addition, you can check this document Debug C# and C++ in the same debugging session.
Update 1
Due to the error, I think you should change to set IIS to x64 since you use x64 native dll. Right-click on your project-->Properties--> Web-->change IIS bitness to x64.

How to use Chromium Embedded Framework with Visual Studio 2017 (C++)?

I would like to use CEF with VS 2017 using C++ (not C#, so CEFSharp won't work here). I can't quite understand how to do this. From what I have read, it seems like I need to build the source into a .sln file and then modify the existing code, however their site also says there are binaries available to download, which is confusing me.
How do I program in C++ using CEF and VS 2017?
Download CEF3 binaries, and extract archive to folder
Download and install CMake
Open CMake, and set:
Where is the source code: folder
Where to build the binaries: folder/build
Press Configure
Press Generate
Open solution in folder/build/cef.sln
Build Debug/Release
Reference in your project folder/build/libcef_dll_wrapper/[Debug|Release]/libcef_dll_wrapper.lib
Copy files to your bin folder:
folder/[Debug|Release]
folder/Resources

Using visual c++ tools for windows desktop with installer

I used these tools to allow me to build a C++ project that was part of an expert system tutorial (CLIPSCLRWrapper), and that worked fine. My question is how do I include the dependencies in an installation of my final executable so that it can be installed on a clean system, without Visual Studio?
I'm using the above wrapper DLL in a C# Windows forms application, then making an installer for the resulting executable, but it seems to be missing some dependencies when I install on another PC without Visual Studio. How can I discover which dependencies are missing that are provided by the tools for windows desktop, and how do I add them to my installer?
Dependencies can be added to the installer, by adding them to "Application Folder". First, open "File System" of the installer, then you will find sub folders one of them called "Application Folder". Inside the "Application Folder", you could put all the application dependencies.
Good luck

Include installers as part of C++ utility in visual studio 6

I am developing a Windows C++ utility using MFC Framework in Visual Studio 6.0(Need to have this combination because of some internal requirements).
My utility installs some softwares, and then configure them from registry. Hence I need to bundle the dependent installer files along with my executable. How can I bundle them all together, so that we can provide an executable to our users which will include all required installer files along with the utility.
PS: I am new to Visual Studio Development environment.
If you just want to create an installer use something like InnoSetup to create a single EXE that can deploy multiple files.

generated MSM file

I am trying to create a Windows installer solution with Visual Studio. In the release, it has generated a MSM file which is not recognised by Windows. How can I use that file extention to see the release of the Windows installer.
Use the correct project type for your tool. .MSM is like LIB/DLL (LIB really) and .MSI is like EXE. Most tools don't allow you to switch back and forth like a C#/VB.NET project does. You have to create a new project and select the right type.