Results 1 to 3 of 3

Thread: [RESOLVED] Changing the target framework

  1. #1

    Thread Starter
    Frenzied Member FishGuy's Avatar
    Join Date
    Mar 2005
    Location
    Bradford UK
    Posts
    1,708

    Resolved [RESOLVED] Changing the target framework

    Hi,

    I developed an app using the .net framework 3.5 sp1. I have now been told that the published version must not require sp1 but just the 3.5 framework.

    So I uninstalled sp1 from my pc but not cannot publish the app. The app code will run without error but when I build it for publishing I get the error

    The "RequiresFramework35SP1Assembly" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\WINDOWS\Microsoft.NET\Framework\v3.5" directory.

  2. #2

    Thread Starter
    Frenzied Member FishGuy's Avatar
    Join Date
    Mar 2005
    Location
    Bradford UK
    Posts
    1,708

    Re: Changing the target framework

    Im now removing VS SP1 from my machine to see if that will resolve the error in build. How does it know to look for SP1?

  3. #3

    Thread Starter
    Frenzied Member FishGuy's Avatar
    Join Date
    Mar 2005
    Location
    Bradford UK
    Posts
    1,708

    Re: Changing the target framework

    OK that resolved my issue.

    Then I just had to remove some references in my code to assemblies not in the older framework.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width