-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Some issues with the /ins compiler option #1622
Comments
The /ins compiler option tells the compiler to scan the referenced assemblies for attributes of type ImplicitNamespaceAttribute or VulcanImplicitNamespaceAttribute. When such an attribute exists, namespaces announced with this attribute are automatically included. |
I have tried to add the attribute class in my library (in its own namespace). constructor(namespace as string) end class |
The compiler searches for the fully qualified name, so it has to be in the right namespace. |
Let me explain: we have several X# COM libraries that we are using in our VO applications. All of them are in Core dialect and are not using the X# runtime. |
Wolfgang, |
Hi Robert, |
Wolfgang,
|
When using the /ins+ compiler option but there's no reference to XSharp.dll (so Core dialect), the compiler silently seems to ignore it. I think there should be a compiler error in this case.
The documentation about /ins (https://www.xsharp.eu/help/opt-ins.html) needs to be updated to clarify this, either if the above becomes a compiler error or if it stays as it is
There's also a typo in the documentation, mentioning VulcanImplicitNamespaceAttribute instead of ImplicitNamespaceAttribute.
The text was updated successfully, but these errors were encountered: