dotnet / dotnet/sdk

Transient ProjectReference to .esproj breaks build due to IgnoreJavaScriptOutputAssembly target running before IncludeTransitiveProjectReferences

Open
#46,347 5 comments 0 reactions 1 assignee Claimed by @marcpopMSFT View on GitHub
Area-esproj Area-NetSDK
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Describe the bug

With this project structure:
- ProjA.csproj
- ProjectReference: ProjB.csproj
-ProjB.csproj
- ProjectReference: ProjC.esproj
- ProjC.esproj

Building the solution fails with because it is looking for ProjC.dll

This is caused by the IgnoreJavaScriptOutputAssembly target in Microsoft.Common.CurrentVersion.targets running before IncludeTransitiveProjectReferences

### To Reproduce

### Exceptions (if any)

### Further technical details
- Include the output of `dotnet --info`
- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.