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

StockAnalyzer.Web project in cross platform is targeting .Net 4.7.2 instead of aspnetCore #2

Open
mohitNarang opened this issue May 14, 2021 · 2 comments

Comments

@mohitNarang
Copy link

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 :)

@angeldimitrov94
Copy link

angeldimitrov94 commented Jan 17, 2022

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.

@fekberg
Copy link
Owner

fekberg commented Jan 18, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants