Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] App crashes on Linux #47

Open
BalassaMarton opened this issue Apr 19, 2023 · 2 comments
Open

[Bug] App crashes on Linux #47

BalassaMarton opened this issue Apr 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@BalassaMarton
Copy link
Contributor

Invoke any command or just please on Linux, you will get below error:

Unhandled exception. System.PlatformNotSupportedException: Operation is not supported on this platform.
   at System.ConsolePal.get_CursorVisible()
   at System.Console.get_CursorVisible()
   at DotNetPlease.App.ExecuteAsync(String[] args) in /home/runner/work/dotnet-please/dotnet-please/DotNetPlease/App.cs:line 70
   at DotNetPlease.Program.<Main>(String[] args)

Tested on RHEL 7.

@BalassaMarton BalassaMarton added the bug Something isn't working label Apr 19, 2023
@psmulovics
Copy link
Member

duplicate of #109

@BalassaMarton
Copy link
Contributor Author

Just a heads up, I started working on this, however the Console issue is just one of the problems. Now I'm getting this from an MSBuild assembly:

Invalid static method invocation syntax: "[MSBuild]::SubstringByAsciiChars($(MSBuildProjectFile), 0, 8)". Method '[MSBuild]::SubstringByAsciiChars' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order.

Will investigate...

BalassaMarton added a commit to BalassaMarton/dotnet-please that referenced this issue Dec 18, 2024
BalassaMarton added a commit to BalassaMarton/dotnet-please that referenced this issue Dec 18, 2024
BalassaMarton added a commit to BalassaMarton/dotnet-please that referenced this issue Dec 18, 2024
Closes morganstanley#47
Closes morganstanley#109
Covered by dco/Marton_Balassa/dco_Marton_Balassa.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants