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 task does not specify any outputs #117

Open
citizenmatt opened this issue Oct 7, 2019 · 1 comment
Open

msbuild task does not specify any outputs #117

citizenmatt opened this issue Oct 7, 2019 · 1 comment

Comments

@citizenmatt
Copy link

The README states:

Prior to execution, this task will parse the provided project file and gather all its inputs (which are added to the task inputs):

  • included files (Compile, EmbeddedResource, None, Content)
  • ProjectReference (recursively gathers its inputs) // TODO: should use outputs instead ?
  • References with a HintPath

But when run, the task is found to be not up-to-date because "Task has not declared any outputs despite executing actions".

Is this expected behaviour? Is there an extra step required to register outputs? And if so, will this mean that with inputs/outputs registered, Gradle will do an up-to-date check without having to call msbuild directly?

@ngyukman
Copy link
Contributor

ngyukman commented Nov 1, 2019

Hi

To allow up-to-date check we should use the incremental build from msbuild (gradle does not understand msbuild's artifact)

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