ThisAssembly.Prerequisites 1.2.7
Ensures that referencing project is using a compatible Compiler API (Roslyn).
Showing the top 20 packages that depend on ThisAssembly.Prerequisites.
| Packages | Downloads |
|---|---|
|
ThisAssembly.Constants
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Constants` class with public
constants for each Constant MSBuild item in the project.
For example:
<ItemGroup>
<Constant Include="Foo.Bar" Value="Baz" />
</ItemGroup>
Results in a corresponding `ThisAssembly.Constants.Foo.Bar` constant with the value `Baz`:
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Constants
{
public static partial class Foo
{
public const string Bar = "Baz";
}
}
}
Built from https://github.com/kzu/ThisAssembly/tree/441607878
|
4 |
|
ThisAssembly.Constants
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Constants` class with public
constants for each Constant MSBuild item in the project.
For example:
<ItemGroup>
<Constant Include="Foo.Bar" Value="Baz" />
</ItemGroup>
Results in a corresponding `ThisAssembly.Constants.Foo.Bar` constant with the value `Baz`:
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Constants
{
public static partial class Foo
{
public const string Bar = "Baz";
}
}
}
Built from https://github.com/kzu/ThisAssembly/tree/8e66ac47d
|
4 |
|
ThisAssembly.Constants
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Constants` class with public
constants for each Constant MSBuild item in the project.
For example:
<ItemGroup>
<Constant Include="Foo.Bar" Value="Baz" />
</ItemGroup>
Results in a corresponding `ThisAssembly.Constants.Foo.Bar` constant with the value `Baz`:
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Constants
{
public static partial class Foo
{
public const string Bar = "Baz";
}
}
}
Built from /tree/97da74d9e
|
4 |
|
ThisAssembly.Metadata
This package generates a static `ThisAssembly.Metadata` class with public
constants exposing each `[System.Reflection.AssemblyMetadata(..)]` defined for the project,
such as when using .NET 5.0+ support for `AssemblyMetadata` MSBuild items.
So for an attribute like:
[assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")]
A corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar` is provided.
The metadata attribute can alternatively be declared using MSBuild in the project
(for .NET 5.0+ projects):
<ItemGroup>
<AssemblyMetadata Include="Foo" Value="Bar" />
</ItemGroup>
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Metadata
{
public const string Foo = "Bar";
}
}
|
4 |
|
ThisAssembly.Metadata
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Metadata` class with public
constants exposing each `[System.Reflection.AssemblyMetadata(..)]` defined for the project,
such as when using .NET 5.0+ support for `AssemblyMetadata` MSBuild items.
So for an attribute like:
[assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")]
A corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar` is provided.
The metadata attribute can alternatively be declared using MSBuild in the project
(for .NET 5.0+ projects):
<ItemGroup>
<AssemblyMetadata Include="Foo" Value="Bar" />
</ItemGroup>
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Metadata
{
public const string Foo = "Bar";
}
}
Built from /tree/97da74d9e
|
4 |
|
ThisAssembly.Metadata
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Metadata` class with public
constants exposing each `[System.Reflection.AssemblyMetadata(..)]` defined for the project,
such as when using .NET 5.0+ support for `AssemblyMetadata` MSBuild items.
So for an attribute like:
[assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")]
A corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar` is provided.
The metadata attribute can alternatively be declared using MSBuild in the project
(for .NET 5.0+ projects):
<ItemGroup>
<AssemblyMetadata Include="Foo" Value="Bar" />
</ItemGroup>
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Metadata
{
public const string Foo = "Bar";
}
}
Built from https://github.com/devlooped/ThisAssembly/tree/1af5a25ed
|
4 |
|
ThisAssembly.Metadata
** C# 9.0+ ONLY **
This package generates a static `ThisAssembly.Metadata` class with public
constants exposing each `[System.Reflection.AssemblyMetadata(..)]` defined for the project,
such as when using .NET 5.0+ support for `AssemblyMetadata` MSBuild items.
So for an attribute like:
[assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")]
A corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar` is provided.
The metadata attribute can alternatively be declared using MSBuild in the project
(for .NET 5.0+ projects):
<ItemGroup>
<AssemblyMetadata Include="Foo" Value="Bar" />
</ItemGroup>
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Metadata
{
public const string Foo = "Bar";
}
}
|
4 |
|
ThisAssembly.Constants
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Constants` class with public
constants for each Constant MSBuild item in the project.
For example:
<ItemGroup>
<Constant Include="Foo.Bar" Value="Baz" />
</ItemGroup>
Results in a corresponding `ThisAssembly.Constants.Foo.Bar` constant with the value `Baz`:
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Constants
{
public static partial class Foo
{
public const string Bar = "Baz";
}
}
}
Built from https://github.com/kzu/ThisAssembly/tree/9fb55b8d0
|
4 |
|
ThisAssembly.Metadata
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Metadata` class with public
constants exposing each `[System.Reflection.AssemblyMetadata(..)]` defined for the project,
such as when using .NET 5.0+ support for `AssemblyMetadata` MSBuild items.
So for an attribute like:
[assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")]
A corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar` is provided.
The metadata attribute can alternatively be declared using MSBuild in the project
(for .NET 5.0+ projects):
<ItemGroup>
<AssemblyMetadata Include="Foo" Value="Bar" />
</ItemGroup>
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Metadata
{
public const string Foo = "Bar";
}
}
Built from https://github.com/kzu/ThisAssembly/tree/c7bb40af9
|
4 |
|
ThisAssembly.Constants
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Constants` class with public
constants for each Constant MSBuild item in the project.
For example:
<ItemGroup>
<Constant Include="Foo.Bar" Value="Baz" />
</ItemGroup>
Results in a corresponding `ThisAssembly.Constants.Foo.Bar` constant with the value `Baz`:
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Constants
{
public static partial class Foo
{
public const string Bar = "Baz";
}
}
}
Built from https://github.com/kzu/ThisAssembly/tree/c7bb40af9
|
4 |
|
ThisAssembly.Constants
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Constants` class with public
constants for each Constant MSBuild item in the project.
For example:
<ItemGroup>
<Constant Include="Foo.Bar" Value="Baz" />
</ItemGroup>
Results in a corresponding `ThisAssembly.Constants.Foo.Bar` constant with the value `Baz`:
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Constants
{
public static partial class Foo
{
public const string Bar = "Baz";
}
}
}
|
4 |
|
ThisAssembly.Constants
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Constants` class with public
constants for each Constant MSBuild item in the project.
For example:
<ItemGroup>
<Constant Include="Foo.Bar" Value="Baz" />
</ItemGroup>
Results in a corresponding `ThisAssembly.Constants.Foo.Bar` constant with the value `Baz`:
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Constants
{
public static partial class Foo
{
public const string Bar = "Baz";
}
}
}
Built from https://github.com/kzu/ThisAssembly/tree/b159e8161
|
4 |
|
ThisAssembly.Metadata
** C# 9.0 ONLY **
This package generates a static `ThisAssembly.Metadata` class with public
constants exposing each `[System.Reflection.AssemblyMetadata(..)]` defined for the project,
such as when using .NET 5.0+ support for `AssemblyMetadata` MSBuild items.
So for an attribute like:
[assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")]
A corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar` is provided.
The metadata attribute can alternatively be declared using MSBuild in the project
(for .NET 5.0+ projects):
<ItemGroup>
<AssemblyMetadata Include="Foo" Value="Bar" />
</ItemGroup>
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Metadata
{
public const string Foo = "Bar";
}
}
Built from https://github.com/kzu/ThisAssembly/tree/b159e8161
|
4 |
|
ThisAssembly.AssemblyInfo
This package generates a static `ThisAssembly.Info` class with public
constants exposing the following attribute values generated by default for SDK style projects:
* AssemblyConfigurationAttribute
* AssemblyCompanyAttribute
* AssemblyTitleAttribute
* AssemblyProductAttribute
* AssemblyVersionAttribute
* AssemblyInformationalVersionAttribute
* AssemblyFileVersionAttribute
If your project includes these attributes by other means, they will still be emitted properly
on the `ThisAssembly.Info` class.
|
3 |
|
ThisAssembly
Meta-package that includes all ThisAssembly.* packages.
|
3 |
|
ThisAssembly
Meta-package that includes all ThisAssembly.* packages. ** C# 9.0 ONLY **
Built from https://github.com/kzu/ThisAssembly/tree/c7bb40af9
|
3 |
|
ThisAssembly
Meta-package that includes all ThisAssembly.* packages. ** C# 9.0 ONLY **
Built from https://github.com/kzu/ThisAssembly/tree/441607878
|
3 |
|
ThisAssembly
Meta-package that includes all ThisAssembly.* packages. ** C# 9.0 ONLY **
Built from https://github.com/kzu/ThisAssembly/tree/b159e8161
|
3 |
|
ThisAssembly.Metadata
This package generates a static `ThisAssembly.Metadata` class with public
constants exposing each `[System.Reflection.AssemblyMetadata(..)]` defined for the project,
such as when using .NET 5.0+ support for `AssemblyMetadata` MSBuild items.
So for an attribute like:
[assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")]
A corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar` is provided.
The metadata attribute can alternatively be declared using MSBuild in the project
(for .NET 5.0+ projects):
<ItemGroup>
<AssemblyMetadata Include="Foo" Value="Bar" />
</ItemGroup>
Generated code:
C#:
partial class ThisAssembly
{
public static partial class Metadata
{
public const string Foo = "Bar";
}
}
VB:
Namespace Global
Partial Class ThisAssembly
Partial Class Metadata
Public Const Foo = "Bar"
End Class
End Class
End Namespace
F#:
module internal ThisAssembly
module public Metadata =
[<Literal>]
let public Foo = @"Bar"
|
3 |
This package has no dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 1.2.11 | 3 | 06/16/2026 |
| 1.2.10 | 3 | 06/16/2026 |
| 1.2.9 | 3 | 06/16/2026 |
| 1.2.8 | 3 | 06/16/2026 |
| 1.2.7 | 3 | 06/16/2026 |
| 1.2.6 | 3 | 06/16/2026 |
| 1.2.5 | 3 | 06/16/2026 |
| 1.2.4 | 3 | 06/16/2026 |
| 1.2.3 | 3 | 06/16/2026 |
| 1.2.2 | 3 | 06/16/2026 |
| 1.2.1 | 3 | 06/16/2026 |
| 1.2.0 | 3 | 06/16/2026 |
| 1.2.0-rc.1 | 3 | 06/16/2026 |
| 1.2.0-rc | 3 | 06/16/2026 |
| 1.2.0-beta | 3 | 06/16/2026 |
| 1.1.3 | 3 | 06/16/2026 |
| 1.1.2 | 3 | 06/15/2026 |
| 1.1.1 | 3 | 06/16/2026 |
| 1.1.1-beta | 3 | 06/16/2026 |
| 1.1.0 | 2 | 06/16/2026 |
| 1.0.10 | 3 | 06/16/2026 |
| 1.0.9 | 3 | 06/16/2026 |
| 1.0.8 | 3 | 06/16/2026 |
| 1.0.7 | 3 | 06/16/2026 |
| 1.0.6 | 3 | 06/16/2026 |
| 1.0.5 | 3 | 06/16/2026 |
| 1.0.4 | 3 | 06/16/2026 |
| 1.0.3 | 3 | 06/16/2026 |
| 1.0.2 | 2 | 06/16/2026 |
| 1.0.1 | 3 | 06/16/2026 |
| 1.0.0 | 3 | 06/16/2026 |
| 1.0.0-rc.1 | 3 | 06/16/2026 |
| 1.0.0-rc | 3 | 06/16/2026 |
| 1.0.0-beta | 2 | 06/16/2026 |
| 1.0.0-alpha.3 | 2 | 06/16/2026 |
| 1.0.0-alpha.2 | 3 | 06/16/2026 |
| 1.0.0-alpha.1 | 3 | 06/16/2026 |
| 1.0.0-alpha | 3 | 06/16/2026 |