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
{{ message }}
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
the code public bool IsError { get => !(CompileError == null && ExecuteError == null); } in source project make my building wrong!
Here is the error:
'Error CS0161 'ExecutionResult.IsError.get': not all code paths return a value Kernel'
The text was updated successfully, but these errors were encountered:
I believe this might be happening because the msbuild installed by VS2015 doesn't support the newer version of C#. Can you try updating the VS 2015 or the msbuild version to latest and try again. Hopefully that should resolve the problem.
Indeed,I've updated msbuild to the latest version,i.e,6.10, but I still failed to build the project. The error mainly focus on the code below :public bool IsError { get => !(CompileError == null && ExecuteError == null); }. I rewrite this code with public bool IsError { get { return !(CompileError == null && ExecuteError == null); } } , and it works.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
the code
public bool IsError { get => !(CompileError == null && ExecuteError == null); }
in source project make my building wrong!Here is the error:
'Error CS0161 'ExecutionResult.IsError.get': not all code paths return a value Kernel'
The text was updated successfully, but these errors were encountered: