SubMain - CodeIt.Right The First Time!

/Community

Support Community for SubMain Products
 Home Products Services Download Purchase Support
in Search
 
Home Forums Blogs Tutorials/CIR Tutorials/GD Downloads
Welcome to SubMain Community Sign in | Join | Help

Environment Integration Error-CurrentFile is not part of the project

Last post 09-27-2017, 10:36 PM by Shobha. 2 replies.
Sort Posts: Previous Next
  •  03-16-2017, 8:05 AM 4910

    Environment Integration Error-CurrentFile is not part of the project

    I get the above error when I try to use DocumenThis. It is in a file that I already have documentation. I experimented and it works in other projects in the solution. I then found that it worked on some of the files in the project. I then took a look at the vbproj file for the project and found that there was a correlation.

    The module is a dll and has a form in it. So one of the entries in the vbproj is:

        <Compile Include="LogonInfo.Designer.vb">
          <DependentUpon>LogonInfo.vb</DependentUpon>
        </Compile>
        <Compile Include="LogonInfo.vb">
          <SubType>Form</SubType>
        </Compile>
    All files previous to this have the form:

        <Compile Include="Locations.cls" />
    Every file after the LogonInfo.vb file will trigger the error. Apparently there is something wrong with the parsing of the files you do when to figure out what files are in the project.

    I checked out the <Compile Include lines in Forms type of projects, and the work. It appears to only be a problem when the project is a 

        <MyType>Windows</MyType>
    instead of 

        <MyType>WindowsForms</MyType>
     

  •  03-16-2017, 9:10 AM 4911 in reply to 4910

    Re: Environment Integration Error-CurrentFile is not part of the project

    Hello,

    Thank you for reporting that. We cannot reproduce the issue. Could you please send us sample project to support@submain.com?

     


    Thank you,
    Misha Zhutov
    http://submain.com - .NET Developer Tools | Microsoft VB MVP
  •  09-27-2017, 10:36 PM 5035 in reply to 4911

    Re: Environment Integration Error-CurrentFile is not part of the project

    Hi,

    This is your information , I also got this issue and then I did all re-installation thinking something got modified in application. However; same error is seen.

    The issue is somehow my file where for which I was running GhostDoc is removed from the  project.

    After adding the file to the project issue is resolved.

     

    Best regards,

    Shobha. 

View as RSS news feed in XML
 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |