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
davkean
changed the title
Calculating ManagedXamlResourcesDirectory is taking ~2% of evaluation for a solution-wide design-time build
Calculating $(ManagedXamlResourcesDirectory) is taking ~2% of evaluation for a solution-wide design-time build
Sep 14, 2017
Two thoughts on this if the binder rewrite gets punted:
It might be sinplest if the project system just calculated the resource directory once and passed it in.
Does $([MSBuild]::Add(0, $(Value))) help bind straight to integers? I've used a variant of that once in to force an arg to string.format to be treated as an int.
From: dotnet/sdk#1586.
<ManagedXamlResourcesDirectory Condition="!Exists('$(ManagedXamlResourcesDirectory)')" >$(MSBuildThi...
https://github.com/dotnet/project-system/blob/master/src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/DesignTimeTargets/Microsoft.Managed.DesignTime.targets#L46
The text was updated successfully, but these errors were encountered: