1

My .net application is running well in my local machine. I am using Visual Studio 2015. When I publish the website and upload it to the server space, I am getting the following error.

enter image description here

I can't understand why the problem has been occurring. My other projects are working well. Is there any problem during the time of publishing?

Any clue?

Thanks

Partha

Partha
  • 469
  • 2
  • 14
  • 32
  • Maybe this will help https://stackoverflow.com/questions/32780315/could-not-find-a-part-of-the-path-bin-roslyn-csc-exe – Strelok Aug 06 '18 at 15:11

2 Answers2

4

Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r You have to run this Code under Package Manual Console PM> for more details visit Could not find a part of the path ... bin\roslyn\csc.exe

Vijay
  • 41
  • 2
0

Most probably rosalyn folder is not available in you published bin folder.

enter image description here

If you face difficulties with rosalyn see this link

Moshi
  • 1,385
  • 2
  • 17
  • 36