ThisAssembly.Project 1.0.8

** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Project` class with public
constants exposing project properties that have been opted into this mechanism by adding
them as `ProjectProperty` MSBuild items in project file, such as:

   <PropertyGroup>
     <Foo>Bar</Foo>
   </PropertyGroup>

   <ItemGroup>
     <ProjectProperty Include="Foo" />
   </ItemGroup>

A corresponding `ThisAssembly.Project.Foo` constant with the value `Bar` is provided.

Generated code:
C#:

 partial class ThisAssembly
 {
     public static partial class Project
     {
         public const string Foo = "Bar";
     }
 }



Built from https://github.com/devlooped/ThisAssembly/tree/14cf2358e

Install-Package ThisAssembly.Project -Version 1.0.8
dotnet add package ThisAssembly.Project --version 1.0.8
<PackageReference Include="ThisAssembly.Project" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ThisAssembly.Project --version 1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ThisAssembly.Project, 1.0.8"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ThisAssembly.Project as a Cake Addin
#addin nuget:?package=ThisAssembly.Project&version=1.0.8

// Install ThisAssembly.Project as a Cake Tool
#tool nuget:?package=ThisAssembly.Project&version=1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://github.com/devlooped/ThisAssembly/blob/main/changelog.md

NuGet packages (4)

Showing the top 4 NuGet packages that depend on ThisAssembly.Project:

Package Downloads
ThisAssembly
Meta-package that includes all ThisAssembly.* packages. ** C# 9.0 ONLY ** Built from https://github.com/devlooped/ThisAssembly/tree/14cf2358e
SkinnyControllersGenerator
** C# 9.0 ONLY ** Autogenerates actions to a controller from a class . ( replace below single quotes with double quotes) [AutoActions(template = TemplateIndicator.AllPost,FieldsName =new[] { 'repository' }, ExcludeFields =new[]{'_logger'})] [ApiController] [Route('[controller]/[action]')] public partial class WeatherForecastController : ControllerBase{ // it will generate for this field private readonly RepositoryWF repository; Add also Nuget package SkinnyControllersCommon For creating new generic templates, see readme.txt
AOPEFGenerator
** C# 9.0 ONLY ** Autogenerates for EF Data2Code Add also Nuget package AOPEFCommon You can have your own template - read the readme.txt
AOPMethodsGenerator
** C# 9.0 ONLY ** Autogenerates public methods from a class . ( replace below single quotes with double quotes) [AutoMethods(template = TemplateMethod.CallerAtttributes, MethodPrefix ='pub', MethodSuffix ='bup')] partial class Person { public string LastName { get; set; } public string FirstName { get; set; } private string pubFullName() { return FirstName + ' ' + LastName; } private void pubWriteToConsoleFullName() { Console.WriteLine(this.FullName()); } } // it will generate for this class the public methods public string FullName public string WriteToConsoleFullName Add also Nuget package AOPMethodsCommon You can have your own template - read the readme.txt

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.8 228 4/29/2021
1.0.7 1,483 3/16/2021
1.0.6 504 3/9/2021
1.0.5 471 1/30/2021
1.0.4 73 1/27/2021
1.0.3 1,064 12/15/2020
1.0.2 198 12/10/2020
1.0.1 174 12/10/2020
1.0.0 1,602 11/21/2020
1.0.0-rc.1 290 10/28/2020
1.0.0-rc 525 10/23/2020
1.0.0-beta 840 10/15/2020
1.0.0-alpha.3 242 10/8/2020
1.0.0-alpha.2 123 10/8/2020
1.0.0-alpha.1 125 10/8/2020
1.0.0-alpha 437 10/3/2020
0.10.6 333 9/22/2020
0.10.5 183 9/21/2020