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
Open the attached solution (.sln file is in the folder myWinFormApp) in VS 2019, it contains a library "myTest" and a project "myWinFormApp" that is referencing this library.
Go to the library file myForm.prg and type some invalid code, for example in the constructor:
this.nothing := 1
Rebuild All, an error is correctly reported that "nothing" cannot be found
Delete or comment the offending code and rebuild. Now the above error for the library is gone, but errors are reported for the project referencing it:
Error XS0246: The type or namespace name 'myForm' could not be found
Error XS0115: 'Dispose': no suitable method found to override
Error XS0246: The type or namespace name 'myTest' could not be found
Apparently the dll of the library could not be found correctly, even if it compiles without errors now.
If you rebuild just the library after fixing the code, then the errors from the main app will stay in the error browser. If you rebuild all then the errors from the main app should disappear. What kind of rebuild did you do in step 3)?
Open the attached solution (.sln file is in the folder myWinFormApp) in VS 2019, it contains a library "myTest" and a project "myWinFormApp" that is referencing this library.
this.nothing := 1
Error XS0246: The type or namespace name 'myForm' could not be found
Error XS0115: 'Dispose': no suitable method found to override
Error XS0246: The type or namespace name 'myTest' could not be found
Apparently the dll of the library could not be found correctly, even if it compiles without errors now.
test.zip
The text was updated successfully, but these errors were encountered: