Skip to content

Commit e8c6dfb

Browse files
authored
Merge pull request #31 from CodeFactoryLLC/Docs
Release 2.23158.1-PreRelease
2 parents bb07545 + f4c5762 commit e8c6dfb

File tree

16 files changed

+196
-17
lines changed

16 files changed

+196
-17
lines changed

Src/CodeFactoryForWindows/CodeFactory.Packager.WinVs/CodeFactory.Packager.WinVs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<HintPath>..\packages\CodeFactory.2.23151.1-PreRelease\lib\netstandard2.0\CodeFactory.dll</HintPath>
4040
</Reference>
4141
<Reference Include="CodeFactory.WinVs, Version=2.0.0.0, Culture=neutral, PublicKeyToken=6f4b2344c7d1e83a, processorArchitecture=MSIL">
42-
<HintPath>..\packages\CodeFactory.WinVs.2.23157.1-PreRelease\lib\netstandard2.0\CodeFactory.WinVs.dll</HintPath>
42+
<HintPath>..\packages\CodeFactory.WinVs.2.23158.1-PreRelease\lib\netstandard2.0\CodeFactory.WinVs.dll</HintPath>
4343
</Reference>
4444
<Reference Include="MessagePack, Version=2.5.0.0, Culture=neutral, PublicKeyToken=b4a0369545f0a1be, processorArchitecture=MSIL">
4545
<HintPath>..\packages\MessagePack.2.5.108\lib\netstandard2.0\MessagePack.dll</HintPath>

Src/CodeFactoryForWindows/CodeFactory.Packager.WinVs/CodeFactoryWinVsSDK.nuspec

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,29 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
33
<metadata>
44
<id>CodeFactory.WinVs.SDK</id>
5-
<version>2.23157.1-PreRelease</version>
5+
<version>2.23158.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>
12-
<releaseNotes>Pre release of CodeFactory for Windows Version 2.0. No documentation or site access at this time.</releaseNotes>
12+
<releaseNotes>
13+
Notes
14+
Daily build focused on bug fixes.
15+
16+
PropertyBuilderStandard Fixes
17+
- Extra ; added to the end of property generation removed.
18+
19+
MethodBuilderStandard Fixes
20+
- Fixed generation logic to correctly inject bounds check logic when found.
21+
- Fixed formatting of try catch finally logic to correctly indent at the right level.
22+
</releaseNotes>
1323
<copyright>Copyright © 2023 CodeFactory, LLC.</copyright>
1424
<tags>Factory Automation</tags>
1525
<dependencies>
1626
<dependency id="CodeFactory" version="2.23151.1-PreRelease"/>
17-
<dependency id="CodeFactory.WinVs" version="2.23157.1-PreRelease"/>
27+
<dependency id="CodeFactory.WinVs" version="2.23158.1-PreRelease"/>
1828
<dependency id="CodeFactory.WinVs.Wpf" version="2.23151.1-PreRelease"/>
1929
</dependencies>
2030
<icon>CFLogo128.png</icon>

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.23157.0.1")]
36+
[assembly: AssemblyFileVersion("2.23158.0.1")]

Src/CodeFactoryForWindows/CodeFactory.Packager.WinVs/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="CodeFactory" version="2.23151.1-PreRelease" targetFramework="net48" />
4-
<package id="CodeFactory.WinVs" version="2.23157.1-PreRelease" targetFramework="net48" />
4+
<package id="CodeFactory.WinVs" version="2.23158.1-PreRelease" targetFramework="net48" />
55
<package id="MessagePack" version="2.5.108" targetFramework="net48" />
66
<package id="MessagePack.Annotations" version="2.5.108" targetFramework="net48" />
77
<package id="Microsoft.Bcl.AsyncInterfaces" version="6.0.0" targetFramework="net48" />

Src/CodeFactoryForWindows/CodeFactory.WinVs/CodeFactory.WinVs.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<SignAssembly>True</SignAssembly>
66
<AssemblyOriginatorKeyFile>C:\github\codefactoryllc\CodeFactoryRuntimeWinVs\src\CodeFactory.Runtime.WinVs-Solution\CodeFactory.Runtime.WinVs\CFSigner.snk</AssemblyOriginatorKeyFile>
77
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
8-
<Version>2.23157.1-PreRelease</Version>
8+
<Version>2.23158.1-PreRelease</Version>
99
<Authors>CodeFactory, LLC.</Authors>
1010
<Company>CodeFactory, LLC.</Company>
1111
<Product>CodeFactory Base Library</Product>
@@ -16,7 +16,7 @@
1616
<IncludeSymbols>False</IncludeSymbols>
1717
<Title>CodeFactory API for Visual Studio - Windows </Title>
1818
<AssemblyVersion>2.0.0.0</AssemblyVersion>
19-
<FileVersion>2.23157.0.1</FileVersion>
19+
<FileVersion>2.23158.0.1</FileVersion>
2020
<PackageIcon>CFLogo128.png</PackageIcon>
2121
<PackageReleaseNotes>Pre release of CodeFactory for Windows Version 2.0. No documentation or site access at this time.</PackageReleaseNotes>
2222
<GenerateDocumentationFile>True</GenerateDocumentationFile>

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.23157.0.1";
26+
public const string MaxVersion = "2.23158.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.23157.1-PreRelease";
31+
public const string NuGetSdkVersion = "2.23158.1-PreRelease";
3232

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

Src/CodeFactoryForWindows/CodeFactory.WinVs/Models/CSharp/Builder/BoundCheckBlockString.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public override (bool hasBoundsCheck, string boundsCheckSyntax) GenerateBoundsCh
4949
formatter.AppendCodeLine(1, $"throw new ArgumentException(nameof({checkParameter.Name}));");
5050
formatter.AppendCodeLine(0, "}");
5151

52-
return (true, formatter.ReturnSource());
52+
return (true, formatter.ReturnSource());
5353
}
5454
}
5555
}

Src/CodeFactoryForWindows/CodeFactory.WinVs/Models/CSharp/Builder/MethodBuilderStandard.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public override async Task<string> GenerateBuildMethodAsync(CsMethod sourceModel
130130
.FirstOrDefault((r => r.hasBoundsCheck));
131131

132132
//if bounds check functionality was generated write it to the method.
133-
if(hasBoundsCheck & syntax != null) methodFormatter.AppendCodeBlock(indentLevel1,boundsCheckSyntax);
133+
if(hasBoundsCheck & boundsCheckSyntax != null) methodFormatter.AppendCodeBlock(indentLevel1,boundsCheckSyntax);
134134
}
135135
}
136136

@@ -193,7 +193,7 @@ public override async Task<string> GenerateBuildMethodAsync(CsMethod sourceModel
193193
{
194194
var trySyntax = TryBlock.GenerateTryBlock(syntax, multipleSyntax, formattedMethodName);
195195

196-
if(!string.IsNullOrEmpty(trySyntax)) methodFormatter.AppendCodeLine(indentLevel1, trySyntax);
196+
if(!string.IsNullOrEmpty(trySyntax)) methodFormatter.AppendCodeBlock(indentLevel1, trySyntax);
197197

198198
}
199199
else

Src/CodeFactoryForWindows/CodeFactory.WinVs/Models/CSharp/Builder/PropertyBuilderStandard.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public override async Task<string> GenerateBuildPropertyAsync(CsProperty sourceM
135135
propertyBuilder.Append(setSec != propSec ? $"{setSec.GenerateCSharpKeyword()} set; " : "set; ");
136136
}
137137

138-
propertyBuilder.Append("};");
138+
propertyBuilder.Append("}");
139139

140140
propertyFormatter.AppendCodeLine(indentLevel,propertyBuilder.ToString());
141141
propertyFormatter.AppendCodeLine(indentLevel);

docs/api/CodeFactory.WinVs.Loader.SdkSupport.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ <h4 id="CodeFactory_WinVs_Loader_SdkSupport_MaxVersion" data-uid="CodeFactory.Wi
191191
<div class="markdown level1 conceptual"></div>
192192
<h5 class="declaration">Declaration</h5>
193193
<div class="codewrapper">
194-
<pre><code class="lang-csharp hljs">public const string MaxVersion = &quot;2.23157.0.1&quot;</code></pre>
194+
<pre><code class="lang-csharp hljs">public const string MaxVersion = &quot;2.23158.0.1&quot;</code></pre>
195195
</div>
196196
<h5 class="fieldValue">Field Value</h5>
197197
<table class="table table-bordered table-condensed">
@@ -237,7 +237,7 @@ <h4 id="CodeFactory_WinVs_Loader_SdkSupport_NuGetSdkVersion" data-uid="CodeFacto
237237
<div class="markdown level1 conceptual"></div>
238238
<h5 class="declaration">Declaration</h5>
239239
<div class="codewrapper">
240-
<pre><code class="lang-csharp hljs">public const string NuGetSdkVersion = &quot;2.23157.1-PreRelease&quot;</code></pre>
240+
<pre><code class="lang-csharp hljs">public const string NuGetSdkVersion = &quot;2.23158.1-PreRelease&quot;</code></pre>
241241
</div>
242242
<h5 class="fieldValue">Field Value</h5>
243243
<table class="table table-bordered table-condensed">

0 commit comments

Comments
 (0)