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
The System.Numerics.Vectors package (v4.1.0) doesn't seem to work correctly with F#: Whenever I try to use it, it installs correctly, but the compiler always refers to the corresponding .NET 4.6 reference assembly ("C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6\System.Numerics.Vectors.dll", in my case) instead of the downloaded assembly in the packages directory.
When installing the NuGet package into a C# project, it found that a <HintPath> item was added to the csproj file, redirecting the reference to the proper assembly (e.g. <HintPath>..\packages\System.Numerics.Vectors.4.1.0\lib\net46\System.Numerics.Vectors.dll</HintPath>). For F# projects however this <HintPath> is not added to the fsproj file. Adding it manually fixes the problem.
The text was updated successfully, but these errors were encountered:
Added a comment on the nuget bug, this looks like a difference in behavior between the F# system and the C# project system. I'm currently assuming that the fix will come from F# or that we get guidance and roll it into NuGet 3.3. For now closing the Nuget bug, if we change our mind we can re-open it.
No issue was raised http://github.com/Microsoft/visualfsharp when you closed this. Please always make sure that you raise an appropriate issue when closing a bug as external (and add a link). Thanks!
The System.Numerics.Vectors package (v4.1.0) doesn't seem to work correctly with F#: Whenever I try to use it, it installs correctly, but the compiler always refers to the corresponding .NET 4.6 reference assembly ("C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6\System.Numerics.Vectors.dll", in my case) instead of the downloaded assembly in the packages directory.
When installing the NuGet package into a C# project, it found that a
<HintPath>
item was added to the csproj file, redirecting the reference to the proper assembly (e.g.<HintPath>..\packages\System.Numerics.Vectors.4.1.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
). For F# projects however this<HintPath>
is not added to the fsproj file. Adding it manually fixes the problem.The text was updated successfully, but these errors were encountered: