I have the folder structure with a typo
lib\net404
or
content\net404
or
tools\net404
now when packaging it, nuget.exe should generate a warning for content/tools folder and an error for lib folder. This would help to make sure the target framework is not incorrect, specially when portable frameworks would have long names.
Comments: I take this back. we can't reliably detect if target framework is incorrect. net404 is interpreted as .NET 4.0.4.
lib\net404
or
content\net404
or
tools\net404
now when packaging it, nuget.exe should generate a warning for content/tools folder and an error for lib folder. This would help to make sure the target framework is not incorrect, specially when portable frameworks would have long names.
Comments: I take this back. we can't reliably detect if target framework is incorrect. net404 is interpreted as .NET 4.0.4.