You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incremental Csc is broken in our SDK when you have a .resx #284
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.
Activity
rainersigwald commentedon Oct 14, 2016
dotnet/msbuild#1197
CoreResGen isn't incremental anywhere, but the task it invokes is . . . on full framework. We'll need to make it work on .NET Core, too.
nguerrera commentedon Oct 26, 2016
Closing this as the issue is in msbuild and adequately tracked there.
Merge pull request dotnet#284 from aspnet/vramak/WebConfigTransform