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
Hello!
For CppAst I was previously using my own libclang package mainly because ClangSharp was not providing an updated NuGet package.
Now I have switched CppAst to use the beta ClangSharp 10.0 package, but my tests failed to work as I had to run them explicitly with a RID, e.g dotnet tests -c Release -platform win-x64 while with my package I didn't have to specify anything.
But It is a bit annoying for a end-user experience to have to specify this RID...
Do you know why this is not working with the libclang package that you ship?
The text was updated successfully, but these errors were encountered:
There is a limitation on the size of NuGet packages that nuget.org allows (250MB iirc) and it is undesirable for users to download hundreds of megabytes when they only need the binaries for their host box. So, the root package currently contains a runtime.json that lists the RID specific packages which should be downloaded instead.
There seems to be an issue preventing native assets from being resolved using this mechanism and that is pending a resolution. The simplest workaround today is to add <RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == '' AND '$(PackAsTool)' != 'true'">$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier> which will use the RID of the .NET SDK and should allow things to work in a dev environment.
xoofx
added a commit
to xoofx/CppAst.NET
that referenced
this issue
May 2, 2020
Hello!
For CppAst I was previously using my own libclang package mainly because ClangSharp was not providing an updated NuGet package.
Now I have switched CppAst to use the beta ClangSharp 10.0 package, but my tests failed to work as I had to run them explicitly with a RID, e.g
dotnet tests -c Release -platform win-x64
while with my package I didn't have to specify anything.But It is a bit annoying for a end-user experience to have to specify this RID...
Do you know why this is not working with the libclang package that you ship?
The text was updated successfully, but these errors were encountered: