Skip to content

Commit 040b669

Browse files
danielmezaclaude
andcommitted
Migrate all samples to SDK-style projects (dotnet nano migrate)
Fresh migration of the samples from legacy .nfproj to SDK-style <Project Sdk="nanoFramework.NET.Sdk"> (netnano1.0, PackageReference), via the NanoMigrate tool. - 154 projects converted across 111 solutions; packages.config + generated AssemblyInfo removed; solutions retargeted with the official Microsoft.VisualStudio.SolutionPersistence library (.sln + .slnx). - Backups/rollback journal cleaned after the successful migration (`nano clean`), so no .nfproj.bak or .nanomigrate/ are committed. - migration-report.md: generated by `nano migrate --report` (154 converted, 0 flagged). - Build harness (global.json + dev-local NuGet.Config) for the unpublished SDK; remove the local feed + pin the published version before merge. - Post-migration fixes: 1-Wire/OneWire.TestApp adds its used Hardware.Esp32 reference; Interop/test-application uses a ProjectReference to the stub lib; stray empty Sender project removed. Full build sweep: 152/154; the 2 AMQP apps fail on pre-existing package/Wifi rot (sample maintenance, not a migration defect); Desktop* helpers are .NET Framework, untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 93e47c5 commit 040b669

731 files changed

Lines changed: 3920 additions & 17014 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Archive/GpioChangeCounter/GpioChangeCounter.sln

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
21
Microsoft Visual Studio Solution File, Format Version 12.00
32
# Visual Studio 15
43
VisualStudioVersion = 15.0.28307.421
54
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "GpioChangeCounter", "GpioChangeCounter\GpioChangeCounter.nfproj", "{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}"
5+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GpioChangeCounter", "GpioChangeCounter\GpioChangeCounter.csproj", "{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}"
76
EndProject
87
Global
98
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<Project Sdk="nanoFramework.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netnano1.0</TargetFramework>
5+
<OutputType>Exe</OutputType>
6+
<RootNamespace>ChangeCounter</RootNamespace>
7+
<AssemblyName>ChangeCounter</AssemblyName>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="nanoFramework.CoreLibrary" Version="1.17.11" />
12+
<PackageReference Include="nanoFramework.Runtime.Events" Version="1.11.32" />
13+
<PackageReference Include="nanoFramework.Windows.Devices.Gpio" Version="1.5.5" />
14+
<PackageReference Include="nanoFramework.Windows.Devices.Pwm" Version="1.6.2" />
15+
</ItemGroup>
16+
17+
</Project>

Archive/GpioChangeCounter/GpioChangeCounter/GpioChangeCounter.nfproj

Lines changed: 0 additions & 51 deletions
This file was deleted.

Archive/GpioChangeCounter/GpioChangeCounter/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

Archive/GpioChangeCounter/GpioChangeCounter/packages.config

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<Project Sdk="nanoFramework.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netnano1.0</TargetFramework>
5+
<OutputType>Exe</OutputType>
6+
<RootNamespace>AccessSDcard</RootNamespace>
7+
<AssemblyName>AccessSDcard</AssemblyName>
8+
<Name>AccessRemovableDevices</Name>
9+
<NF_GenerateStubsRootName>AccessRemovableDevices</NF_GenerateStubsRootName>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="nanoFramework.CoreLibrary" Version="1.17.11" />
14+
<PackageReference Include="nanoFramework.Runtime.Events" Version="1.11.32" />
15+
<PackageReference Include="nanoFramework.System.Runtime" Version="1.0.28" />
16+
<PackageReference Include="nanoFramework.System.Text" Version="1.3.42" />
17+
<PackageReference Include="nanoFramework.Windows.Storage" Version="1.5.62" />
18+
<PackageReference Include="nanoFramework.Windows.Storage.Streams" Version="1.14.44" />
19+
</ItemGroup>
20+
21+
</Project>

Archive/Storage/AccessRemovableDevices/AccessRemovableDevices.nfproj

Lines changed: 0 additions & 63 deletions
This file was deleted.

Archive/Storage/AccessRemovableDevices/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

Archive/Storage/AccessRemovableDevices/packages.config

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="nanoFramework.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netnano1.0</TargetFramework>
5+
<OutputType>Exe</OutputType>
6+
<RootNamespace>FileAccess</RootNamespace>
7+
<AssemblyName>FileAccess</AssemblyName>
8+
</PropertyGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="nanoFramework.CoreLibrary" Version="1.17.11" />
12+
<PackageReference Include="nanoFramework.Runtime.Events" Version="1.11.32" />
13+
<PackageReference Include="nanoFramework.Runtime.Native" Version="1.7.11" />
14+
<PackageReference Include="nanoFramework.System.Runtime" Version="1.0.28" />
15+
<PackageReference Include="nanoFramework.System.Text" Version="1.3.42" />
16+
<PackageReference Include="nanoFramework.Windows.Storage" Version="1.5.62" />
17+
<PackageReference Include="nanoFramework.Windows.Storage.Streams" Version="1.14.44" />
18+
</ItemGroup>
19+
20+
</Project>

0 commit comments

Comments
 (0)