Skip to content

Update nuspec to place library under nano TFM#248

Merged
josesimoes merged 5 commits intodevelopfrom
copilot/update-nuspec-library-location-again
Mar 11, 2026
Merged

Update nuspec to place library under nano TFM#248
josesimoes merged 5 commits intodevelopfrom
copilot/update-nuspec-library-location-again

Conversation

Copy link

Copilot AI commented Mar 11, 2026

NuGet package files were being placed under lib\ instead of the correct lib\netnano1.0\, and the dependency was not scoped to the .NETnanoFramework1.0 target framework.

Changes

  • Dependencies: Wrapped nanoFramework.CoreLibrary in a <group targetFramework=".NETnanoFramework1.0"> element
  • Files: Replaced 5 individual file entries (.dll, .pdb, .pdbx, .pe, .xml) with a single wildcard entry targeting lib\netnano1.0
<!-- Before -->
<dependencies>
  <dependency id="nanoFramework.CoreLibrary" version="1.17.11" />
</dependencies>
<files>
  <file src="...\System.Math.dll" target="lib\System.Math.dll" />
  <file src="...\System.Math.pdbx" target="lib\System.Math.pdbx" />
  <!-- ... -->
</files>

<!-- After -->
<dependencies>
  <group targetFramework=".NETnanoFramework1.0">
    <dependency id="nanoFramework.CoreLibrary" version="1.17.11" />
  </group>
</dependencies>
<files>
  <file src="nanoFramework.System.Math\bin\Release\System.Math.*" target="lib\netnano1.0" />
  <!-- ... -->
</files>
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.

Make this change against develop branch.

Description

</issue_description>

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


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

josesimoes and others added 2 commits December 12, 2025 20:08
- Move github action to update dependents from develop branch.

***NO_CI***
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 changed the base branch from main to develop March 11, 2026 14:11
@josesimoes josesimoes marked this pull request as ready for review March 11, 2026 14:13
@sonarqubecloud
Copy link

@josesimoes josesimoes merged commit db33f40 into develop Mar 11, 2026
7 checks passed
@josesimoes josesimoes deleted the copilot/update-nuspec-library-location-again branch March 11, 2026 14:21
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.

Update nuspec to place library under nano TFM

2 participants