1

I've made some crystal reports in Visual studios 2010 using .NET framework 4.0. Framework 4.0 demands SP3 on windows XP which does not suite to my client. Now I am forced to downgrade to Framework 3.5 and most probably using Visual Studios 2008.

Can someone Guide how this downgrade can be performed efficiently?

Tausif Khan
  • 2,178
  • 8
  • 38
  • 51

2 Answers2

0

I would stick with Visual Studio 2010 and use Project Properties Application Target Framework 3.5. If you are lucky there is not much to change besides removing the reference to Microsoft.CSharp...

weismat
  • 6,949
  • 3
  • 41
  • 56
  • I've done that but having the error "Could not load file or assembly 'System.Drawing, Version=4.0.0.0, Culture=neutral..." – Tausif Khan Jul 29 '11 at 11:54
  • And also, I've upgraded the project from VS 2008 to VS 2010. And currently there is no Microsoft.CSharp reference in the project – Tausif Khan Jul 29 '11 at 12:02
  • You need to add a reference to System.Drawing.dll. – weismat Jul 29 '11 at 12:17
  • If you are not sure where to find it, create a new Windows Forms App, downgrade it to 3.5 and check then the references - it will contain System.Drawing... – weismat Jul 29 '11 at 12:21
  • I've added the System.Drawing but the error still exists. is it due to crystal reports. May be the version stick to use .NET 4.0. in Resources.resx file, versions are still 4.0.0.0. – Tausif Khan Jul 29 '11 at 12:30
0

Check this question, it might help you:

c# change framework error

"You can try regenerating the file by right-clicking the .resx file and choosing 'Run Custom Tool' from the context menu."

Community
  • 1
  • 1
Răzvan Flavius Panda
  • 21,136
  • 15
  • 108
  • 159