-
Couldn't load subscription status.
- Fork 1.2k
Closed
Description
Repro:
dotnet new -t msbuild
Add a .resx file
dotnet restore3
dotnet build3
dotnet build3
Expected results:
The 2nd build3 should be faster than the first, by a lot since nothing has changed.
Actual results:
The 2nd build3 takes the same amount of time on my machine. Doing a /v:diag produces:
Building target "CoreCompile" completely.
Input file "obj\Debug\netstandard1.3\NuGet.Frameworks.Strings.resources" is newer than output file "bin\Debug\\netstandard1.3\NuGet.Frameworks.xml".
and earlier that generated the NuGet.Frameworks.Strings.resources
Target "CoreResGen: (TargetId:32)" in file "F:\cli\artifacts\win10-x64\stage2\sdk\1.0.0-preview3-003844\Microsoft.Common.CurrentVersion.targets" from project "F:\git\JoelNuGet\src\NuGet.Core\NuGet.Frameworks\NuGet.Frameworks.csproj" (target "ResGen" depends on it):
Set Property: GenerateResourceMSBuildArchitecture=CurrentArchitecture
Set Property: ResgenToolPath=
Set Property: GenerateResourceMSBuildRuntime=CurrentRuntime
Using "GenerateResource" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "GenerateResource" (TaskId:15)
@rainersigwald - I'm not seeing where the problem is off the top of my head. It looks like the CoreResGen task in Microsoft.Common.CurrentVersion.targets should be incremental, but isn't.
Metadata
Metadata
Assignees
Labels
No labels