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 trial

C# ASP.NET MVC Forms Introducing CRUD Applications Getting Started

DirectoryNotFoundError while running the project

I have loaded the files and the build works good. But i am a getting issues while executing the program as its looking for the csc.exe in the roslyn compiler folder.

https://stackoverflow.com/questions/52085755/vsts-build-fails-publish-fails-to-find-roslyn-csc-exe-in-the-bin-folder

I am using Community edition 2017.

Thanks in advance, Amit

2 Answers

Eric Lepage
Eric Lepage
1,602 Points

Hello,

Managed to solve the issue by doing this:

Tools - Nuget Package Manager - Package Manage Console and execute this commande in the consolde window: Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r

Thank you so much for posting this!! It helped me out!