Please give a warning if you download a package that has the wrong profile (Client vs. Full).
Repro:
1. Create a default C# console app in Dev10. This will be the Client profile.
2. Add the azure package http://nuget.org/packages/WindowsAzure.Storage/1.6
I didn’t get any nuget errors, but then things fail with cryptic build errors becaue it can't load the assembly. It turns out I had to switch my project to the full profile.
It would be great to get a warning that your package's profile is incompatible with the project profile. (similar to version mismatch errors).
Repro:
1. Create a default C# console app in Dev10. This will be the Client profile.
2. Add the azure package http://nuget.org/packages/WindowsAzure.Storage/1.6
I didn’t get any nuget errors, but then things fail with cryptic build errors becaue it can't load the assembly. It turns out I had to switch my project to the full profile.
It would be great to get a warning that your package's profile is incompatible with the project profile. (similar to version mismatch errors).