Visual Studio Orcas and .NET 2.0

VS Orcas is available as a CTP install from Microsoft.com. I’ve been using it side by side VS 2005 on my laptop and haven’t had any issues in THIS environment, although I think it screwed up my workstation at NewsGator. (Don’t tell Lane.) The following applies to the March CTP.

WHY would I even THINK about using an MS Tool in CTP stages? Well… here’s the short list:

1. JavaScript intellisense for JS class libraries.

Well, I’m not sure of any other benefits– that one alone is worth it if you’re writing AJAX libraries in JavaScript! I’m sure there are a ton of new features for the Orcas framework (.NET 3.5), but I’m quite happy with the 2.0 framework these days– most of my professional coding has been in AJAX components, using my favorite web architecture pattern of JavaScript and HTML components that talk to a Web Services API (SOAP and REST). I suppose I could benefit from WCF, but ASMX (SOAP) is fine for my current needs. And LINQ is cool– but again, I have no need for it until it’s ready for production code, since my dev to production cycles are shorter than Microsoft’s.

So I repeat- IF you’re an AJAX developer writing object oriented JavaScript Code (and you SHOULD be!), VS Orcas is for you! If you’re writing "ASP.NET Classic" apps or just using the UpdatePanel (shame on you!), VS Orcas may be too bleeding edge for you.

So can you use VS Orcas against .NET 2.0 code? You bet! After loading a class library for the first time with VS Orcas, it will upgrade the .csproj file by adding just a few Xml elements. (It’s JUST Xml using the MSBUILD schema.) The csproj file will maintain compatibility with VS 2005– but you’ll need to edit the csproj file for compatibility with the 2.0 Framework.

Editing the CSPROJ File for .NET 2.0 Compatibility

To edit the CSPROJ file, right click it and select "Unload Project".

From their, choose "Edit CSPROJ file:"

 Next, edit the XML.

The root Project element, change the ToolsVersion from 3.5 to 2.0.

In the top PropertyGroup element, find the TargetFramework node. It should say:

<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> Just change it to <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>, and be sure to remove any 3.5 references such as <Reference Include="System.Core"> from the file. You may also need to change <RequiredTargetFramework>3.5</RequiredTargetFramework> to <RequiredTargetFramework>2.0</RequiredTargetFramework>.  

That’s it! When adding new classes, you may need to remove the references to System.Linq. Also, the solution files are NOT backwards-compatible, so you’ll need to keep a VS’05 version and a VS Orcas version.

With these tweaks, you can enjoy VS Orcas today using the 2.0 framework. If you’re slinging Atlas code, this may be worth it to you! Here’s an example of intellisense on the Litware.WikiControl, INCLUDING methods that it inherits from Litware.EditableControl:

With these steps, you should have no problem using VS Orcas side by side with VS 2005– but do it in an environment that isn’t your main dev box, or be prepared to un-hork your environment in case it gets horked! BTW– to get it installed, you’ll need to install .NET 3.5 "Greenbits", the .NET framework add-on for Orcas. It’s also LIKE 3.0– it’s not a NEW framework, just new toys on top of the 2.0 framework. (A really great approach that MS is taking!!!)

This entry was posted in ASP.NET. Bookmark the permalink.

5 Responses to Visual Studio Orcas and .NET 2.0

  1. Unknown says:

    lotro gold lord of the rings gold lord of the rings online gold lotro gold lord of the rings gold lord of the rings
    online gold Warhammer gold
    Warhammer online gold Warhammer money War gold War money Tabula Rasa Credit lotro gold lord of the rings gold lord of the rings online gold lord of the
    rings online gold lord of the rings
    gold Tabula Rasa Credit World of Warcraft gold PotBS Doubloon Pirates of the
    Burning Sea Doubloon PotBS Gold Pirates of the Burning Sea
    Gold lotro gold lord of the rings gold lord of the rings online gold Tabula Rasa Credit Warhammer gold Warhammer online gold PotBS Doubloon PotBS gold Pirates of the Burning Sea
    gold Pirates of the
    Burning Sea Doubloon

  2. Unknown says:

    ضحك,ليبيا,شباب ليبيا,احاديث نبوية,السيرة النبوية,برامج اسلامية,صوتيات اسلامية,خواطر,الشعر الشعبى,قصص,اللغات الاجنبية,تعلم الفرنسية,تعلم الانجليزية,الطب,تقنية الاسنان,كتب طبية,طب الاعشاب,اناقة وجمال,اناقة الرجال,الاسرة والمجتمع,الطبخات,اثاث وديكور,مقاطع كورة,الدوري الليبي,المصارعة,الكرة العربية,الكرة العالمية,الدوري الاسباني,الدوري الانجليزي,الدوري الايطالي,اخبار المشاهير,افلام اجنبية,مسلسلات اجنبية,تحميل افلام,افلام عربية,تحميل مسلسلات عربية,افلام كرتون,برامج,برامج الفيديو,اخبار التكنولوجيا,شبكات الحاسوب,تطوير المواقع,تطوير المنتديات,محادثة,صور,الفوتوشوب,برامج الفوتوشوب,التصميم,برامج الجوال,كليبات جوال,نغمات جوال,نغمات عربية,نغمات اسلامية,العاب الجوال,مسجات,الفضائيات,شفرات,كروت الساتلايت,الرسيفرات,خلفيات للجوال,نغمات اجنبية,برامج الجوال الجيل الثالث,ترحيب,games,مسجات ليبية مسجات رومانسية مسجات روعة مسجات حب مسجات عتاب مسجات جديدة مسجات ليبية رسائل رومانسية C.Ronaldo باب الحارة سنوات الضياع نكت youtubeمسلسل نور prison break 2 تحميل messi Kaka منتدى الكساد توم وجيري عدنان ولينا Youtube Download

  3. Unknown says:

    会社設立  ウエディング
    介護 結婚式 演出  ショッピング枠 現金化
       データ復元  釣り  RAID復旧 看護師 結婚指輪  オーク  お取り寄せグルメ  データ復旧  テレマーケティング  株式投資  釣具  RMT
     脱腸  横浜中華街

  4. Unknown says:

    東京 ホームページ制作  カーボンオフセット  出産祝い  自動車保険  育毛剤  鼻づまり  Bフレッツ  いびき  自動車保険 比較  フレッツ  腰痛  お見合いパーティー   フレッツ 光

  5. Unknown says:

    東京/大阪のクリエイター育成専門の学校 バンタンデザイン研究所。大阪 専門学校ファッションや美容の専門の学校です. 大阪 専門学校デザインスクール最大級の超複合型イベント

Leave a comment