Skip to content

Update nuspec to place library under nano TFM#54

Merged
josesimoes merged 2 commits into
developfrom
copilot/update-nuspec-library-location
Mar 11, 2026
Merged

Update nuspec to place library under nano TFM#54
josesimoes merged 2 commits into
developfrom
copilot/update-nuspec-library-location

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 11, 2026

NuGet packages were placing assemblies directly under lib\ instead of the correct lib\netnano1.0\ TFM subfolder, and dependencies lacked a .NETnanoFramework1.0 target framework group declaration.

Changes to nanoFramework.System.Device.UsbStream.nuspec

  • Dependencies: Wrapped all dependencies in <group targetFramework=".NETnanoFramework1.0">
  • Files: Collapsed five individual file entries into a single wildcard targeting lib\netnano1.0
<dependencies>
  <group targetFramework=".NETnanoFramework1.0">
    <dependency id="nanoFramework.CoreLibrary" version="2.0.0-preview.35" />
    <dependency id="nanoFramework.System.IO.Streams" version="2.0.0-preview.10" />
    <dependency id="nanoFramework.Runtime.Events" version="2.0.0-preview.8" />
  </group>
</dependencies>
...
<file src="System.Device.UsbStream\bin\Release\System.Device.UsbStream.*" target="lib\netnano1.0" />
Original prompt

This section details on the original issue you should resolve

<issue_title>Update nuspec to place library under nano TFM</issue_title>
<issue_description>### Details about task
Most of the nuspec files are not using the correct location to place the files.
Files (DLL, PE, PDBX and XML for IntelliSense) should be placed under "lib\netnano1.0" (currently are being placed under "lib" only.
Also they should declare a dependency group for ".NETnanoFramework1.0" target framework.
At the same time those still naming the various file types should use a wildcard instead (e.g. "...\Release\mscorlib.*).
The correct pattern should be (take this nuspec as sample):
nanoframework/System.Device.Adc@aab7bca

Do not change anything else on the nuspec file.

Work from the DEVELOP branch.

Description

</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: josesimoes <1881520+josesimoes@users.noreply.github.com>
Copilot AI changed the title [WIP] Update nuspec to place library under nano TFM Update nuspec to place library under nano TFM Mar 11, 2026
@josesimoes josesimoes marked this pull request as ready for review March 11, 2026 15:06
@josesimoes josesimoes merged commit cbf77a5 into develop Mar 11, 2026
5 checks passed
@josesimoes josesimoes deleted the copilot/update-nuspec-library-location branch March 11, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants