Closed akhansari closed 8 months ago
The issue is here:
because appendQuotedIfNotNull
works differently than expected. The first parameter gets passed "Some" as a function, which doesn't make any sense.
This issue is open since months, without fix (which is even available as PR) MsBuild module is effectively unusable. can one pls merge the PR and release a "hot fix"? thx
Is there going to be a release which includes this fix?
@xperiandri @Numpsy are we going to see a release? It would be really helpful if we could get one.
Do we have the release notes file updated? https://fake.build/guide/contributing.html#Release-Process If so I'm ready to release.
Do we have the release notes file updated? https://fake.build/guide/contributing.html#Release-Process If so I'm ready to release.
Does the shortHash function added in #2752 / #2770 need adding to the relase note?
@xperiandri @Numpsy If its between working code and having notes, I'd say I'd prefer to have a release. Right now my team is pretty confused why they can't use msbuild without some dummy field. If we can update the notes too that sounds neat but we shouldn't let that block us. Let me know if I can help
@Numpsy Let's add that and I release
Description
MSBuild.build adds always a bad string at the end of properties.
Like:
/p:foo=bar<fun:quoteString@686>
Repro steps
Expected behavior
"C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe" MyProject.csproj /m /nodeReuse:False /p:RestorePackages=False /p:Configuration=Release /p:DeployOnBuild=True /p:DeployDefaultTarget=WebPublish /p:WebPublishMethod=FileSystem /p:PublishUrl=publish%5CMyProject /p:Version=1.1.0-beta
Actual behavior
"C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe" MyProject.csproj /m /nodeReuse:False /p:RestorePackages=False /p:Configuration=Release /p:DeployOnBuild=True /p:DeployDefaultTarget=WebPublish /p:WebPublishMethod=FileSystem /p:PublishUrl=publish%5CMyProject /p:Version=1.1.0-beta
<fun:quoteString@686>
Known workarounds
Add a dummy property at the end.
Related information