Skip to content

Build Error when Upgrading to 1.6.1 on net10.0 #133

@Mike-E-angelo

Description

@Mike-E-angelo

After upgrading from 1.5.0 to 1.6.1, I get the following build error:

System.InvalidOperationException: No file exists for the asset at either location <nuget>\majorsoft.blazor.components.common.jsinterop\1.6.1\staticwebassets\Majorsoft.Blazor.Components.Common.JsInterop.styles.css' or <nuget>\majorsoft.blazor.components.common.jsinterop\1.6.1\staticwebassets\Majorsoft.Blazor.Components.Common.JsInterop.styles.css
   at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.ResolveFile(String identity, String originalItemSpec)
   at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.ApplyDefaults()
   at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromV1TaskItem(ITaskItem item)
   at Microsoft.AspNetCore.StaticWebAssets.Tasks.UpdatePackageStaticWebAssets.Execute()

Note that this is using net10.0 I noticed that the demo project uses net5.0 so I wonder if there's an issue here.

I have to revert to 1.5.0 to solve. Thank you for any guidance to address this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions