locked
Building in .NET 2.0 Framework after in Framework 3.x RRS feed

  • Question

  • I originally developed my Outlook addin application in VS 2005 for .NET 2.0. I opened my solution in VS 2008 and went through the necessary conversion changes and my application worked fine. I realized that VS 2008 automatically was building my code for .NET 3.5 and I decided to build for .NET 2.0 and I always recieve this error:

     

    "EntryPoint not specified for manifest targeting Framework version 'v2.0'. Please specify an EntryPoint or set a TargetFrameworkVersion of v3.5 or higher."

     

    I do get this messages from MS Help:

    Make sure that you specify valid entry points in your manifests. For an application manifest, a valid entry point is an .exe file. For a deployment manifest, a valid entry point is an application manifest.

     

    However that doesn't help me much because I am not sure where I specify this and I cannot see anything different in my project properties.

     

    Thanks in advanced

    Monday, November 5, 2007 8:51 AM

All replies

  •  

     

    After checking in all my project items, I noticed that during the build in VS 2008, VS wants to edit my project properties to sign the ClickOnce manifest. I forced VS not to edit any files by canceling any checkouts during build and this is the new error that I get:

     

    Cannot build because the ClickOnce manifest signing option is not selected. To select this option, open the project property pages, click the Signing tab, and then select "Sign the ClickOnce manifests."

     

    It seems that I am forced to build with ClickOnce manifests signed and when it does build with that, I receive the previous post's 'EntryPoint' error.

    Monday, November 5, 2007 9:17 AM
  • I've moved this thread to the VSTO forum.

     

    -David

    Friday, November 9, 2007 10:37 PM
  • .NET 3.5 is a requirement to use the new ClickOnce publishing and deployment options in VS2008.  the ClickOnce publishing and deployment feature is only applicable to the 2007 Microsoft Office system. If you do choose to use ClickOnce, manifests must be signed with a certificate. For more information about ClickOnce deployment, see http://msdn2.microsoft.com/en-us/library/bb386179(VS.90).aspx

     

    If you choose to use .NET 2.0 with VS2008, you can only develop for Office 2003. 

     

    m.

    Thursday, November 15, 2007 8:13 PM
  • Did u manage to get a solution. I am facing a similar problem. My email id is rajendrashetty@yahoo.com
    Wednesday, February 23, 2011 12:30 PM
  • I understand Mary. But I have a requirement where I have to develop a plug-in which should run on Outlook 2003
    Wednesday, February 23, 2011 12:31 PM