Skip to content

Commit

Permalink
adding some things
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmjr committed Oct 6, 2023
1 parent 0147306 commit d9fa3c4
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 30 deletions.
8 changes: 4 additions & 4 deletions src/Build/ADefaultBuildConfiguration.props
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!--
* ADefaultBuildConfiguration.props
*
*
* Created: 2023-02-25-05:39:49
* Modified: 2023-02-25-11:24:23
*
*
* Author: David G. Moore, Jr. <[email protected]>
*
*
* Copyright © 2022-2023 David G. Moore, Jr., All Rights Reserved
* License: MIT (https://opensource.org/licenses/MIT)
-->
Expand All @@ -14,6 +14,6 @@
<Project>
<PropertyGroup>
<Configurations>Local;Debug;Staging;Release;Testing</Configurations>
<Configuration Condition="'$(Configuration)' == ''">Local</Configuration>
<Configuration Condition="'$(Configuration)' == ''">Local</Configuration>
</PropertyGroup>
</Project>
28 changes: 14 additions & 14 deletions src/Build/CodeGeneration.props
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<!--
CodeGeneration.props
Created: 2022-10-21-11:40:42
Modified: 2022-10-29-02:47:07
Author: David G. Moore, Jr. <[email protected]>
Copyright © 2022-2023 David G. Moore, Jr., All Rights Reserved
License: MIT (https://opensource.org/licenses/MIT)
* CodeGeneration.props
*
* Created: 2022-10-21-11:40:42
* Modified: 2023-10-05-08:41:56
*
* Author: David G. Moore, Jr. <[email protected]>
*
* Copyright © 2022 - 2023 David G. Moore, Jr., All Rights Reserved
* License: MIT (https://opensource.org/licenses/MIT)
-->

<Project>
<PropertyGroup>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">obj</BaseIntermediateOutputPath>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>$(MSBuildProjectDirectory)/$(BaseIntermediateOutputPath)/GeneratedFiles</CompilerGeneratedFilesOutputPath>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>$(MSBuildProjectDirectory)/$(BaseIntermediateOutputPath)/GeneratedFiles</CompilerGeneratedFilesOutputPath>
</PropertyGroup>
<ItemDefinitionGroup>
<SourceGenerator />
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<SourceGenerator />
</ItemDefinitionGroup>
</Project>
28 changes: 24 additions & 4 deletions src/Build/CompilerVisibleProperties.props
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
<!--
* CompilerVisibleProperties.props
*
*
* Created: 2022-11-04-10:42:35
* Modified: 2022-11-04-10:42:36
*
*
* Author: David G. Moore, Jr. <[email protected]>
*
*
* Copyright © 2022-2023 David G. Moore, Jr., All Rights Reserved
* License: MIT (https://opensource.org/licenses/MIT)
-->
<Project>
<ItemGroup>
<!-- For the This Asssemgly code generator -->
<ProjectProperty Include="AssemblyVersion" />
<ProjectProperty Include="AssetTargetFallback" />
<ProjectProperty Include="Authors" />
<ProjectProperty Include="Company" />
<ProjectProperty Include="Configuration" />
<ProjectProperty Include="Configurations" />
<ProjectProperty Include="ContactEmail" />
<ProjectProperty Include="Copyright" />
<ProjectProperty Include="Description" />
<ProjectProperty Include="FileVersion" />
<ProjectProperty Include="LicenseExpression" />
<ProjectProperty Include="IsMultitargeting" />
<ProjectProperty Include="Owners" />
<ProjectProperty Include="PackageLicenseExpression" />
<ProjectProperty Include="PackageProjectUrl" />
<ProjectProperty Include="PackageTags" />
<ProjectProperty Include="PackageVersion" />
<ProjectProperty Include="RepositoryUrl" />
<ProjectProperty Include="SwaggerTheme" />
<ProjectProperty Include="TargetFramework" />
<ProjectProperty Include="TargetFrameworks" />
<ProjectProperty Include="TermsOfServiceUrl" />
<ProjectProperty Include="Title" />
<ProjectProperty Include="Version" />
Expand All @@ -38,5 +44,19 @@
<CompilerVisibleItemMetadata Include="Author" MetadataName="Identity" />
<CompilerVisibleItemMetadata Include="Author" MetadataName="Initials" />
<CompilerVisibleItemMetadata Include="Author" MetadataName="GitHubId" />
<CompilerVisibleItemMetadata Include="Owner" MetadataName="Email" />
<CompilerVisibleItemMetadata Include="Owner" MetadataName="Identity" />
<CompilerVisibleItemMetadata Include="Owner" MetadataName="Initials" />
<CompilerVisibleItemMetadata Include="Owner" MetadataName="GitHubId" />
<CompilerVisibleItemMetadata Include="PackageReference" MetadataName="IncludeAssets" />
<CompilerVisibleItemMetadata Include="PackageReference" MetadataName="ExcludeAssets" />
<CompilerVisibleItemMetadata Include="PackageReference" MetadataName="PrivateAssets" />
<CompilerVisibleItemMetadata Include="PackageReference" MetadataName="Version" />
<CompilerVisibleItemMetadata Include="PackageReference" MetadataName="VersionOverride" />
<CompilerVisibleItemMetadata Include="PackageReference" MetadataName="Pack" />
<CompilerVisibleItemMetadata Include="PackageReference" MetadataName="GeneratePathProperty" />
<CompilerVisibleItemMetadata Include="PackageReference" MetadataName="CopyLocal" />
<CompilerVisibleItemMetadata Include="Using" MetadataName="Alias" />
<CompilerVisibleItemMetadata Include="Using" MetadataName="IsStatic" />
</ItemGroup>
</Project>
20 changes: 16 additions & 4 deletions src/Build/Custom/CustomBeforeCentralpackageVersions.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,46 @@
<!-- Transforms <SourceGeneratorPackageReference /> items into <PackageReference /> items with appropriate includes/excludes -->
<ItemGroup>
<PackageReference Include="@(SourceGeneratorPackageReference)">
<IncludeAssets>Analyzers;Build</IncludeAssets>
<GeneratePathProperty>true</GeneratePathProperty>
<CopyLocal>true</CopyLocal>
<ExcludeAssets>Native;BuildTransitive;BuildMultitargeting;ContentFiles;Compile;Runtime</ExcludeAssets>
<IncludeAssets>Analyzers;Build</IncludeAssets>
<Pack>true</Pack>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<SourceGeneratorPackageReference Remove="@(SourceGeneratorPackageReference)" />
</ItemGroup>
<!-- Transforms <SourceGeneratorProjectReference /> items into <ProjectReference /> items with appropriate properties -->
<ItemGroup>
<ProjectReference Include="@(SourceGeneratorProjectReference)">
<CopyLocal>true</CopyLocal>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
<GeneratePathProperty>true</GeneratePathProperty>
<OutputItemType>Analyzer</OutputItemType>
<Targets>Restore;Build;Pack</Targets>
<Pack>true</Pack>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<SetConfiguration>Configuration=$(Configuration)</SetConfiguration>
<Targets>Restore;Build;Pack</Targets>
</ProjectReference>
</ItemGroup>
<!-- Transforms <SourceCodePackageReference /> items into <PackageReference /> items with appropriate includes/excludes -->
<ItemGroup>
<PackageReference Include="@(SourceCodePackageReference)">
<IncludeAssets>ContentFiles;Build;BuildTransitive;BuildMultitargeting</IncludeAssets>
<CopyLocal>true</CopyLocal>
<ExcludeAssets>Analyzers;Runtime;Native</ExcludeAssets>
<GeneratePathProperty>true</GeneratePathProperty>
<IncludeAssets>ContentFiles;Build;BuildTransitive;BuildMultitargeting</IncludeAssets>
<Pack>true</Pack>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<SourceCodePackageReference Remove="@(SourceCodePackageReference)" />
</ItemGroup>
<!-- Transforms <UsingsPackageReference /> items into <PackageReference /> items with appropriate includes/excludes -->
<ItemGroup>
<PackageReference Include="@(UsingsPackageReference)">
<IncludeAssets>Build;BuildTransitive;BuildMultitargeting;Runtime</IncludeAssets>
<ExcludeAssets>ContentFiles;Native;Compile</ExcludeAssets>
<IncludeAssets>Build;BuildTransitive;BuildMultitargeting;Runtime</IncludeAssets>
<PrivateAssets>None</PrivateAssets>
</PackageReference>
<UsingsPackageReference Remove="@(UsingsPackageReference)" />
Expand Down
5 changes: 1 addition & 4 deletions src/Build/ItemDefinitionGroups.props
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@
</ProjectReference>
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<SourceGenerator Visible="false">
<IncludeAssets>Build; BuildMultitargeting; BuildTransitive;Analyzers</IncludeAssets>
<ExcludeAssets>Compile; Runtime; ContentFiles; Native</ExcludeAssets>
</SourceGenerator>
<SourceGeneratorPackageReference Visible="false" />
</ItemDefinitionGroup>
<ItemDefinitionGroup>
<UsingsPackageReference>
Expand Down

0 comments on commit d9fa3c4

Please sign in to comment.