Skip to content

Commit 259a0ca

Browse files
committed
fix: invalid msbuild target name
fix: output generator assemblies to generators directory instead of ref directory refactor: moved AssemblyLoader from KY.Core to Common feat: improved assembly loading to check potential directories smarter refactor: move some assembly load and check logic to load command refactor: combined some generator specific assembly load logic with logic from KY.Core feat: removed AssemblyCache because load performance is now similar to cache loading feat: added GeneratePluginAttribute to signal deep assembly load behavior feat: extended GenerateWithAttribute to support better assembly finding by version refactor: replaced nuspec with definitions in csproj
1 parent efe9ff2 commit 259a0ca

101 files changed

Lines changed: 1083 additions & 623 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.

Angular.Fluent/KY.Generator.Angular.Fluent.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Company>KY-Programming</Company>
8-
<Version>10.0.0-preview.30</Version>
8+
<Version>10.0.0-preview.35</Version>
99
<LangVersion>latest</LangVersion>
1010
<RootNamespace>KY.Generator</RootNamespace>
1111
</PropertyGroup>

Angular.Generator/KY.Generator.Angular.Generator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Company>KY-Programming</Company>
8-
<Version>10.0.0-preview.30</Version>
8+
<Version>10.0.0-preview.35</Version>
99
<LangVersion>latest</LangVersion>
1010
<RootNamespace>KY.Generator.Angular</RootNamespace>
1111
</PropertyGroup>

Angular.Tests/KY.Generator.Angular.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="KY.Core.Common" Version="4.36.0" />
12+
<PackageReference Include="KY.Core.Common" Version="4.37.0" />
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
1414
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
1515
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />

Angular/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
using KY.Generator;
22

3-
[assembly: GenerateWith("KY.Generator.Angular.Generator")]
3+
[assembly: GenerateWith("KY.Generator.Angular.Generator", UseSameVersion = true)]

Angular/KY.Generator.Angular.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Authors>KY-Programming</Authors>
88
<Company>KY-Programming</Company>
99
<Product>KY.Generator</Product>
10-
<Version>10.0.0-preview.30</Version>
10+
<Version>10.0.0-preview.35</Version>
1111
<Copyright>2025 - KY-Programming</Copyright>
1212
<Description>Angular Module for KY-Generator
1313
Download KY.Generator to use this module
@@ -39,11 +39,11 @@
3939
</ItemGroup>
4040

4141
<ItemGroup>
42-
<None Include="build.targets" Pack="true" PackagePath="buildTransitive/Package.targets" />
42+
<None Include="build.targets" Pack="true" PackagePath="buildTransitive/KY.Generator.Angular.targets" />
4343
<None Include="..\icon.png" Pack="true" PackagePath="assets" Visible="false" />
4444
<None Include="..\Common\README.md" Pack="true" PackagePath="" Visible="false" />
4545
<None Include="$(OutputPath)\publish\KY.Generator.Angular.Fluent.dll" Pack="true" PackagePath="lib\netstandard2.0\" Visible="false" />
46-
<None Include="$(OutputPath)\publish\KY.Generator.Angular.Generator.dll" Pack="true" PackagePath="ref\netstandard2.0\" Visible="false" />
46+
<None Include="$(OutputPath)\publish\KY.Generator.Angular.Generator.dll" Pack="true" PackagePath="generators\netstandard2.0\" Visible="false" />
4747
<None Remove="KY.Generator.Angular.csproj.DotSettings" />
4848
</ItemGroup>
4949

Angular/build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2-
<Target Name="KY.Generator.Angular_RemoveFromPublish" AfterTargets="ComputeFilesToPublish;ResolvePublishAssets">
2+
<Target Name="KY-Generator-Angular_RemoveFromPublish" AfterTargets="ComputeFilesToPublish;ResolvePublishAssets">
33
<ItemGroup Condition="'$(GeneratePublish)'=='None'">
44
<ResolvedFileToPublish Remove="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.Filename)%(ResolvedFileToPublish.Extension)'=='KY.Generator.Angular.dll'" />
55
</ItemGroup>

AspDotNet.Fluent/KY.Generator.AspDotNet.Fluent.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Company>KY-Programming</Company>
8-
<Version>10.0.0-preview.30</Version>
8+
<Version>10.0.0-preview.35</Version>
99
<LangVersion>latest</LangVersion>
1010
<RootNamespace>KY.Generator</RootNamespace>
1111
</PropertyGroup>
@@ -21,7 +21,7 @@
2121
</PropertyGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="KY.Core.Common" Version="4.36.0" />
24+
<PackageReference Include="KY.Core.Common" Version="4.37.0" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

AspDotNet.Generator/KY.Generator.AspDotNet.Generator.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<Company>KY-Programming</Company>
8-
<Version>10.0.0-preview.30</Version>
8+
<Version>10.0.0-preview.35</Version>
99
<LangVersion>latest</LangVersion>
1010
<RootNamespace>KY.Generator.AspDotNet</RootNamespace>
1111
</PropertyGroup>
@@ -20,7 +20,7 @@
2020
</PropertyGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Include="KY.Core.Common" Version="4.36.0" />
23+
<PackageReference Include="KY.Core.Common" Version="4.37.0" />
2424
</ItemGroup>
2525

2626
<ItemGroup>

AspDotNet.Tests/KY.Generator.AspDotNet.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="KY.Core.Common" Version="4.36.0" />
12+
<PackageReference Include="KY.Core.Common" Version="4.37.0" />
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0" />
1414
<PackageReference Include="MSTest.TestAdapter" Version="2.0.0" />
1515
<PackageReference Include="MSTest.TestFramework" Version="2.0.0" />

AspDotNet/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
using KY.Generator;
22

3-
[assembly: GenerateWith("KY.Generator.AspDotNet.Generator")]
3+
[assembly: GenerateWith("KY.Generator.AspDotNet.Generator", UseSameVersion = true)]

0 commit comments

Comments
 (0)