Answers for "Could not find a part of the path 'C:\Dev\git\C#\core.service.AnalyticalReport\core.service.AnalyticalReport.WebApi\bin\roslyn\csc.exe'."

0

Could not find file binroslyncsc.exe

//Run this in package manager console
Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r
Posted by: Guest on August-18-2020
0

roslyn csc.exe visual studio 2017

<Target Name="CopyRoslynFiles" AfterTargets="AfterBuild" Condition="!$(Disable_CopyWebApplication) And '$(OutDir)' != '$(OutputPath)'">
    <ItemGroup>
      <RoslynFiles Include="$(CscToolPath)*" />
    </ItemGroup>
    <MakeDir Directories="$(WebProjectOutputDir)binroslyn" />
    <Copy SourceFiles="@(RoslynFiles)" DestinationFolder="$(WebProjectOutputDir)binroslyn" SkipUnchangedFiles="true" Retries="$(CopyRetryCount)" RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)" />
</Target>
Posted by: Guest on June-03-2020

Code answers related to "Could not find a part of the path 'C:\Dev\git\C#\core.service.AnalyticalReport\core.service.AnalyticalReport.WebApi\bin\roslyn\csc.exe'."

Browse Popular Code Answers by Language