Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msbuild parameter add code in command line #2754

Open
DerKleinePunk opened this issue Jul 27, 2023 · 2 comments
Open

msbuild parameter add code in command line #2754

DerKleinePunk opened this issue Jul 27, 2023 · 2 comments

Comments

@DerKleinePunk
Copy link

DerKleinePunk commented Jul 27, 2023

C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe SimpleAppAndService.sln /t:Build /m /nodeReuse:False /tv:Current /v:m /flp1:LogFile=build.log;Verbosity=d;Append /p:RestorePackages=False /p:Configuration=Release /p:Platform=x86 /p:dummy=test"fun:quoteString@686"
D:\Projects\DevOps\TestBuildPipeLine> "C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe" SimpleAppAndService.sln /t:Build /m /nodeReuse:False /tv:Current /v:m /flp1:LogFile=build.log;Verbosity=d;Append /p:RestorePackages=False /p:Configuration=Release /p:Platform=x86 /p:dummy=test"fun:quoteString@686" (In: false, Out: false, Err: false)

fun:quoteString@686 this added by Fake Why ?

Fake Version 6.0.0

Code in build.fs

let setParams (defaults: MSBuildParams) = 
    { defaults with
        ToolsVersion = Some("Current")
        Verbosity = Some(Minimal)
        FileLoggers = Some(loggerConfig)
        Targets = [mode]
        NodeReuse = false
        DisableInternalBinLog = true
        Properties =
            [
                "Configuration", buildMode
                "Platform", "x86"
                "dummy", "test"
            ]
    }

Fake.DotNet.MSBuild.build setParams (solutionFile)
@github-actions
Copy link

Welcome to the FAKE community! Thank you so much for creating your first issue and therefore improving the project!

@poroburu
Copy link

Seems related to: #2738, which also adds fun:quoteString@686

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

No branches or pull requests

2 participants