I have a project that I made with VS 2008, and I need it to use the 2.0 Framework and not the 3.5 Framework because they company hasn't moved to a newer Framework yet. I already have a setup project with it, I just need to know how to roll back the Framework. I have already gone to the setup properties and made sure 3.5 wasn't a prereq. I have also gone to the solution properties, then application, and made sure that the target framework is set to 2.0, but it seems to still be compiling and debugging with the 3.5 framework. What else do I need to do?
mypicturefaded
-2
Light Poster
Recommended Answers
Jump to PostIf you do that, you're applications supposed to run on .NET framework 2, did you do that? with all application references??
Jump to PostExcuse me, how could you know it's compiling on 3.5 ? did you try to run this application on machine JUST HAS 2.0??
Installation project is 2.0 or 3.5?
Jump to PostI don't have solution else open the downgraded project on VS 2005 then add new project (Setup wizard project) there on it.
But did you answer my questions
Excuse me, how could you know it's compiling on 3.5 ? did you try to run this application on machine JUST …
Jump to PostHere is my output from compiling a 2.0 project:
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702 /nostdlib- /errorreport:prompt /warn:4 /baseaddress:285212672 /define:DEBUG;TRACE /main:WnProg.Program /reference:DLL\ApexLibrary.dll /reference:DLL\AxInterop.AcroPDFLib.dll /reference:bin\Debug\ChilkatDotNet2.dll ....
You should be OK.
All 13 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
mypicturefaded
-2
Light Poster
Ramy Mahrous
401
Postaholic
Featured Poster
mypicturefaded
-2
Light Poster
Ramy Mahrous
401
Postaholic
Featured Poster
mypicturefaded
-2
Light Poster
Ramy Mahrous
401
Postaholic
Featured Poster
mypicturefaded
commented:
Here is some rep! Thanks for the help today!
+1
sknake
1,622
Senior Poster
Featured Poster
mypicturefaded
commented:
Thanks for the help! Here is some rep!
+1
mypicturefaded
-2
Light Poster
Ramy Mahrous
401
Postaholic
Featured Poster
mypicturefaded
-2
Light Poster
sknake
1,622
Senior Poster
Featured Poster
mypicturefaded
-2
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.