Skip to main content

RSCG_Wait by Andrei Ignat

NuGet / site data​

Nuget GitHub last commit GitHub Repo stars

Details​

Info​

info

Name: RSCG_Wait

This package wait for a time and put all global options into a cs file

Author: Andrei Ignat

NuGet: https://www.nuget.org/packages/RSCG_WaitAndOptions/

You can find more details at https://github.com/ignatandrei/RSCG_WaitAndOptions

Source: https://github.com/ignatandrei/RSCG_WaitAndOptions

Original Readme​

note

RSCG_WaitAndOptions

Wait pending compilation and see compiling options

This package is just for demo purposes and it is not intended to be used in production code.

More details at https://ignatandrei.github.io/RSCG_Examples/v2/docs/GoodPractices

How to use

Add the Nuget package RSCG_WaitAndOptions to your project and use the following code:

<ItemGroup>
<CompilerVisibleProperty Include="RSCG_Wait_Seconds" />
</ItemGroup>
<PropertyGroup>
<RSCG_Wait_Seconds>10</RSCG_Wait_Seconds>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="RSCG_WaitAndOptions" Version="2024.2.24.1940"
OutputItemType="Analyzer" ReferenceOutputAssembly="false"
/>
</ItemGroup>

And then compile the code . You will see in obj/GX the code generated

And you can access by

Console.WriteLine(RSCG_Wait.MyGeneratedCode.DateStart);
Console.WriteLine(RSCG_Wait.MyGeneratedCode.SecondsToWait);
Console.WriteLine(RSCG_Wait.MyGeneratedCode.DateEnd);
Console.WriteLine(RSCG_Wait.OptionsFromBuild.build_property_projectdir);

About​

note

Demo for waiting in compilation and show the options of compiling the code

How to use​

Example (source csproj, source files)​

This is the CSharp Project that references RSCG_Wait

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

</PropertyGroup>
<ItemGroup>
<CompilerVisibleProperty Include="RSCG_Wait_Seconds" />
</ItemGroup>
<PropertyGroup>
<RSCG_Wait_Seconds>10</RSCG_Wait_Seconds>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="RSCG_WaitAndOptions" Version="2024.2.24.1940"
OutputItemType="Analyzer" ReferenceOutputAssembly="false"
/>
</ItemGroup>
<PropertyGroup>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>

</Project>

Generated Files​

Those are taken from $(BaseIntermediateOutputPath)\GX

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool RSCG_Wait.
// Runtime Version: 2024.2.24.1940
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
//pragma warning disable CS1591
namespace RSCG_Wait;
[global::System.CodeDom.Compiler.GeneratedCode("RSCG_Wait", "2024.2.24.1940")]
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
partial class OptionsFromBuild
{//real name: build_property.rootnamespace
public static string build_property_rootnamespace => @"Console_Wait";
//real name: build_property.projecttypeguids
public static string build_property_projecttypeguids => @"";
//real name: build_property.enforceextendedanalyzerrules
public static string build_property_enforceextendedanalyzerrules => @"";
//real name: build_property.rscg_wait_seconds
public static string build_property_rscg_wait_seconds => @"10";
//real name: build_property.targetframework
public static string build_property_targetframework => @"net8.0";
//real name: build_property.targetplatformminversion
public static string build_property_targetplatformminversion => @"";
//real name: build_property.enablecodestyleseverity
public static string build_property_enablecodestyleseverity => @"";
//real name: build_property.invariantglobalization
public static string build_property_invariantglobalization => @"";
//real name: build_property.platformneutralassembly
public static string build_property_platformneutralassembly => @"";
//real name: build_property.effectiveanalysislevelstyle
public static string build_property_effectiveanalysislevelstyle => @"8.0";
//real name: build_property.projectdir
public static string build_property_projectdir => @"D:\eu\GitHub\RSCG_Examples\v2\rscg_examples\RSCG_Wait\src\Console_Wait\";
//real name: build_property.enablecomhosting
public static string build_property_enablecomhosting => @"";
//real name: build_property.enablegeneratedcominterfacecomimportinterop
public static string build_property_enablegeneratedcominterfacecomimportinterop => @"";
//real name: build_property._supportedplatformlist
public static string build_property__supportedplatformlist => @"Linux,macOS,Windows";
//real name: build_property.usingmicrosoftnetsdkweb
public static string build_property_usingmicrosoftnetsdkweb => @"";
}//end class//end namespace

Useful​

Download Example (.NET C#)​

Share RSCG_Wait​

https://ignatandrei.github.io/RSCG_Examples/v2/docs/RSCG_Wait

aaa

Category "EnhancementProject" has the following generators:​

1 AssemblyMetadata Nuget GitHub Repo stars 2026-04-02

2 AssemblyMetadata.Generators Nuget GitHub Repo stars 2026-05-15

3 AssemblyVersionInfo Nuget GitHub Repo stars 2025-07-28

4 AutoInvoke.Generator Nuget GitHub Repo stars 2024-03-03

5 AutoSpectre NugetNuget GitHub Repo stars 2024-02-24

6 Bennewitz.Ninja.AutoVersioning Nuget GitHub Repo stars 2026-07-04

7 BuildInfo Nuget GitHub Repo stars 2024-01-20

8 Credfeto.Version.Information.Generator Nuget GitHub Repo stars 2024-11-05

9 Larcanum.GitInfo Nuget GitHub Repo stars 2025-01-17

10 LinqGen.Generator NugetNuget GitHub Repo stars 2024-03-04

11 Pekspro.BuildInformationGenerator Nuget GitHub Repo stars 2024-07-19

12 PlantUmlClassDiagramGenerator NugetNuget GitHub Repo stars 2024-02-20

13 PropertyResolvers Nuget GitHub Repo stars 2026-08-26

14 RSCG_AMS Nuget GitHub Repo stars 2023-04-16

15 RSCG_ExportDiagram Nuget GitHub Repo stars 2024-08-01

16 RSCG_FunctionsWithDI Nuget GitHub Repo stars 2023-04-16

17 RSCG_NameGenerator Nuget GitHub Repo stars 2024-08-25

18 RSCG_TimeBombComment Nuget GitHub Repo stars 2023-04-16

19 RSCG_Wait Nuget GitHub Repo stars 2024-02-21

20 ShadowWriterProjectInfo Nuget GitHub Repo stars 2025-07-27

21 ThisAssembly Nuget GitHub Repo stars 2023-04-16

22 ThisAssembly.Constants Nuget GitHub Repo stars 2024-07-18

23 ThisAssembly.Metadata Nuget GitHub Repo stars 2024-07-20

See category​

EnhancementProject