-
Notifications
You must be signed in to change notification settings - Fork 790
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
NullReferenceException when trying to add some COM references #278
Comments
i can repro the line is ComReferenceNode.cs#L370 the lcid used ( invalid with lcid 0 valid on my machine (ldic 409) and valid i am debugging this one |
ok, fixed. i'll add a pr soon |
lcid is an integer fix typelib registry path, the lcid part is the hexadecimal string representation of the lcid value added exception on failed add reference fix nre on if registry key not found fix dotnet#278
lcid is an integer fix typelib registry path, the lcid part is the hexadecimal string representation of the lcid value added exception on failed add reference fix nre on if registry key not found fixes #278 closes #281 commit 64185d2 Author: enricosada <enrico@sada.io> Date: Tue Mar 3 21:45:40 2015 +0100 add test commit c4fb65d Author: enricosada <enrico@sada.io> Date: Fri Feb 27 19:31:29 2015 +0100 remove unused try/catch commit 4a05993 Author: enricosada <enrico@sada.io> Date: Fri Feb 27 18:47:03 2015 +0100 fix add file reference (com dll) lcid is an integer fix typelib registry path, the lcid part is the hexadecimal string representation of the lcid value added exception on failed add reference fix nre on if registry key not found fix #278
Should this one be closed? |
Yep, thanks |
When I try adding 'Microsoft Windows Installer Object Library' as a COM reference to my F# project it fails with "Object reference not set to an instance of an object":
Well, when I try doing that for a C# project if fails too, although with a different error:
However for a C# I can "Browse..." to a DLL directly by "C:\Windows\System32\msi.dll" and this adds COM reference just fine, but for F# this approach still fails with the same NullReferenceException.
The text was updated successfully, but these errors were encountered: