rscgutils 2023.514.835
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package rscgutils --version 2023.514.835
NuGet\Install-Package rscgutils -Version 2023.514.835
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="rscgutils" Version="2023.514.835" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add rscgutils --version 2023.514.835
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: rscgutils, 2023.514.835"
#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 rscgutils as a Cake Addin #addin nuget:?package=rscgutils&version=2023.514.835 // Install rscgutils as a Cake Tool #tool nuget:?package=rscgutils&version=2023.514.835
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RSCG_Utils
Roslyn Source Code Generators Utils
Usage
Additional Files
Allow you to see additional files directly as C# const. For this, please add some .gen. files to the project.
In your csproj
<ItemGroup>
<PackageReference Include="rscgutils" Version="2023.502.835" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Second.gen.txt" />
<AdditionalFiles Include="first.gen.txt" />
<AdditionalFiles Include="test\Afirst.gen.txt" />
<AdditionalFiles Include="sql/**/*" />
</ItemGroup>
In the code
//see https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/raw-string
string x= MyAdditionalFiles.Second_gen_txt;
To debug, you can add into the .csproj
<PropertyGroup>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GeneratedX</CompilerGeneratedFilesOutputPath>
</PropertyGroup>
More details at http://msprogrammer.serviciipeweb.ro/2023/05/08/file-to-csharp-const/
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
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 |
---|---|---|
2024.2000.2000 | 222 | 3/15/2024 |
2024.1859.1955 | 212 | 3/12/2024 |
2024.1858.1957 | 194 | 3/15/2024 |
2024.1858.1931 | 187 | 3/12/2024 |
2024.1857.1858 | 178 | 3/12/2024 |
2023.914.2016 | 277 | 9/14/2023 |
2023.827.1021 | 394 | 8/27/2023 |
2023.827.904 | 309 | 8/27/2023 |
2023.827.621 | 250 | 8/27/2023 |
2023.826.1704 | 276 | 8/27/2023 |
2023.514.835 | 214 | 5/14/2023 |
2023.502.835 | 209 | 5/2/2023 |
2023.501.2230 | 164 | 5/1/2023 |
2023.501.951 | 179 | 5/1/2023 |
2023.8.26.1704 | 266 | 8/26/2023 |