-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Building project with PreserveCompilationContext and PreserveCompilationReferences set to true, creates .dlls in refs folder without modifed date #24200
Comments
@JunTaoLuo where this should go? |
Also tagging @dougbu, since this might have just changed with the ref assemblies changes. |
Doesn't relate to any recent changes in how we create ref/ assemblies since those have been limited to our 'master' branch. This instead duplicates dotnet/extensions#2750 aka NuGet/Home#8599. The bad news is
The good new is I don't see similar issues with the 5.0 versions of Microsoft.AspNetCore.App.Ref nor any of our runtime packages. Problems originate in broken @Pilchie should we rebuild Microsoft.Internal.Extensions.Refs and ship another targeting pack in (say) 3.1.8❔ Or, should we document the following hack❔ Get-ChildItem | Where {$_.LastWriteTime.Year -eq '1980'} | % {$_.LastWriteTime = $_.CreationTime } /fyi @rrelyea |
Doh! I missed that this was 3.1 and not a 5.0 preview. I think we should consider fixing this by servicing the targeting pack, but first I want to understand what the customer scenario is. @Dainius14 - can you describe the impact of this issue? What does it prevent you from doing? |
Creating a package from the solution with Nuget 4.8.1 fails with the same error as in the previously mentioned isssue - And we must use these two flags, because we're compiling templates at runtime (otherwise it throws missing Antiforgery.dll error). |
- build targeting pack to pick up NuGet/Home#8599 fix - #2750 and dotnet/aspnetcore#24200 1/2
- build targeting pack to pick up NuGet/Home#8599 fix - #2750 and dotnet/aspnetcore#24200 1/2
* Update branding to 2.1.21 (#3353) * Fixup * Update branding to 3.1.8 - build targeting pack to pick up NuGet/Home#8599 fix - #2750 and dotnet/aspnetcore#24200 1/2 * Revert "Update branding to 3.1.8" - oops This reverts commit 6038250. Co-authored-by: John Luo <[email protected]> Co-authored-by: Will Godbe <[email protected]> Co-authored-by: Doug Bunting <[email protected]>
- build targeting pack to pick up NuGet/Home#8599 fix - #2750 and dotnet/aspnetcore#24200 1/2 - suppress MSB3243 warnings because ref/ and src/ assemblies have different versions
- build targeting pack to pick up NuGet/Home#8599 fix - #2750 and dotnet/aspnetcore#24200 1/2 - suppress MSB3243 warnings because ref/ and src/ assemblies have different versions - fake the baseline update - remainder must be done after the 3.1.7 release
- build targeting pack to pick up NuGet/Home#8599 fix - #2750 and dotnet/aspnetcore#24200 1/2 - suppress MSB3243 warnings because ref/ and src/ assemblies have different versions - fake the baseline update - remainder must be done after the 3.1.7 release
- build targeting pack to pick up NuGet/Home#8599 fix - dotnet/extensions#2750 and #24200 2/2 - requires follow-up after next official extensions build - fake the baseline update - remainder must be done after the 3.1.7 release
- build targeting pack to pick up NuGet/Home#8599 fix - #2750 and dotnet/aspnetcore#24200 1/2 - suppress MSB3243 warnings because ref/ and src/ assemblies have different versions - fake the baseline update - remainder must be done after the 3.1.7 release
- build targeting pack to pick up NuGet/Home#8599 fix - dotnet/extensions#2750 and #24200 2/2 - requires follow-up after next official extensions build - fake the baseline update - remainder must be done after the 3.1.7 release
Fix for this should be in our 3.1.8 release |
@dougbu this should be closed now, right? |
I was waiting for the 3.1.8 release but should have closed this after @wtgodbe and I confirmed the targeting packs looked good. |
Describe the bug
Building project with PreserveCompilationContext and PreserveCompilationReferences set to true, creates .dlls in refs folder without modifed date.
To Reproduce
bin/../../refs
folder.Further technical details
Notes
This issue does not happen when targeting older ASP.NET Core (3.0, 2.2).
I've tried specifying multiple 3.1 SDKs and the same bug happens.
Seems to be related dotnet/extensions#2750
The text was updated successfully, but these errors were encountered: