Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 4759 |  Welcome, Guest!   Register  Login
 Home > Blogs > WCF > Portable Class Library in .NET 4.0/4.5 ...
Amitkpatel

Portable Class Library in .NET 4.0/4.5

 Blog author: Amitkpatel | Posted on: 6/25/2012 | Category: WCF Blogs | Views: 738 | Status: [Member] | Points: 75 | Alert Moderator   


Introduction:  Few days back I was working windows phone application as usual I created class library project for keeping separate business login. But I realize we cannot add as a reference normal class library in the Windows Phone 7 Application.

Purpose: The Portable Class Library project enables you to write and build managed assemblies that work on more than one .NET Framework platform. You can create classes that contain code you wish to share across many projects, such as shared business logic, and then reference those classes from different types of projects more.

To install the Portable Class Library in your machine you can use. Visual Studio 2010, save the download file (PortableLibraryTools.exe) on your computer, and run the installation program from a Command Prompt window. Include the /buildmachine switch on the command line.

Following Assemblies are used for Portable Class Library.
·         mscorlib.dll
·         System.dll
·         System.Core.dll
·         System.Xml.dll
·         System.ComponentModel.Composition.dll
·         System.Net.dll
·         System.Runtime.Serialization.dll
·         System.ServiceModel.dll
·         System.Xml.Serialization.dll
·         System.Windows.dll (from Silverlight)

Steps to create Portable Class Library in Visual Studio 2011.

Step 1: Create a new project and choose Portable Class Library.

Step 2:  Now go to project properties and select library tab and click on the change button, you will see 
Change Target Framework Dialog box there you can select framework for your library.




Reference from



Amit Kumar Patel
http://blog.iquestionanswer.co.in
http://www.iquestionanswer.co.in
Found interesting? Add this to:


About Amit Patel

Experience:8 year(s)
Home page:http://www.dotnetchuks.com
Member since:Friday, June 22, 2012
Level:Starter
Status: [Member]
Biography:I am Amit Patel, I have 8yrs of experiences in Microsoft technologies. I am very much passionate about Web technology. My core skill is ASP.NET, WCF, C#, JQuery and CSS
>> Write Response - Respond to this post and get points

More Blogs

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/18/2013 1:54:28 AM