applying-asynchronous-programming-c-sharp
applying-asynchronous-programming-c-sharp copied to clipboard
StockAnalyzer.Web project in cross platform is targeting .Net 4.7.2 instead of aspnetCore
hi
I was following the course on pluralsight and tried the code on both : ubuntu (LTS latest) on a x86 core osx on a ARM core
both of them failed to build the web solution. The wpf solution works just fine after changing the netcoreapp3.1 to netcoreapp5.0 just fine.
Could you make an update to the StockAnalyzer.Web solution inside the crossPlatform folder to target aspnetcore so that it runs on other platforms as well ? i will be happy to test for you
Thanks again for the great course :)
I'd also like to request a fix to this issue as I've lost a considerable amount of time trying to get the StockAnalyzer.Web project to build properly. I am stuck trying to resolve the following error : NuGet Package restore failed for project StockAnalyzer.Web: Could not find a part of the path 'C:\Users\xxx\applying-asynchronous-programming-c-sharp\src\Windows\02\Start_Here\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.3.6.0\build/net45/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Extensions.targets'.. Please see Error List window for detailed warnings and errors. I've attempted to update the NuGet packages, clean, rebuild, even removing the 'EnsureNuGetPackageBuildImports' portion of the StockAnalyzer.Web.csproj, with no luck. @fekberg please consider posting a solution to this problem, at minimum - so that others attempting to take your class are not stuck. Ideally, this solution's Web project should be migrated away from .NET Framework MVC to .NET Core as .NET Framework web technologies are no longer the recommended approach for .NET web projects.
@angeldimitrov94 "Could not find part of the path", could it be that the path to your folder is too long? Could you please try and put the Exercise files in C:\Code
for example?
You don't need to run the Web project to follow along with the course. The API is hosted in Azure to make it easier to run the Windows application.