[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
Quote:
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.
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?
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.