Skip to content

Parse file-based app AssemblyName configuration#359

Merged
runesoerensen merged 4 commits intomainfrom
parse-file-based-app-assembly-name-property
Dec 10, 2025
Merged

Parse file-based app AssemblyName configuration#359
runesoerensen merged 4 commits intomainfrom
parse-file-based-app-assembly-name-property

Conversation

@runesoerensen
Copy link
Copy Markdown
Contributor

@runesoerensen runesoerensen commented Dec 8, 2025

This PR adds support for the #:property AssemblyName= directive in file-based apps. Previously, file-based apps always used the filename stem as the assembly name. The assembly name is used when registering launch processes, so using it when defined ensures the buildpack generates the correct launch commands.

Also fixes leading whitespace handling for file-based app directives configuring the project SDK and target framework.

GUS-W-20474431
GUS-W-20500386

@runesoerensen runesoerensen changed the base branch from main to improve-launch-process-detection December 8, 2025 09:01
@runesoerensen runesoerensen changed the title Parse file-based app AssemblyName property Parse file-based app AssemblyName configuration Dec 8, 2025
@runesoerensen runesoerensen force-pushed the parse-file-based-app-assembly-name-property branch from 8ca6735 to 1c616b4 Compare December 10, 2025 06:11
@runesoerensen runesoerensen changed the base branch from improve-launch-process-detection to main December 10, 2025 06:25
@runesoerensen runesoerensen marked this pull request as ready for review December 10, 2025 06:36
@runesoerensen runesoerensen requested a review from a team as a code owner December 10, 2025 06:36
@runesoerensen runesoerensen force-pushed the parse-file-based-app-assembly-name-property branch from 1c616b4 to 45f3143 Compare December 10, 2025 06:46
Comment thread buildpacks/dotnet/CHANGELOG.md Outdated
@runesoerensen runesoerensen force-pushed the parse-file-based-app-assembly-name-property branch from 45f3143 to 86bb2b7 Compare December 10, 2025 14:51
@runesoerensen runesoerensen merged commit 2712276 into main Dec 10, 2025
7 checks passed
@runesoerensen runesoerensen deleted the parse-file-based-app-assembly-name-property branch December 10, 2025 15:15
heroku-linguist Bot added a commit that referenced this pull request Dec 11, 2025
## heroku/dotnet

### Added

- Support for configuring the target framework using `Directory.Build.props`. ([#362](#362))
- Support for configuring the `AssemblyName` property in file-based apps. ([#359](#359))

### Fixed

- Fixed an issue where leading whitespace in file-based app configuration values was incorrectly included. ([#359](#359))
heroku-linguist Bot added a commit that referenced this pull request Dec 13, 2025
## heroku/dotnet

### Added

- Support for configuring the target framework using `Directory.Build.props`. ([#362](#362))
- Support for configuring the `AssemblyName` property in file-based apps. ([#359](#359))

### Fixed

- Fixed an issue where leading whitespace in file-based app configuration values was incorrectly included. ([#359](#359))
heroku-linguist Bot added a commit that referenced this pull request Dec 13, 2025
## heroku/dotnet

### Added

- Support for configuring the target framework using `Directory.Build.props`. ([#362](#362))
- Support for configuring the `AssemblyName` property in file-based apps. ([#359](#359))

### Fixed

- Fixed an issue where leading whitespace in file-based app configuration values was incorrectly included. ([#359](#359))

Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
heroku-linguist Bot added a commit to heroku/cnb-builder-images that referenced this pull request Dec 13, 2025
## heroku/dotnet

### Added

- Support for configuring the target framework using `Directory.Build.props`. ([#362](heroku/buildpacks-dotnet#362))
- Support for configuring the `AssemblyName` property in file-based apps. ([#359](heroku/buildpacks-dotnet#359))

### Fixed

- Fixed an issue where leading whitespace in file-based app configuration values was incorrectly included. ([#359](heroku/buildpacks-dotnet#359))
heroku-linguist Bot added a commit to heroku/cnb-builder-images that referenced this pull request Dec 13, 2025
## heroku/dotnet

### Added

- Support for configuring the target framework using `Directory.Build.props`. ([#362](heroku/buildpacks-dotnet#362))
- Support for configuring the `AssemblyName` property in file-based apps. ([#359](heroku/buildpacks-dotnet#359))

### Fixed

- Fixed an issue where leading whitespace in file-based app configuration values was incorrectly included. ([#359](heroku/buildpacks-dotnet#359))

Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants