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

Build issue when using dotnet-sdk v6 #19

Closed
m-rossi opened this issue Nov 20, 2021 · 5 comments
Closed

Build issue when using dotnet-sdk v6 #19

m-rossi opened this issue Nov 20, 2021 · 5 comments

Comments

@m-rossi
Copy link
Contributor

m-rossi commented Nov 20, 2021

I just tested creating a recipe for conda-forge and seem to get some issues with dotnet-sdk v6:

"System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\USERNAME\miniforge3\conda-bld\clr_loader_1637417796354\_build_env\dotnet\sdk-manifests'

dotnet-sdk v5 seems to work fine. I tried to find out which dotnet-sdk is used in your github-actions, but failed. Which version you use?

If you are using v6 this may be related to the build process in the conda-forge-recipe: https://github.com/conda-forge/dotnet-feedstock

@filmor
Copy link
Member

filmor commented Nov 20, 2021

I have only been using v5 so far (that's the version that is available on gentoo). I will test v6 tomorrow.

@filmor
Copy link
Member

filmor commented Nov 21, 2021

I can't reproduce this on Linux. Both clr-loader and pythonnet build fine with .NET SDK v6.

/EDIT: I can indeed reproduce this with the conda-forge dotnet package. With a distro-installed .NET SDK, everything works fine, so I'd guess that this is a problem in their packaging.

@filmor filmor closed this as completed Nov 21, 2021
@filmor
Copy link
Member

filmor commented Nov 21, 2021

Since the error happens in dotnet which we call directly just by name, I suggest verifying that indeed the correct binary is picked. It might be worth reporting this to the conda-forge recipe maintainers for dotnet as well.

@filmor
Copy link
Member

filmor commented Nov 21, 2021

Okay, last comment on this: I have found the issue and proposed a PR here conda-forge/dotnet-feedstock#45. The "published" version of the .NET 6 SDK from conda-forge is simply broken as it misses a new directory.

@m-rossi
Copy link
Contributor Author

m-rossi commented Nov 21, 2021

Okay, last comment on this: I have found the issue and proposed a PR here conda-forge/dotnet-feedstock#45. The "published" version of the .NET 6 SDK from conda-forge is simply broken as it misses a new directory.

Great, thank you! I will try with the new version once your PR is merged.

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