Search This Blog

Friday, February 26, 2010

Fixing a reverted Visual Studio 2010 Beta 2 from Visual Studio 2010 RC

As mentioned in the previous post: “Issues when developing with Visual Studio 2010 RC and SharePoint 2010 Beta 2” the process was not as smooth nor as polished as it was expected.

While the uninstall and re-installation process was easy enough, there were some items left behind. After spending a considerable amount of time and though thinking what the issue at hand could be the solution ended up being answered with the following questions:

  • What was the version of the Framework that was removed?

  • Where was that Framework installed to?

That said, the numbers of the RC version are: 4.0.30128 and they were installed to \Windows\Microsoft.Net\Framework64\. It would not hurt to check the other folder to ensure that everything is back to normal ( \Windows\Microsoft.Net\Framework\ ).

The solution is

  • Navigate to \Windows\Microsoft.net\Framework64\ folder
  • Check if there is a folder prefixed “v4.0.” asides from “v4.0.21006
  • Prefix any folders that begin with “v4.0” with “Old” , in this example it was : “Oldv4.0.30128

Once this is accomplished, the errors disappeared immediately even while the Visual Studio 2010 Beta 2 instance was still open.

Hope this helps others as much as it did help me getting back into developing with Visual Studio 2010 Beta 2, not to mention avoiding the rebuild of the entire Virtual machine.

Tuesday, February 23, 2010

Issues when developing with Visual Studio 2010 RC and SharePoint 2010 Beta 2

Recently, since development with SharePoint 2010 Beta 2 had been going so well; decided to jump into installing Visual Studio 2010 RC.

Followed the common steps:

  • Uninstall Visual Studio 2010 Beta 2
  • Uninstall .Net Framework 4 Extended Beta 2
  • Uninstall .Net Framework 4 Client Profile Beta 2
  • Install .Net Framework 4 RC
  • Install .Net Framework 4 RC Client Profile
  • Install Visual Studio 2010 RC

Immediately assumed that SharePoint 2010 Beta 2 and Visual Studio 2010 RC would get along well and for the most part they did.

While in the IDE was able to perform pretty much all the necessary tasks a developer does:

  • Add and Configure Controls
  • Add References
  • Configure Project Settings
  • Build

The issue would arise when attempting to Debug or Run the application:

Capture 

The error is caused because the Frameworks are not the same, in other words to develop solutions with Visual Studio 2010 RC and SharePoint 2010 you must have also SharePoint 2010 RC. At the moment of this posting SharePoint 2010 RC is only available to selected partners.

The solution or so I thought was to revert back to:

  • .Net Framework 4 Extended Beta 2
  • .Net Framework 4 Client Profile Beta 2
  • Visual Studio 2010 Beta 2
  •  

    After reverting completely to a complete set of Visual Studio and .Net Framework Beta 2, was still receiving errors.

    That’s the price you pay for being on the bleeding edge, right?

    It has been a frustrating experience, but in the end I found a solution.

    Will post it on soon; stay tuned!

    Saturday, February 13, 2010

    Determining the current SharePoint Level








    Like many other fellow SharePointers, I have found myself looking more than once for a list of the Versions detailing which level of SharePoint a SharePoint implementation is currently situated at.
    Initially, I started with the links mentioned in my previous post December 2009 Cumulative Updates. Since, I have had the need for a list like the previously mentioned with the latest updates decided to compile an list of my own. Once I had it completed thought it could be useful for the SharePoint community.
    Updates:
    12.0.0.6036
    August 24, 07 hotfix
    12.0.0.6039
    October Public Update
    12.0.0.6219
    Service Pack 1
    12.0.0.6300
    Post-SP1 Hotfix (KB941422)
    12.0.0.6301
    Post-SP1 Hotfix (KB941274)
    12.0.0.6303
    Post-SP1 Hotfix (KB9418945)
    12.0.0.6318
    Infrastructure Update
    (KB951695 & KB951297)
    12.0.0.6327
    August 08 Cumulative Update
    (KB956056 & KB956057)
    12.0.0.6331
    October 08 Cumulative Update
    ( KB957691 + KB957693, KB958567 and KB958569 )
    12.0.0.6335
    December 08 Cumulative Update
    ( KB960010 + KB960011 )
    12.0.0.6341
    February 09 Cumulative Update
    ( KB961755 + KB961756 )
    12.0.0.6421
    Service Pack 2 ( KB953338 + KB953334 )
    12.0.0.6504
    Service Pack 2 + April 09 Cumulative Update
    ( KB968850 + KB968851 )
    12.0.0.6510
    Service Pack 2 + June 09 Cumulative Update
    ( KB971538 + KB971537 )
    12.0.0.6520
    Service Pack 2 + October 09 Cumulative Update
    ( KB974988 + KB974989 )
    12.0.0.6524
    Service Pack 2 + December 09 Cumulative Update
    ( KB977027 + KB977026 )
    12.0.0.6529
    Service Pack 2 + February 2010 Cumulative Update
    ( KB978396 + KB978395 )
    12.0.0.6535
    Service Pack 2 + April 2010 Cumulative Update
    ( KB981043 )
    12.0.0.6539
    Service Pack 2 + June 2010 Cumulative Update
    ( KB 983311 + KB983310 )
    14.0.4536.1000
    SharePoint 2010 Beta 2

     * Update: Added April 2010 Cumulative Update
    Since its completion, it has become very useful to me.