aspnet / dnx

OBSOLETE - see readme
Other
963 stars 224 forks source link

xproj, DNX and msbuild recompilation without any changes #3384

Closed xoofx closed 8 years ago

xoofx commented 8 years ago

Hi, Not sure if there was an issue already for this, sorry if it has already been reported. After migrating some of my projects to use xproj and DNX, I noticed that when re-compiling a project, it seems to recompile everything even if nothing has changed. When targeting multiple platforms, it takes several seconds to re-compile a project, quite annoying...

From the Microsoft.DNX.targets file, It looks like DNX is not cooperating with MSBUILD in order to provide the list of input files that it used to compile the project (and output files so that msbuild knows what to check) so that msbuild doesn't retrigger DNX if nothing changed.

Is this a known issue? Is there a plan to improve this?

davidfowl commented 8 years ago

It's fixed in RC2 with the .NET CLI, the builds are incremental. Assuming you're on the command line as well right?

xoofx commented 8 years ago

Oh! good to hear that it will be part of the .NET CLI! I'm not using the command line, only building from VS. Will follow more closely .NET CLI. Thanks!