title: Why is this Public Function in a Module not accessible
body: <p>I have an assembly comprised of several useful little utilities.  Within that I have a module Containing a simple Public Function.</p>
  
  <pre><code>Module FishTrackerConfigurations
  
  Public Function GetValueOfUseProductId As Boolean
      Return VtlGetUseProductId 'A simple private routine in the same module
  End Function
  End Module
  </code></pre>
  
  <p>When I call this function from another project (in which this assembly is referenced I get the following error.</p>
  
  <pre><code>Error   BC30390 'FishTrackerConfigurations.Public Function GetValueOfUseProductId() As Boolean' is not accessible in this context because it is 'Public'.   
  </code></pre>
  
  <p>The function is being called from within my projects Application.Xaml.VB file, specifically in the Protected Overrides Sub OnStartup(e As StartupEventArgs) routine.</p>
  
  <p>I'd like to know why this happens.</p>