adding frameworkAssembly entry with CopyLocal=True

Topics: General
Feb 9, 2013 at 5:40 PM
asdf
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.
<frameworkAssemblies>
  <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 -->
Developer
Feb 15, 2013 at 12: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.
Developer
Feb 15, 2013 at 12:43 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.