aws / aws/jsii

Set Assembly version in Nuget package

Open
#4,804 2 comments 0 reactions 0 assignees View on GitHub
effort/medium feature-request p2
Dominant language
TypeScript
Stars
2.9k
Forks
267
Avg merge
1d 25m
Merged PRs (30d)
14

Description

### Describe the feature

The version of Amazon.CDK.Lib.dll in its Nuget package is 1.0.0.0 for the latest version, and every other version that I have checked. Typically the version of the dll matches the version of package.

### Use Case

Keeping the version the same across multiple versions makes the information useless. The version could be displayed in logs. Also, one should be able to interrogate the assembly from code and take action based upon the version. Perhaps it dictates the version of the cdk cli that is used.

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

2.184.1

### Environment details (OS name and version, etc.)

Windows 10

Contributor guide

Open the contributing guide

Research direction

The issue concerns the Amazon.CDK.Lib.dll assembly inside the NuGet package and reports version 1.0.0.0 while using CDK 2.184.1. Start by tracing how jsii produces and packages the .NET assembly, then compare the assembly metadata with the package version. Done means the DLL version reflects the corresponding package version and remains verifiable from code.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, typescript
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.