RSCG_TimeBombComment 2022.3.10.1720

There is a newer version of this package available.
See the version list below for details.
dotnet add package RSCG_TimeBombComment --version 2022.3.10.1720                
NuGet\Install-Package RSCG_TimeBombComment -Version 2022.3.10.1720                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RSCG_TimeBombComment" Version="2022.3.10.1720" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RSCG_TimeBombComment --version 2022.3.10.1720                
#r "nuget: RSCG_TimeBombComment, 2022.3.10.1720"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RSCG_TimeBombComment as a Cake Addin
#addin nuget:?package=RSCG_TimeBombComment&version=2022.3.10.1720

// Install RSCG_TimeBombComment as a Cake Tool
#tool nuget:?package=RSCG_TimeBombComment&version=2022.3.10.1720                

RSCG_TimeBombComment aka Time Bomb comment for technical debt

Reference the nuget package

    <PackageReference Include="RSCG_TimeBombComment" Version="2022.3.10.1720"  PrivateAssets="all" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />

Just add :

//TB: 2021-09-13 this is a comment transformed into an error

and you will see the error!

The general form is

//TB: yyyy-MM-dd whatever here


Also,you can have this on methods
[Obsolete("should be deleted", TB_20210915)]
static string Test1()
{
    return "asdasd";
}

Also, when you want to test something in your code, but give error if compiled with release

//Just for debug: if(args.length>0) throw new ArgumentException();
//JFD: test

will raise error if compiled with

dotnet build -c release

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2023.12.19.1802 43,056 12/19/2023
2023.10.21.806 11,746 10/21/2023
2023.5.9.2110 1,719 5/9/2023
2023.5.9.1916 148 5/9/2023
2022.3.10.1720 1,501 3/10/2022
2021.9.15.2200 331 9/15/2021
2021.9.14.2237 385 9/14/2021