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

How Do I force Omnisharp/Roslyn to target Linux #1419

Closed
CodeSwimBikeRunner opened this issue Mar 9, 2019 · 2 comments
Closed

How Do I force Omnisharp/Roslyn to target Linux #1419

CodeSwimBikeRunner opened this issue Mar 9, 2019 · 2 comments

Comments

@CodeSwimBikeRunner
Copy link

I am working on a windows host with VSCode, .net core 2.2.

I am running Docker for Desktop and my images are alpine. So my running containers are using
dotnet watch -r alpine-x64 my local filesystem is mounted into the container so that any file changes will be picked up.

When I attach to the container process that allows me to debug my application. Intellisense in VSCode shows everything as red, when infact everything is fine. I believe its because Omnisharp/roslyn (I'm not sure who would be responsible) is working with the bin/obj folder that is compiled for alpine-x64. But there is a disconnect because my host system would obviously be win10.

@CodeSwimBikeRunner
Copy link
Author

are more details needed?

@filipw
Copy link
Member

filipw commented May 9, 2022

This is a duplicate of dotnet/vscode-csharp#3621

@filipw filipw closed this as completed May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants