Logo Home   Help   
Icon
Steen Molberg's Blog
Good clean family entertainment you can trust...
 
 
 (Hidden) ToolPane Manager
There are no more meeting occurrences to select from.
 Welcome...
 Steen Molberg

Being a Sharepoint-geek I just had to do my blog on Sharepoint, but I’m also doing .NET (VB & C#), Outlook, MS Access, InfoPath, SQL Server, Exchange Eventsinks. Please enjoy…




 Blog
| | |  
63 posts|160 comments 
WSS2 WebParts compiled with framework 1.1 on VS20057/4/2006 01:50:14 PM
by Steen MolbergComments(4)

I just prepared my new Dell Latitude D820 (and what a fine machine it is!! Woww!!) and I really wanted to avoid installing the VS2003 and move full time to VS2005 witch is a much nicer and more powerful environment.

In the past I have stumbled over this post from Carlos Segura Sanz, who created a WSS2 F1.1 WebPart Project Template for VS2005. Great work! I used the information from this post to find out how I could  move my VS2003 projects to the VS2005-platform. I puzzled around a bit with this and it turned out to be quite simple, so I thought I post the steps here for your convenience:

1.
Install VS2005
2.
Install .NET Framework 1.1 SDK
3.
Install MsBee.
4.
Open your F1.1 Vs2003 solution with VS2005. The conversion wizard appears.
5.
Let the wizard do it’s thing. Don’t worry, it will make a backup before conversion. Be careful that no file are locked by VSS or something like that.
6.
After the conversion, witch should run without errors, close the solution.
7.
Now go to the folder and subfolder holding your solution, and locate the “.csproj”-file(s) (the C# projectfiles), and open this or these with notepad.
8.
Locate the following line:
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
9.
Paste in the following line in right after the above:
<Import Project="$(MSBuildExtensionsPath)\MSBee\MSBuildExtras.Fx1_1.CSharp.targets" />
10.
Save and close the file and reopen the solution with VS2005. Now you should be able to compile your solution with 1.1 Framework.

Hope this helps somebody.

Categories: Sharepoint | .NET

comment by sheema4/1/2009 02:24:16 AM
could you give me another link for Msbee? i could download the file. please help . thanks

comment by csegura8/24/2006 12:02:45 AM
;-) Thnx.

comment by Robin7/20/2006 01:48:24 PM
btw I found out that when you are using webservices in your webpart and have referenced these. The conversion will also convert the reference.cs file that belongs to each webservice reference.
When you compile the solution you get errors in these reference.cs files. Best thing to do is copy the original file back.

During the conversion all the classes are made partial. And the 1.1 framework cannot handle these classes.

comment by Robin7/5/2006 03:57:07 PM
Ah just what I was looking for ! Thnx!

Submit comment
Name:
URL:
Comment:
 
Please note that all comments and trackbacks is subject to approval before they are visible to the public.
Get The Blogparts!!!
Version 1.2
Download setup and instructions!!!

Warning!!! for Windows SharePoint Services 2.0 only!!!

TitleCommentUrl
Re:Blogpart News 9: Version 1.2 out now!!!Barbera del monferrato
Re:Blogpart News 9: Version 1.2 out now!!!NIMS
Re:Blogpart News 9: Version 1.2 out now!!!SEO
Re:Blogpart News 9: Version 1.2 out now!!!pdf stock
Re:Release of The Blogparts 1.1pdfsource
Expand/Collapse Category : Articles ‎(3)
  Creating an Online RSS News Aggregator with ASP.NET
  Customizing SharePoint Sites and Portals: Style Sheet Class Reference Tables
  Processing InfoPath Data in SharePoint Libraries

Expand/Collapse Category : Blogpart Blogs ‎(5)
  B@rney's Blog
  Holger Sattler
  Mike Thompson
  Rico Hansen
  Surfin With Stan

Expand/Collapse Category : Other ‎(4)
  All About Blogs and RSS
  Regular-Expressions.info
  SharePoint Products and Technologies Community
  Sharepoint SDK

Expand/Collapse Category : Security Blogs ‎(1)
  Jess Nielsen

Expand/Collapse Category : Sharepoint Blogs ‎(27)
  Alexander
  Berry Schreuder
  Bil Simser (Fear and Loathing)
  Bjarne (B@rney's Blog)
  blog.ekegren (Michael Ekegren)
  Bob Mixon
  Colin (Random Elements)
  Daniel Larson
  Jan Tielens
  Keith Richie (Microsoft)
  Kit Kai
  Mads Nissen
  Mark Bower
  Mark Harrison
  Mark Kruger
  Mart Muller
  Maurice Prather (Sharepoint Thoughts)
  Maxim V. Karpov
  Michael Greth
  Mike Fitzmaurice (Microsoft)
  Nigel Bridport
  Patrick Tisseghem
  Pedro Serrano
  Scott Howlett (Scott's musings...)
  Sharepoint Blogs (a hole lot)
  SharePoint Reporter (Aggregated SharePoint RSS Feeds)
  Stramit

Expand/Collapse Category : SQL Server ‎(1)
  SQL Server Central

Expand/Collapse Category : Tools ‎(6)
  AvePoint - Single document restore
  InfoTech - Copy from DocLib to DocLib
  Sharepoint Skin Designer (James Milne)
  STSADM for Windows
  Tools and Webparts for downloads (Mark Kruger)
  Web Part Templates for Microsoft Visual Studio .NET