Advertisement

04.23.2008 at 01:18AM PDT, ID: 23345706
[x]
Attachment Details

Project does not compile to the selected Framework !

Asked by Contestoas in Visual Studio 2008, Microsoft Visual Basic.Net, Microsoft Visual C#.Net

Tags: C#, VB.NET, Visual Studio 2008

Hi
When I  create a new project in VS 2008, I select .NET Framework 2.0.
But when I compile it I see that it is compiled to .NET Framework 3.5 ! I have checked the Project Properties and it it set to .NET Framework 2.0.
The thing is that when I create a Setup & Deployment project for this application I see that in the Setup Properties - Prerequisites... the .NET Framework 3.5 is checked. I uncheck this and create the setup. When the user tries to install the setup, it asks for .NET Framwork 3.5 !!
HELP !!!

Peter

Here's the compile output :
----- Rebuild All started: Project: WindowsFormsApplication3, Configuration: Debug Any CPU ------
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\WindowsFormsApplication3.exe /resource:obj\Debug\WindowsFormsApplication3.Properties.Resources.resources /target:winexe Form1.cs Form1.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs
Start Free Trial
[+][-]04.23.2008 at 10:07AM PDT, ID: 21422939

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio 2008, Microsoft Visual Basic.Net, Microsoft Visual C#.Net
Tags: C#, VB.NET, Visual Studio 2008
Sign Up Now!
Solution Provided By: icr
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628