Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build locates restore files in BaseIntermediateOutputPath instead of RestoreOutputPath #1486

Closed
jkoritzinsky opened this issue Aug 14, 2017 · 2 comments
Assignees
Milestone

Comments

@jkoritzinsky
Copy link
Member

jkoritzinsky commented Aug 14, 2017

Relevant source:

<ProjectAssetsFile Condition="'$(ProjectAssetsFile)' == ''">$(BaseIntermediateOutputPath)/project.assets.json</ProjectAssetsFile>

If a user uses the RestoreOutputPath property to change the output path, dotnet restore will put the project.assets.json in that path. dotnet build will fail to find the assets file if RestoreOutputPath is does not resolve to the same location as BaseIntermediateOutputPath.

@dasMulli
Copy link
Contributor

@dsplaisted
Copy link
Member

Fixed with NuGet/NuGet.Client#2131 and dotnet/msbuild#3059. The property to use is now MSBuildProjectExtensionsPath.

dsplaisted added a commit to dsplaisted/sdk that referenced this issue Apr 19, 2018
mmitche pushed a commit to mmitche/sdk that referenced this issue Jun 5, 2020
…0200529.12 (dotnet#1486)

Microsoft.AspNetCore.Analyzers , Microsoft.AspNetCore.Components.Analyzers , Microsoft.AspNetCore.Mvc.Api.Analyzers , Microsoft.AspNetCore.Mvc.Analyzers
 From Version 5.0.0-preview.6.20278.12 -> To Version 5.0.0-preview.6.20279.12

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
GangWang01 pushed a commit to GangWang01/sdk that referenced this issue Jun 7, 2022
Merge loc handbacks from master into stabilize
GangWang01 pushed a commit to GangWang01/sdk that referenced this issue Jul 11, 2022
Merge loc handbacks from master into stabilize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants