adding frameworkAssembly entry with CopyLocal=True

Topics: General
Feb 9, 2013 at 6:40 PM
Any pointers on how i configure my Package.nuspec frameworkAssembly entry such that it adds it to the project with CopyLocal=True set?

In the case of the nfx45/wif45 System.IdentityModel.Services assembly i'm finding that i have to configure copyLocal=True in order for it to be found and work at runtime.
  <frameworkAssembly assemblyName="Microsoft.Web.Infrastructure" targetFramework=".NETFramework4.0" />
  <frameworkAssembly assemblyName="System.IdentityModel" targetFramework=".NETFramework4.0" />
  <frameworkAssembly assemblyName="System.IdentityModel.Services" targetFramework=".NETFramework4.0" />
<!-- C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.IdentityModel.Services.dll -->
Feb 15, 2013 at 1:42 PM
This ability is not available. You can achieve this by writing a install.ps1 file. But I agree this is a good feature to add to NuGet.
Feb 15, 2013 at 1:43 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.