Upgrade project's compact framework version in VsPackage RRS feed

  • Question

  • Hi,

    I am working on a VsPackage for VS2008. In this package, I am trying to upgrade an existing CF2.0 project to CF3.5. I have tried setting the following two project properties through automation:

    prj.Properties.Item("SDEProjectExtender.NETCFVersion").Value = "v3.5";
    prj.Properties.Item("TargetFramework").Value = "196613";

    Setting any of the above two properties throws exception. FYI: I have my project already loaded in the solution when I am doing this.

    Is there any way of upgrading the CF version of a project either through automation or through managed package framework?

    Thursday, November 11, 2010 4:59 PM

All replies

  • Hi Shankar,


    Can you provide more information on what your package is trying to accomplish?  Also, what are the exceptions you are seeing when you use this code?

    Carl Brochu, Visual Studio
    Tuesday, July 5, 2011 4:21 PM