You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior: dotnet run behaves exactly as it did without the PackageReference and outputs:
Hello World!
Actual Behavior:
We get a build failure.
C:\Users\ahkha\.nuget\packages\microsoft.netcore.compilers\2.8.0-beta1-62621-05\build\Microsoft.NETCore.Compilers.props(34,11): error MSB4101: Expected a closing quote after position 153 in condition "'$(BuildingProject)' == 'true' AND '$(OS)' != 'Windows_NT' AND ('$(CscToolPath)' != '' OR '$(VbcToolPath) != '')". [D:\GitHub\Fork\corefxlab\TestCompiler\TestCompiler.csproj]
The build failed. Please fix the build errors and run again.
In the Microsoft.NETCore.Compilers.props file (C:\Users\<user>\.nuget\packages\microsoft.netcore.compilers\2.8.0-beta1-62621-05\build\Microsoft.NETCore.Compilers.props), you will notice, we are missing a closing quote around VbcToolPath: This:
<TargetName="MakeCompilerScriptsExecutable"Condition="'$(BuildingProject)' == 'true' AND '$(OS)' != 'Windows_NT' AND ('$(CscToolPath)' != '' OR '$(VbcToolPath) != '')"
Should be:
<TargetName="MakeCompilerScriptsExecutable"Condition="'$(BuildingProject)' == 'true' AND '$(OS)' != 'Windows_NT' AND ('$(CscToolPath)' != '' OR '$(VbcToolPath)' != '')"
The text was updated successfully, but these errors were encountered:
Version Used: 2.8.0 and 2.8.0-beta1-62621-05 (from MyGet)
Steps to Reproduce:
dotnet new console
).dotnet run
).Expected Behavior:
dotnet run
behaves exactly as it did without the PackageReference and outputs:Hello World!
Actual Behavior:
We get a build failure.
In the Microsoft.NETCore.Compilers.props file (
C:\Users\<user>\.nuget\packages\microsoft.netcore.compilers\2.8.0-beta1-62621-05\build\Microsoft.NETCore.Compilers.props
), you will notice, we are missing a closing quote aroundVbcToolPath
:This:
Should be:
The text was updated successfully, but these errors were encountered: