This project is read-only.


Error unpacking package assemblies when specifiying the TargetFramework for an assembly.


I created a package with the updated console app. I specified the TargetFramework for the assemblies. It looks like tge target framework is striping spaces in the Project.TargetFramework on line 384 of the ProjectManager.cs. The items in teh package.AssemblyReferences collection do not have the spaces striped out of the target framework names. The following is the error that is displayed in the NuConsole.

_WriteError : Unable to find assembly references that are compatible with the target framework '.NETFramework,Version=v4.0'
At C:\Users\eric_hexter\AppData\Local\Microsoft\VisualStudio\10.0Exp\Extensions\Microsoft\NuPack Tools\1.0\Scripts\nupack.ps1:56 char:24
  • WriteError <<<< $.Exception
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,_WriteError

file attachments

Closed Nov 5, 2010 at 6:58 AM by AnglicanGeek
Not able to repro. Eric, please let me know if you're still seeing this.


dfowler wrote Sep 5, 2010 at 6:46 PM

We updated the spec format, I updated the sample packages. I'll update the spec with the new format and the format of the target framework.

Haacked wrote Sep 14, 2010 at 7:40 PM

Please verify against the new format. Thanks!

Haacked wrote Sep 24, 2010 at 10:18 PM

Drew, can you follow up with Eric.