Profile

Cover photo
Oren Novotny
Works at BlueMetal Architects
Attended Case Western Reserve University
Lives in New York, NY
44 followers|5,135 views
AboutPostsPhotosVideos

Stream

Oren Novotny

commented on a post on Blogger.
Shared publicly  - 
 
The only "gotcha" is that the NuSpec should also include a targets file that checks to see that any lib that references the PCL-lib also has the NuGet installed -- like the BCL NuGets do. Otherwise, people might forget to reference the NuGet in their actual app and won't get the "real" lib included.
Thursday Night 04 May 2014 on C#. The Bait and Switch PCL Trick. Some folks on Twitter were debating about how underpowered Portable Libaries are and how shared code is better. While I'm not going to get into this debate (pro-tip, they're wrong :P), not knowing how to "proxy" platform-specific ...
2
Daniel Plaisted's profile photo
 
The targets files to do that add a lot of extra complexity.  For PCL Storage, I just throw a NotImplementedException saying you need to reference the package from your app.

Eventually I'd like NuGet to handle this automatically, so you don't need to manually reference the package from your apps.
Add a comment...
Have him in circles
44 people
Matt Baxter-Reynolds's profile photo
Sayre Blades's profile photo
Shayne Boyer's profile photo
Christopher Shain's profile photo
Jane Beal's profile photo
barbara k's profile photo
Darren Oakey's profile photo
Szymon Rozga's profile photo
Simon Smith's profile photo
People
Have him in circles
44 people
Matt Baxter-Reynolds's profile photo
Sayre Blades's profile photo
Shayne Boyer's profile photo
Christopher Shain's profile photo
Jane Beal's profile photo
barbara k's profile photo
Darren Oakey's profile photo
Szymon Rozga's profile photo
Simon Smith's profile photo
Education
  • Case Western Reserve University
    2002
Basic Information
Gender
Male
Work
Employment
  • BlueMetal Architects
    Achitect, present
  • Microsoft
    Developer Technology Specialist
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
New York, NY