Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRyan Valentine
4,499 Pointserror when building. "could not find part of the path aspnet-comic-book-gallery\src\ComicBookGalley\roslyn\csc.exe
I was using VisualStudio Mac up until now to follow along in the Asp.net MVC course but finally have given up dealing with all the inconsistencies and differences in the mac version along with .net core 2.2.
I switiched to Windows and figured I could clone a fork of the courses git repo but am unfamiliar with the process of now getting the project to run succesfully on my machine. I did a nuget package manager restore which helped fix most errors. But now I am getting this one.
I'm Starting to get frustrated because I wasted a lot of time using the Mac version of visual studio and now I cant get this to work either. Visual Studio seems to have a big learning curve once getting into a more advanced levels. Soooo many issues, ssooooo much googling
1 Answer
Ryan Valentine
4,499 PointsWell I fixed the error. After finding that Roslyn.exe was related to another nuget package: Microsoft.CodeDom.Providers.DotNetCompilerPlatform. The version that was designated in the project was 1.0.0.0. so that's what nuget downloaded when building the project. I went into the Nuget package manager and updated the version of the package to the newest version 1 release.
After that downloaded and updated, My project no longer got the error.
As far as best practices on what to do when starting in the middle of someone elses project, I still need help.
Here is more reading on what seems to be a common issue: link