Skip to content

Fix value concatenation for functionality - #186

Merged
onikolaiev merged 2 commits into
masterfrom
develop
Jul 9, 2026
Merged

Fix value concatenation for functionality#186
onikolaiev merged 2 commits into
masterfrom
develop

Conversation

@onikolaiev

Copy link
Copy Markdown
Collaborator

This pull request updates the way MSBuild parameters are constructed and passed in the Invoke-FSCCompile function to improve flexibility and maintainability. The main change is to consolidate all required and optional MSBuild parameters into a single string, ensuring that both default and user-supplied parameters are consistently applied.

MSBuild parameter handling:

  • Builds the $msBuildParameters string by including all required /p: parameters (BuildTasksDirectory, MetadataDirectory, FrameworkDirectory, ReferencePath, OutputDirectory), and appends any additional parameters specified in $settings.msBuildParameters.
  • Removes redundant passing of /p: parameters directly to the -P argument of Invoke-MsBuild, ensuring all parameters are passed only through -MsBuildParameters.

These changes simplify parameter management and reduce the risk of missing or conflicting MSBuild arguments.

@onikolaiev
onikolaiev merged commit 909c78f into master Jul 9, 2026
1 check passed
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