Open squideyes opened 18 hours ago
Does adding a global.json
config to force using .Net 8 work?
No!
Her’s my global .json, which I’ve added to the same folder as Sidpanel.csproj:
{ "sdk": { "version": "8.0.404" } }
I’m using the latest VS2022.
Thanks for your help….
From: mingyaulee @.> Sent: Friday, November 22, 2024 3:55 AM To: mingyaulee/Blazor.BrowserExtension.Samples @.> Cc: Louis S. Berman @.>; Author @.> Subject: Re: [mingyaulee/Blazor.BrowserExtension.Samples] Compile error (Issue #8)
Does adding a global.json config to force using .Net 8 work?
— Reply to this email directly, view it on GitHubhttps://github.com/mingyaulee/Blazor.BrowserExtension.Samples/issues/8#issuecomment-2493227727, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABACOHGZYPGSLIXIMHMRMQD2B3WOZAVCNFSM6AAAAABSILXIBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJTGIZDONZSG4. You are receiving this because you authored the thread.Message ID: @.**@.>>
I downloaded a fresh copy of the repo and then followed the instructions under but I still got the following errors. I'm using VS2022 Version 17.12.0 (the one with .NET9, but I also have Microsoft SDK Version 8.0.404 installed.
I really want to use the SidePanel so I'm hoping this can be fixed soon.
Thanks for your great work...
The "ApplyCompressionNegotiation" task failed unexpectedly. System.InvalidOperationException: Fingerprint for 'C:\Users\trader\Desktop\Blazor.BrowserExtension.Samples-main\Messaging\src\obj\Debug\net8.0\browserextension\build\BackgroundWorker.js' is not defined. at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate() at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item) at System.Linq.Enumerable.WhereSelectArrayIteratord26.MoveNext()
The "ApplyCompressionNegotiation" task failed unexpectedly.
System.InvalidOperationException: Fingerprint for 'C:\Users\trader\Desktop\Blazor.BrowserExtension.Samples-main\SidebarUsingIframe\src\obj\Debug\net8.0\browserextension\build\browserextension.config.json' is not defined.
at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate()
at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item)
at System.Linq.Enumerable.WhereSelectArrayIteratord 26.MoveNext()
The "ApplyCompressionNegotiation" task failed unexpectedly.
System.InvalidOperationException: Fingerprint for 'C:\Users\trader\Desktop\Blazor.BrowserExtension.Samples-main\SidebarUsingContentScripts\src\obj\Debug\net8.0\browserextension\build\browserextension.config.json' is not defined.
at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate()
at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item)
at System.Linq.Enumerable.WhereSelectArrayIteratord__26.MoveNext()
2.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func2 keySelector, Func
2 elementSelector, IEqualityComparer1 comparer) at Microsoft.AspNetCore.StaticWebAssets.Tasks.ApplyCompressionNegotiation.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() The "ApplyCompressionNegotiation" task failed unexpectedly. System.InvalidOperationException: Fingerprint for 'C:\Users\trader\Desktop\Blazor.BrowserExtension.Samples-main\Sidepanel\src\obj\Debug\net8.0\browserextension\build\browserextension.config.json' is not defined. at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate() at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item) at System.Linq.Enumerable.WhereSelectArrayIterator
2.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func
2 keySelector, Func2 elementSelector, IEqualityComparer
1 comparer) at Microsoft.AspNetCore.StaticWebAssets.Tasks.ApplyCompressionNegotiation.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.2.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func2 keySelector, Func
2 elementSelector, IEqualityComparer`1 comparer) at Microsoft.AspNetCore.StaticWebAssets.Tasks.ApplyCompressionNegotiation.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.2.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func2 keySelector, Func
2 elementSelector, IEqualityComparer1 comparer) at Microsoft.AspNetCore.StaticWebAssets.Tasks.ApplyCompressionNegotiation.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() The "ApplyCompressionNegotiation" task failed unexpectedly. System.InvalidOperationException: Fingerprint for 'C:\Users\trader\Desktop\Blazor.BrowserExtension.Samples-main\NewTabPage\src\obj\Debug\net8.0\browserextension\build\browserextension.config.json' is not defined. at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.Validate() at Microsoft.AspNetCore.StaticWebAssets.Tasks.StaticWebAsset.FromTaskItem(ITaskItem item) at System.Linq.Enumerable.WhereSelectArrayIterator
2.MoveNext() at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func
2 keySelector, Func2 elementSelector, IEqualityComparer
1 comparer) at Microsoft.AspNetCore.StaticWebAssets.Tasks.ApplyCompressionNegotiation.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.