Skip to content

Commit 1d2cb0e

Browse files
danielmezaclaude
andcommitted
Migrate all samples to SDK-style projects (dotnet nano migrate)
Fresh, full migration of the samples from the legacy .nfproj project system to SDK-style <Project Sdk="nanoFramework.NET.Sdk"> (netnano1.0, PackageReference), produced by the improved NanoMigrate tooling. - 154 projects converted across 111 solutions; packages.config + generated AssemblyInfo removed; solutions retargeted via the official Microsoft.VisualStudio.SolutionPersistence library (.sln and .slnx; project-type GUID -> SDK C#/CPS GUID, path .nfproj -> .csproj). - Build harness: global.json pins the SDK; NuGet.Config adds a dev-local feed for the unpublished SDK (remove once it ships to nuget.org). - Post-migration fixes: 1-Wire/OneWire.TestApp gains its used Hardware.Esp32 reference; Interop/test-application references the stub library via ProjectReference (legacy used a bin\ HintPath). Removed a stray empty Azure-ServiceBus-Sender/Sender project (orphan .nfproj). Full build sweep: 152 / 154 build. The two AMQP apps fail on pre-existing package-version rot (NU1605 + half-modernized Wifi code), a sample-maintenance task, not a migration defect; the Desktop* helpers are regular .NET Framework projects, untouched. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 93e47c5 commit 1d2cb0e

842 files changed

Lines changed: 10529 additions & 296 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/GpioChangeCounter.nfproj renamed to .nanomigrate/rollback-20260616-170751-b4a4c18d/0000-GpioChangeCounter.nfproj.bak

File renamed without changes.

Archive/GpioChangeCounter/GpioChangeCounter/packages.config renamed to .nanomigrate/rollback-20260616-170751-b4a4c18d/0001-packages.config.bak

File renamed without changes.

Archive/GpioChangeCounter/GpioChangeCounter/Properties/AssemblyInfo.cs renamed to .nanomigrate/rollback-20260616-170751-b4a4c18d/0002-AssemblyInfo.cs.bak

File renamed without changes.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.421
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "GpioChangeCounter", "GpioChangeCounter\GpioChangeCounter.nfproj", "{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17+
{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{4FD0EEFE-B90A-43E7-9FDD-17FA413F2A44}.Release|Any CPU.Deploy.0 = Release|Any CPU
20+
EndGlobalSection
21+
GlobalSection(SolutionProperties) = preSolution
22+
HideSolutionNode = FALSE
23+
EndGlobalSection
24+
GlobalSection(ExtensibilityGlobals) = postSolution
25+
SolutionGuid = {A2997D30-86B3-4A81-89FA-FEA86241AAA2}
26+
EndGlobalSection
27+
EndGlobal
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.1.32414.318
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "FileAccess", "FileAccess\FileAccess.nfproj", "{27187DF4-1F7E-49CC-AC16-BE194C1E1CCD}"
6+
EndProject
7+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "AccessRemovableDevices", "AccessRemovableDevices\AccessRemovableDevices.nfproj", "{59548C76-0B49-46C7-A5E8-3A956A5B5DAF}"
8+
EndProject
9+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "RemovableDeviceEvent", "RemovableDeviceEvent\RemovableDeviceEvent.nfproj", "{4464304E-8A03-4076-8605-CBB29040A88A}"
10+
EndProject
11+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "MountDevices", "MountDevices\MountDevices.nfproj", "{829EBAF9-1BBA-41C7-9175-7944CF001C9C}"
12+
EndProject
13+
Global
14+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
15+
Debug|Any CPU = Debug|Any CPU
16+
Release|Any CPU = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
19+
{27187DF4-1F7E-49CC-AC16-BE194C1E1CCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20+
{27187DF4-1F7E-49CC-AC16-BE194C1E1CCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
21+
{27187DF4-1F7E-49CC-AC16-BE194C1E1CCD}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
22+
{27187DF4-1F7E-49CC-AC16-BE194C1E1CCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{27187DF4-1F7E-49CC-AC16-BE194C1E1CCD}.Release|Any CPU.Deploy.0 = Release|Any CPU
24+
{59548C76-0B49-46C7-A5E8-3A956A5B5DAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{59548C76-0B49-46C7-A5E8-3A956A5B5DAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{59548C76-0B49-46C7-A5E8-3A956A5B5DAF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
27+
{59548C76-0B49-46C7-A5E8-3A956A5B5DAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
28+
{59548C76-0B49-46C7-A5E8-3A956A5B5DAF}.Release|Any CPU.Deploy.0 = Release|Any CPU
29+
{4464304E-8A03-4076-8605-CBB29040A88A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30+
{4464304E-8A03-4076-8605-CBB29040A88A}.Debug|Any CPU.Build.0 = Debug|Any CPU
31+
{4464304E-8A03-4076-8605-CBB29040A88A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
32+
{4464304E-8A03-4076-8605-CBB29040A88A}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{4464304E-8A03-4076-8605-CBB29040A88A}.Release|Any CPU.Deploy.0 = Release|Any CPU
34+
{829EBAF9-1BBA-41C7-9175-7944CF001C9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35+
{829EBAF9-1BBA-41C7-9175-7944CF001C9C}.Debug|Any CPU.Build.0 = Debug|Any CPU
36+
{829EBAF9-1BBA-41C7-9175-7944CF001C9C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
37+
{829EBAF9-1BBA-41C7-9175-7944CF001C9C}.Release|Any CPU.ActiveCfg = Release|Any CPU
38+
{829EBAF9-1BBA-41C7-9175-7944CF001C9C}.Release|Any CPU.Build.0 = Release|Any CPU
39+
{829EBAF9-1BBA-41C7-9175-7944CF001C9C}.Release|Any CPU.Deploy.0 = Release|Any CPU
40+
EndGlobalSection
41+
GlobalSection(SolutionProperties) = preSolution
42+
HideSolutionNode = FALSE
43+
EndGlobalSection
44+
GlobalSection(ExtensibilityGlobals) = postSolution
45+
SolutionGuid = {92D20F90-71A8-4F13-86A4-64AE7927D464}
46+
EndGlobalSection
47+
EndGlobal
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27428.2037
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "I2C", "I2C.nfproj", "{DC9F03EB-614E-4B7B-9578-DA78922487E7}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{DC9F03EB-614E-4B7B-9578-DA78922487E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{DC9F03EB-614E-4B7B-9578-DA78922487E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{DC9F03EB-614E-4B7B-9578-DA78922487E7}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17+
{DC9F03EB-614E-4B7B-9578-DA78922487E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{DC9F03EB-614E-4B7B-9578-DA78922487E7}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{DC9F03EB-614E-4B7B-9578-DA78922487E7}.Release|Any CPU.Deploy.0 = Release|Any CPU
20+
EndGlobalSection
21+
GlobalSection(SolutionProperties) = preSolution
22+
HideSolutionNode = FALSE
23+
EndGlobalSection
24+
GlobalSection(ExtensibilityGlobals) = postSolution
25+
SolutionGuid = {10E4E202-4D97-4971-A4D8-A800EB8127E4}
26+
EndGlobalSection
27+
EndGlobal
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.28922.388
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "nfGPSTest", "nanoframework.Samples.GPS\nanoframework.Samples.GPS.nfproj", "{0C999724-B003-4ED6-B5AA-AC857759380B}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{0C999724-B003-4ED6-B5AA-AC857759380B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{0C999724-B003-4ED6-B5AA-AC857759380B}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{0C999724-B003-4ED6-B5AA-AC857759380B}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17+
{0C999724-B003-4ED6-B5AA-AC857759380B}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{0C999724-B003-4ED6-B5AA-AC857759380B}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{0C999724-B003-4ED6-B5AA-AC857759380B}.Release|Any CPU.Deploy.0 = Release|Any CPU
20+
EndGlobalSection
21+
GlobalSection(SolutionProperties) = preSolution
22+
HideSolutionNode = FALSE
23+
EndGlobalSection
24+
GlobalSection(ExtensibilityGlobals) = postSolution
25+
SolutionGuid = {56B4490A-E72E-459C-86A5-61E041B57DA7}
26+
EndGlobalSection
27+
EndGlobal
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27130.2027
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "PWM", "PWM.nfproj", "{38F490AB-A9A9-4B68-9C76-9F9374D1D846}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{38F490AB-A9A9-4B68-9C76-9F9374D1D846}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{38F490AB-A9A9-4B68-9C76-9F9374D1D846}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{38F490AB-A9A9-4B68-9C76-9F9374D1D846}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17+
{38F490AB-A9A9-4B68-9C76-9F9374D1D846}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{38F490AB-A9A9-4B68-9C76-9F9374D1D846}.Release|Any CPU.Build.0 = Release|Any CPU
19+
EndGlobalSection
20+
GlobalSection(SolutionProperties) = preSolution
21+
HideSolutionNode = FALSE
22+
EndGlobalSection
23+
GlobalSection(ExtensibilityGlobals) = postSolution
24+
SolutionGuid = {76D4CD74-AE62-4854-BF04-A71D2C6097B8}
25+
EndGlobalSection
26+
EndGlobal
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 16
3+
VisualStudioVersion = 16.0.31205.134
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "SerialCommunication", "SerialCommunication.nfproj", "{87A6EFD3-A5C9-40AB-A7F7-62CF62CE6B5A}"
6+
EndProject
7+
Global
8+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9+
Debug|Any CPU = Debug|Any CPU
10+
Release|Any CPU = Release|Any CPU
11+
EndGlobalSection
12+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13+
{87A6EFD3-A5C9-40AB-A7F7-62CF62CE6B5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{87A6EFD3-A5C9-40AB-A7F7-62CF62CE6B5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{87A6EFD3-A5C9-40AB-A7F7-62CF62CE6B5A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
16+
{87A6EFD3-A5C9-40AB-A7F7-62CF62CE6B5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{87A6EFD3-A5C9-40AB-A7F7-62CF62CE6B5A}.Release|Any CPU.Build.0 = Release|Any CPU
18+
{87A6EFD3-A5C9-40AB-A7F7-62CF62CE6B5A}.Release|Any CPU.Deploy.0 = Release|Any CPU
19+
EndGlobalSection
20+
GlobalSection(SolutionProperties) = preSolution
21+
HideSolutionNode = FALSE
22+
EndGlobalSection
23+
GlobalSection(ExtensibilityGlobals) = postSolution
24+
SolutionGuid = {F1B6C50B-F773-4B67-8CF3-82990EAC20C5}
25+
EndGlobalSection
26+
EndGlobal
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27428.2037
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{11A8DD76-328B-46DF-9F39-F559912D0360}") = "SPI", "SPI.nfproj", "{807313C1-D3D8-4102-849C-D8E8F3BA11BF}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{807313C1-D3D8-4102-849C-D8E8F3BA11BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{807313C1-D3D8-4102-849C-D8E8F3BA11BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{807313C1-D3D8-4102-849C-D8E8F3BA11BF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17+
{807313C1-D3D8-4102-849C-D8E8F3BA11BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{807313C1-D3D8-4102-849C-D8E8F3BA11BF}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{807313C1-D3D8-4102-849C-D8E8F3BA11BF}.Release|Any CPU.Deploy.0 = Release|Any CPU
20+
EndGlobalSection
21+
GlobalSection(SolutionProperties) = preSolution
22+
HideSolutionNode = FALSE
23+
EndGlobalSection
24+
GlobalSection(ExtensibilityGlobals) = postSolution
25+
SolutionGuid = {10E4E202-4D97-4971-A4D8-A800EB8127E4}
26+
EndGlobalSection
27+
EndGlobal

0 commit comments

Comments
 (0)