Friday, September 22, 2017

The missing file is ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.3\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props.

First unload project and then edit .csproj or vbproj file and remove all references having .net compiler version eg. 1.3.2
Edit packages.congig file and remove reference of version Microsoft.net.compiler version 1.3.2
remove same version folder from packages folder
Then go to tool>Nuget package Manager>Package manager console and type following and allow installation

Install-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -Version 1.0.7

repeat for all errors. It will fix the project issue and then build it.

1 comment: