shariq_khan
shariq_khan

Reputation: 681

how to fix visual studio warning

i have made a app in visual studio 2010 ultimate the problem i am facing is when i publish my app then it is genrating some warning which is this

Warning 1   One of the following items 'Microsoft .NET Framework 4 (x86 and x64)
, .NET Framework 3.5 SP1' is required by 'SQL Server 2008 Express',
 but none were included.    WindowsFormsApplication1

i know there is some problem which will i face as i seen my app it is working fine but some feature related to sql server it is not working. how can i fix this warning? i have gone through MSDN but there is no solution i got, i have unistalled visual studio and reinstalled it but the same problem i am facing

Upvotes: 2

Views: 3454

Answers (3)

David Phillips
David Phillips

Reputation: 86

In Visual Studio go to Project.. Properties.. Publish. Click on Prerequisites. If you have installed the Client Profile then turn on the Client Profile and turn off then one that is not installed.

Upvotes: 3

Soner Gönül
Soner Gönül

Reputation: 98810

From this Microsoft® SQL Server® 2008 Express page;

Instructions

Step 1: Download and install Microsoft .Net Framework 3.5 SP1.

Step 2: Download and install Windows Installer 4.5.

Step 3: Download SQL Server 2008 Express by clicking the appropriate link later on this page. To start the installation immediately, click Run. To install SQL Server Express at a later time, click Save.

You need to download first .NET Framework 3.5 SP1 before using SQL Server 2008 Express.

Upvotes: 1

You have to check on your Customer's PC if .net-Framework is in the required Version installed.

http://support.microsoft.com/kb/318785

Probably Service Pack 1 is missing...

Upvotes: 0

Related Questions