Skip to content

Commit 32591d1

Browse files
committed
Bump version to 2.26166.0.1 and improve namespace handling
Updated all package versions and documentation to 2.26166.0.1. Enhanced SourceContainerManager with defensive null checks, optimized LINQ usage, and added a cached namespace mapping for efficient using statement management. Improved handling of mapped namespaces and added null checks in AddMissingUsingStatementsAsync methods. Updated release notes and install instructions accordingly.
1 parent b8ee70b commit 32591d1

11 files changed

Lines changed: 184 additions & 125 deletions

File tree

‎src/CodeFactoryForWindows/CodeFactory.Packager.WinVs/CodeFactoryWinVsSDK.nuspec‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
33
<metadata>
44
<id>CodeFactory.WinVs.SDK</id>
5-
<version>2.26164.0.1-PreRelease</version>
5+
<version>2.26166.0.1-PreRelease</version>
66
<title>CodeFactory Software Development Kit for Visual Studio - Windows</title>
77
<authors>CodeFactory, LLC.</authors>
88
<owners>CodeFactory, LLC.</owners>
99
<license type="expression">MIT</license>
1010
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1111
<description>Software development kit for building CodeFactory automation in Visual Studio - Windows.</description>
1212
<releaseNotes>
13-
Release Updates for 2.26164.0.1
13+
Release Updates for 2.26166.0.1
1414

1515
Recompile Release:
1616
When you update your automation to this version of the SDK.
@@ -40,9 +40,9 @@
4040
<copyright>Copyright © 2026 CodeFactory, LLC.</copyright>
4141
<tags>Factory Automation</tags>
4242
<dependencies>
43-
<dependency id="CodeFactory" version="2.26164.0.1-PreRelease"/>
44-
<dependency id="CodeFactory.WinVs" version="2.26164.0.1-PreRelease"/>
45-
<dependency id="CodeFactory.WinVs.Wpf" version="2.26164.0.1-PreRelease"/>
43+
<dependency id="CodeFactory" version="2.26166.0.1-PreRelease"/>
44+
<dependency id="CodeFactory.WinVs" version="2.26166.0.1-PreRelease"/>
45+
<dependency id="CodeFactory.WinVs.Wpf" version="2.26166.0.1-PreRelease"/>
4646
</dependencies>
4747
<icon>CFLogo128.png</icon>
4848
<readme>README.md</readme>

‎src/CodeFactoryForWindows/CodeFactory.Packager.WinVs/Properties/AssemblyInfo.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
3535
[assembly: AssemblyVersion("2.0.0.0")]
36-
[assembly: AssemblyFileVersion("2.26164.0.1")]
36+
[assembly: AssemblyFileVersion("2.26166.0.1")]

‎src/CodeFactoryForWindows/CodeFactory.WinVs.Wpf/Properties/AssemblyInfo.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
3535
[assembly: AssemblyVersion("2.0.0.0")]
36-
[assembly: AssemblyFileVersion("2.26164.0.1")]
36+
[assembly: AssemblyFileVersion("2.26166.0.1")]

‎src/CodeFactoryForWindows/CodeFactory.WinVs.Wpf/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The **CodeFactory User Interface WPF for Visual Studio - Windows** library provi
1313
|---|---|
1414
| Target Framework | .NET Framework 4.8 |
1515
| Visual Studio | Visual Studio 2022 / Visual Studio 2026 (Windows) |
16-
| CodeFactory Runtime | [CodeFactory for Windows](https://marketplace.visualstudio.com/items?itemName=CodeFactoryLLC.CodeFactoryForWindows) ≥ 2.26164.0.1 |
16+
| CodeFactory Runtime | [CodeFactory for Windows](https://marketplace.visualstudio.com/items?itemName=CodeFactoryLLC.CodeFactoryForWindows) ≥ 2.26166.0.1 |
1717
| Command Library Project | .NET Framework 4.8 |
1818

1919
> ⚠️ **Important:** When updating to a new version of this SDK you must **recompile** your automation (command library) projects and ensure the CodeFactory runtime installed in Visual Studio is at the same version or higher.
@@ -30,7 +30,7 @@ dotnet add package CodeFactory.WinVs.Wpf
3030

3131
Or in your `.csproj`:
3232
```xml
33-
<PackageReference Include="CodeFactory.WinVs.Wpf" Version="2.26164.0.1-PreRelease" />
33+
<PackageReference Include="CodeFactory.WinVs.Wpf" Version="2.26166.0.1-PreRelease" />
3434
```
3535

3636

@@ -85,10 +85,10 @@ Use `IVsUIActions` (available on every CodeFactory command via `_visualStudioAct
8585

8686
## Release Notes
8787

88-
### 2.26164.0.1-PreRelease
88+
### 2.26166.0.1-PreRelease
8989

9090
- **Recompile Required:** Automation projects must be recompiled against this version of the SDK.
91-
- Aligned with `CodeFactory` and `CodeFactory.WinVs` package version `2.26164.0.1-PreRelease`.
91+
- Aligned with `CodeFactory` and `CodeFactory.WinVs` package version `2.26166.0.1-PreRelease`.
9292

9393
---
9494

‎src/CodeFactoryForWindows/CodeFactory.WinVs.Wpf/WinVsWpf.nuspec‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
33
<metadata>
44
<id>CodeFactory.WinVs.Wpf</id>
5-
<version>2.26164.0.1-PreRelease</version>
5+
<version>2.26166.0.1-PreRelease</version>
66
<title>CodeFactory User Interface WPF for Visual Studio - Windows</title>
77
<authors>CodeFactory, LLC.</authors>
88
<owners>CodeFactory, LLC.</owners>
@@ -11,7 +11,7 @@
1111
<readme>README.md</readme>
1212
<description>Library that provides custom dialog screens hosted in Visual Studio for Windows, hosted for CodeFactory automation.</description>
1313
<releaseNotes>
14-
Release Updates for 2.26164.0.1
14+
Release Updates for 2.26166.0.1
1515

1616
Recompile Release:
1717
When you update your automation to this version of the SDK.
@@ -20,8 +20,8 @@
2020
<copyright>Copyright © 2026 CodeFactory, LLC.</copyright>
2121
<tags>Factory Automation</tags>
2222
<dependencies>
23-
<dependency id="CodeFactory" version="2.26164.0.1-PreRelease"/>
24-
<dependency id="CodeFactory.WinVs" version="2.26164.0.1-PreRelease"/>
23+
<dependency id="CodeFactory" version="2.26166.0.1-PreRelease"/>
24+
<dependency id="CodeFactory.WinVs" version="2.26166.0.1-PreRelease"/>
2525
</dependencies>
2626
<icon>CFLogo128.png</icon>
2727
</metadata>

‎src/CodeFactoryForWindows/CodeFactory.WinVs/CodeFactory.WinVs.csproj‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<SignAssembly>True</SignAssembly>
77
<AssemblyOriginatorKeyFile>CFSigner.snk</AssemblyOriginatorKeyFile>
88
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
9-
<Version>2.26164.0.1-PreRelease</Version>
9+
<Version>2.26166.0.1-PreRelease</Version>
1010
<Authors>CodeFactory, LLC.</Authors>
1111
<Company>CodeFactory, LLC.</Company>
1212
<Product>CodeFactory Base Library</Product>
@@ -17,29 +17,29 @@
1717
<IncludeSymbols>False</IncludeSymbols>
1818
<Title>CodeFactory API for Visual Studio - Windows </Title>
1919
<AssemblyVersion>2.0.0.0</AssemblyVersion>
20-
<FileVersion>2.26164.0.1</FileVersion>
20+
<FileVersion>2.26166.0.1</FileVersion>
2121
<PackageIcon>CFLogo128.png</PackageIcon>
2222
<PackageReadmeFile>README.md</PackageReadmeFile>
2323
<PackageReleaseNotes>
24-
Release Updates for 2.26164.0.1
24+
Release Updates for 2.26166.0.1
2525

2626
New
2727

28-
- **Visual Studio 2026 support** — This release targets the Visual Studio 2026 (v18.6) runtime. The CodeFactory runtime must be at version `2.26164.0.1` or higher to load automation built against this SDK.
28+
- **Visual Studio 2026 support** — This release targets the Visual Studio 2026 (v18.6) runtime. The CodeFactory runtime must be at version `2.26166.0.1` or higher to load automation built against this SDK.
2929
- **C# 13 language support** — The `CodeFactory` base library now compiles with `LangVersion 13`. C# 13 language features are available in automation projects via the [PolySharp](https://github.com/Sergio0694/PolySharp) polyfill package, which backfills required compiler attributes onto .NET Standard 2.0.
3030

3131
Changes
3232

3333
- **Updated SDK version range** — The supported SDK version window has been updated:
3434
- Minimum supported SDK version: `2.24224.0.1`
35-
- Maximum supported SDK version: `2.26164.0.1`
35+
- Maximum supported SDK version: `2.26166.0.1`
3636
- **Copyright year updated** — All library copyright notices updated to reflect 2026.
3737

3838
Breaking Changes / Recompile Required
3939

4040
&gt; **Action Required:** You must recompile your automation projects against this version of the SDK before deploying to a Visual Studio 2026 environment.
4141
&gt;
42-
&gt; Ensure the CodeFactory runtime installed in Visual Studio is at least version `2.26164.0.1`.
42+
&gt; Ensure the CodeFactory runtime installed in Visual Studio is at least version `2.26166.0.1`.
4343
</PackageReleaseNotes>
4444
<GenerateDocumentationFile>True</GenerateDocumentationFile>
4545
</PropertyGroup>

‎src/CodeFactoryForWindows/CodeFactory.WinVs/Loader/SdkSupport.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ public static class SdkSupport
2323
/// <summary>
2424
/// The maximum version of the SDK that can be loaded and used.
2525
/// </summary>
26-
public const string MaxVersion = "2.26164.0.1";
26+
public const string MaxVersion = "2.26166.0.1";
2727

2828
/// <summary>
2929
/// The target version of the NuGet package this SDK is deployed from.
3030
/// </summary>
31-
public const string NuGetSdkVersion = "2.26164.0.1-PreRelease";
31+
public const string NuGetSdkVersion = "2.26166.0.1-PreRelease";
3232

3333
/// <summary>
3434
/// The name of the assembly type for the CodeFactory SDK version attribute.

0 commit comments

Comments
 (0)