Add custom "profile" support?

Topics: General
May 9, 2012 at 9:06 AM

I would like to provide a nuget package that delivers different version of an API, not only based on the .NET Framework/.NET Profile, but also based on a kind of custom "profile".

For example, I would like to have this kind of association:

  1. net20 / DirectX11.0
  2. net20 / DirectX11.1

When applying this nuget package to a project, It would be possible to select the custom profile (DirectX11.0 or DirectX11.1) on a per project basis. The philosophy is almost exactly the same than legacy .NET profiles: It exposes a core API, slightly changed or with new methods.

Currently, It seems that there is no way to provide such a functionality apart from duplicating a nuget packages which is a pain to maintain and not really user friendly.

Do you think this is something that could be considered into nuget?