Compile Fails in 2022 Preview but works in 2022 #58748
Labels
area-ui-rendering
Includes: MVC Views/Pages, Razor Views/Pages
Author: Migration Bot 🤖
The issue was created by a issue mover bot. The author may not be the actual author.
feature-static-web-assets
investigate
Needs: Author Feedback
The author of this issue needs to respond in order for us to continue investigating this issue.
Needs: Repro
Indicates that the team needs a repro project to continue the investigation on this issue
This issue has been moved from a ticket on Developer Community.
When i compile my solution with Visual Studio 2022 Preview Version 5.0, it fails, but if i compile the exact same solution with Visual Studio 2022, it works fine.
The following is the error...
System.InvalidOperationException: No file exists for the asset at either location 'wwwroot\css\dx-reporting-skeleton-screen.css' or 'wwwroot\css\dx-reporting-skeleton-screen.css'.
at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.ComputeFingerprintAndIntegrity(String identity, String originalItemSpec)
at Microsoft.AspNetCore.StaticWebAssets.Tasks.DefineStaticWebAssets.Execute()
But the file does exist & as i mentioned, if i compile it with Visual Studio 2022, it works fine. This has been happening for quite some time now.
Original Comments
Feedback Bot on 10/31/2024, 06:28 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
The text was updated successfully, but these errors were encountered: