Skip to content

Commit e005834

Browse files
committed
Tests and examples updated
1 parent 90c41b9 commit e005834

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

Examples/Reflection/ReflectionFromExecutable/Output/type-to-read.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ------------------------------------------------------------------------------
22
// <auto-generated>
3-
// This code was generated with KY.Generator 6.6.3.0
3+
// This code was generated with KY.Generator 7.5.0.0
44
//
55
// Manual changes to this file may cause unexpected behavior in your application.
66
// Manual changes to this file will be overwritten if the code is regenerated.
@@ -13,7 +13,7 @@ export class TypeToRead {
1313
public stringProperty: string;
1414
public numberProperty: number;
1515

16-
public constructor(init: Partial<TypeToRead> = undefined) {
16+
public constructor(init?: Partial<TypeToRead>) {
1717
Object.assign(this, init);
1818
}
1919
}

Examples/Reflection/ReflectionFromExecutable/ReflectionFromExecutable.csproj

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
<WarningLevel>4</WarningLevel>
3636
</PropertyGroup>
3737
<ItemGroup>
38-
<Reference Include="KY.Generator.Annotations, Version=6.6.3.0, Culture=neutral, processorArchitecture=MSIL">
39-
<HintPath>..\packages\KY.Generator.Annotations.6.6.3\lib\netstandard2.0\KY.Generator.Annotations.dll</HintPath>
38+
<Reference Include="KY.Generator.Annotations, Version=7.5.0.0, Culture=neutral, PublicKeyToken=null">
39+
<HintPath>..\packages\KY.Generator.Annotations.7.5.0\lib\netstandard2.0\KY.Generator.Annotations.dll</HintPath>
40+
<Private>True</Private>
4041
</Reference>
4142
<Reference Include="System" />
4243
<Reference Include="System.Core" />
@@ -68,11 +69,11 @@
6869
<PostBuildEvent>
6970
</PostBuildEvent>
7071
</PropertyGroup>
71-
<Import Project="..\packages\KY.Generator.6.6.3\build\KY.Generator.targets" Condition="Exists('..\packages\KY.Generator.6.6.3\build\KY.Generator.targets')" />
72+
<Import Project="..\packages\KY.Generator.7.5.0\build\KY.Generator.targets" Condition="Exists('..\packages\KY.Generator.7.5.0\build\KY.Generator.targets')" />
7273
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
7374
<PropertyGroup>
74-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
75+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
7576
</PropertyGroup>
76-
<Error Condition="!Exists('..\packages\KY.Generator.6.6.3\build\KY.Generator.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\KY.Generator.6.6.3\build\KY.Generator.targets'))" />
77+
<Error Condition="!Exists('..\packages\KY.Generator.7.5.0\build\KY.Generator.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\KY.Generator.7.5.0\build\KY.Generator.targets'))" />
7778
</Target>
7879
</Project>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="KY.Generator" version="6.6.3" targetFramework="net461" />
4-
<package id="KY.Generator.Annotations" version="6.6.3" targetFramework="net461" />
3+
<package id="KY.Generator" version="7.5.0" targetFramework="net461" />
4+
<package id="KY.Generator.Annotations" version="7.5.0" targetFramework="net461" />
55
</packages>

0 commit comments

Comments
 (0)