Skip to content

Conversation

@CZEMacLeod
Copy link
Owner

Handle case where SolutionName is not set (or set to Undefined)

Fixes #32

PR Classification

New feature implementation for improved configuration handling in the project.

PR Summary

This pull request introduces a new PowerShell script for setting web application targets and enhances the configuration logic in existing classes.

  • C3D.Extensions.Aspire.sln: Added Set-WebApplicationTargetsPath.ps1 to the build section.
  • Set-WebApplicationTargetsPath.ps1: Implemented logic to retrieve Visual Studio installation path and set the WebApplicationsTargetPath environment variable.
  • IISEndPointConfigurator.cs: Modified Configure method to use a fallback for ApplicationHostConfig.
  • IISExpressOptions.cs: Improved validation for ApplicationHostConfig to check for null, empty values, and invalid characters.

@CZEMacLeod CZEMacLeod merged commit 1aa778e into main Jun 10, 2025
1 check passed
@CZEMacLeod CZEMacLeod deleted the fix-solutionname-32 branch June 10, 2025 18:56
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.

Aspire CLI causes problem with SolutionName

2 participants