locked
.NET Framework 3.5 Client Profile WPF Files RRS feed

  • Question

  • Hi,

    I started to develop an application in C# with WPF.

    I searched for one week, how to embed necessary WPF libs in my .exe and every start of my app, that use .dlls form resources.

    Alright, to embed .dll in resources i found here: http://www.codeproject.com/Articles/528178/Load-DLL-From-Embedded-Resource

    Which are files and registry keys necessary for my project to work with WPF, because in client machine is installed .NET Framework 2.0 but I do not want to install full FW 3.5 Client Profile because contains other files that are not needed. http://blogs.msdn.com/b/bclteam/archive/2008/05/21/net-framework-client-profile-justin-van-patten.aspx

    I want to add only necessary files and registry keys in my WPF project.



    Thanks in advance.

    Andy.

    Tuesday, March 26, 2013 9:43 AM

Answers

  • You could probably use something like depends.exe to work out all the dependencies.

    Maybe merge them all in.

     

    It's a bad idea though.

    I strongly recommend you just install the client profile.

    • Proposed as answer by Lisa Zhu Wednesday, March 27, 2013 8:54 AM
    • Marked as answer by Lisa Zhu Monday, April 1, 2013 12:19 PM
    Tuesday, March 26, 2013 3:07 PM