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.
After upgrading from 1.5.0 to 1.6.1, I get the following build error:
Note that this is using
net10.0I noticed that the demo project usesnet5.0so 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.