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

Cannot "Build" - only Rebuild or Clean #1254

Open
pablo-msft opened this issue Mar 25, 2024 · 0 comments
Open

Cannot "Build" - only Rebuild or Clean #1254

pablo-msft opened this issue Mar 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pablo-msft
Copy link

  1. Edit a target of your choice in build-all.bat script to build instead of rebuild, for example:

call tools\RunMsBuild.bat x64 Release "sqlite:Rebuild,zlib:Rebuild,win32-lib:Rebuild" %CUSTOM_PROPS%
call tools\RunMsBuild.bat x64 Release "sqlite:Build,zlib:Build,win32-lib:Build" %CUSTOM_PROPS%
or perhaps:
call tools\RunMsBuild.bat x64 Release "sqlite:Rebuild,zlib:Rebuild,win32-lib:Build" %CUSTOM_PROPS%

  1. Run script

error MSB4057: The target "sqlite:Build" does not exist in the project. [cpp_client_telemetry\Solutions\MSTelemetrySDK.sln]
error MSB4057: The target "win32-lib:Build" does not exist in the project. [cpp_client_telemetry\Solutions\MSTelemetrySDK.sln]

Expected behavior:
"Build" ought to be a valid target. https://stackoverflow.com/questions/57719166/what-are-the-existing-build-targets-for-msbuild
"Rebuild" and "Clean" work as expected.

@pablo-msft pablo-msft added the bug Something isn't working label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant