Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6635925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:07:06+00:00 2026-05-25T23:07:06+00:00

I am using Visual Studio 2008 SP1 on Windows XP SP3 to develop some

  • 0

I am using Visual Studio 2008 SP1 on Windows XP SP3 to develop some .NET Compact Framework 3.5 SP1 solution for Windows CE 6.

I want to use SQL Server Compact 3.5 SP2 in my solution, however I notice something very strange with how Visual Studio treats assembly references.

I have installed both “SQL Server Compact 3.5 SP2 for Windows Desktop” (SSCERuntime_x86-ENU.msi) and “SQL Server Compact 3.5 SP2 for Windows Mobile” (SSCEDeviceRuntime-ENU.msi). The former puts two versions of the System.Data.SqlServerCE assembly and one version of the System.Data.SqlServerCe.Entity assembly into Windows XP’s GAC, while the latter does not seem to put any assembly into Windows XP’s GAC. Here already, it looks strange because GAC reports the versions of the two assemblies to be 3.5.1.0 and 3.5.0.0 for System.Data.SqlServerCE, and 3.5.1.0 for System.Data.SqlServerCE.Entity, whereas in the installation directories of SQL Server Compact 3.5 SP2 (“C:\Program Files\Microsoft SQL Server Compact Edition\v3.5” and “C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Desktop”), Windows Explorer reports both assemblies to be version 3.5.8080.0. Now I know that 3.5.0.0 is supposed to be for vanilla SQL Server Compact 3.5 (i.e. no SP) and 3.5.1.0 is supposed to be for SP1, not SP2. I did not install either vanilla or SP1, so why are they even there?

Furthermore, in Visual Studio 2008 SP1, when I try to add the System.Data.SqlServerCE assembly from the “C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices” directory, Visual Studio 2008 SP1 reports a version number of 3.5.1.0 in the Properties panel. This version number seems to be retrieved from the GAC’ed assembly, which shouldn’t even be for .NET Compact Framework. The real version number in “C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Devices” is supposed to be 3.5.8080.0, again.

I know that it is possible to use private deployment, as described at http://msdn.microsoft.com/en-us/library/gg213826.aspx, but I’m still bothered by the fact that Visual Studio seems to be referencing the wrong platform-version of the assembly altogether when I don’t specifically resort to private deployment.

Maybe I just don’t understand how Visual Studio works in conjunction with GAC. Can somebody enlighten me? Is there a way to “fix” this without resorting to private deployment?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:07:07+00:00Added an answer on May 25, 2026 at 11:07 pm

    The File Version is 3.5.8080.0.

    The Assembly Version is 3.5.1.0.

    You can confirm this by opening the properties of the file in Explorer, and switching to the “Version” tab (well, you can for the Desktop files which also report themselves as 3.5.8080.0, but are in fact 3.5.1.0. You can’t for the Devices files, but the same explanation applies)


    Visual Studio doesn’t interact with the GAC at all when it comes to referencing assemblies (in fact, see the related question Why does the .NET tab in the ‘Add Reference’ dialog in Visual Studio not list the contents of the GAC?)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Watermarked Textbox for Compact Framework Using Visual Studio 2008 SP1, the latest
I am using Visual Studio 2008 SP1 with .NET Framework sp1. I am not
I'm using Windows Vista Ultimate and today I've installed the Visual Studio 2008 SP1,
I'm using Visual Studio 2008 SP1 on .NET 3.5 SP1 on Vista Any time
I'm using Visual Studio 2008 SP1 in VB.NET, when I type ''' above a
I am attempting to build Chromium for windows (using Visual Studio 2008 SP1) and
I am using MySql .net connector 6.3.6 and Visual Studio 2008 sp1. One of
Using Visual Studio 2008 I've built a COM object that targets the .Net Framework
Environment Visual Studio 2008 SP1 Visual C# WPF Application Project .NET Framework 3.5 Problem
I am using Visual Studio 2008 SP1 (version 9.0.30729.1). My problem is that the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.