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

Compile Fails in 2022 Preview but works in 2022 #58748

Closed
vsfeedback opened this issue Nov 1, 2024 · 2 comments
Closed

Compile Fails in 2022 Preview but works in 2022 #58748

vsfeedback opened this issue Nov 1, 2024 · 2 comments
Assignees
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

Comments

@vsfeedback
Copy link

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Nov 1, 2024
@mkArtakMSFT mkArtakMSFT added investigate feature-static-web-assets area-ui-rendering Includes: MVC Views/Pages, Razor Views/Pages and removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels Nov 1, 2024
@dotnet-policy-service dotnet-policy-service bot added the Author: Migration Bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author. label Nov 1, 2024
@javiercn javiercn added the Needs: Repro Indicates that the team needs a repro project to continue the investigation on this issue label Nov 4, 2024
@dotnet-policy-service dotnet-policy-service bot added Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. Status: No Recent Activity labels Nov 4, 2024
@church365
Copy link

I just updated to VS 17.12.4 and am getting this exact error now on build. There have been no other changes to the project other than this upgrade. If I close VS, reopen it, and run my project it works, but as soon as I do a rebuild I get this error and I have to restart VS again. Using WebCompiler 2022+ 1.14.11

@mmessagie1
Copy link

I have the same problem and literally no one has a solution. Other than going back to 17.11.4

SUCH CRAP!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

5 participants