Comments (3)
In that binlog:
CoreCompile
is running because of<Target Name="_SetGeneratedOutputItems" DependsOnTargets="CoreCompile">
frommicrosoft.visualstudio.extensibility.jsongenerators.sdk\17.10.2079\build\Microsoft.VisualStudio.Extensibility.JsonGenerators.Sdk.props
- That's depended on by
ExtensionJsonOutputGroup
- That's explicitly requested in the reference through VSSDK targets by
I think two things should be done:
- The VSSDK should be updated so that reference is
Compile
instead ofCoreCompile
, which would trigger all of$(CompileDependsOn)
in order and work. CoreCompile
for VB and C# should consider adding an explicit dependency onResolveKeySource
.
The reason I'm saying "consider" for 2 is that right now CoreCompile
doesn't really have any explicit dependencies and depends on the implicit $(BuildDependsOn)
/$(CompileDependsOn)
ordering. That can produce other problems like this (I'm a bit surprised for example that NuGet references made it into this compilation)--but adding a constraints to target order has been a surprisingly breaking operation in the past due to how people have hooked the fragile existing system.
from msbuild.
- The VSSDK should be updated so that reference is
Compile
instead ofCoreCompile
, which would trigger all of$(CompileDependsOn)
in order and work.
I did this in an internal PR that I just completed; not sure when there'll be a new package for Roslyn to reference @jjonescz.
from msbuild.
Thanks, now after updating VSSDK with the fix I see a similar issue - WPF markup is not getting compiled. Again it looks like target CoreBuild
depends on PrepareResources
which depends on MarkupCompilePass1
and CoreCompile
is not in this dependency chain so it can run before MarkupCompilePass1
- failing to find the C# files generated from WPF XAML markup files.
Here are binlogs - first a failing one then another succeeding on rebuild for comparison: wpf-binlogs.zip
Edit: thinking more about this it's weird the generated files are getting deleted on incremental rebuilds, I should look into that.
Edit2: nevermind, they are not getting deleted, they are just not passed as Compile items.
from msbuild.
Related Issues (20)
- Eliminate workarounds in Terminal Logger
- [dnceng-bot] Branch `msbuild/exp/dont-ngen-resource-assemblies` can't be mirrored to Azdo fast forward branch HOT 1
- Analyzer for "bad" AssemblySearchPaths HOT 3
- [Feature Request]: Specify the .editorconfig path when incorrect value is specified
- [BuildCheck] E2E testing plan
- [Testing][f-alizada]: Testing effort of BuildCheck HOT 1
- [Testing][AR-May]: Testing effort of BuildCheck
- [Bug]: Recent ToolTask change causes Exec task to miss output HOT 2
- [Testing][maridematte]: Testing effort of BuildCheck
- [Testing][MichalPavlik]: Testing effort of BuildCheck
- [Testing][surayya-MS]: Testing effort of BuildCheck
- [Testing][YuliiaKovalova]: Testing effort of BuildCheck
- SharedOutputPathAnalyzer should populate precise locations HOT 1
- [Test]: Add E2E test of the BuildCheck with severity set to None
- [Test]: Add e2e test of BuildCheck for severity set to Error
- [Documentation]: Document the command line switch from BuildCheck
- [Bug]: Building inline task invocation succeeded with an error
- [Testing][GangWang01]: Testing effort of BuildCheck
- [Testing][JaynieBai]: Testing effort of BuildCheck
- [Bug] Args type resolution in Expander
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msbuild.