Delphi for .NET does not find shared files in .NET library search directories ("[DCC Error] F1026 File not found)

I have been trying to identify a problem with installing RAD Studio 2007 for some time. When compiling the assembly of an ASP.NET application with .NET personalization, I get the error message "[DCC Error] F1026 File was not found, where it is reported that it cannot find a specific .dcuil file.

The file indicated in this error message is located in the directory that appears in the .NET library search path. The only work I found was to add the associated .pas file directly to the project.

I finally found the right solution to this problem. See my answer below.

+3
source share
1 answer

A solution to this problem can be found in Quality Central 61394, which was originally introduced by Jordan Russell.

There is a bug in Delphi 2007 that prevents directories added to the .Net library search path from being written to the EnvOptions.proj file. This does not seem to be a problem for the Win32 library search paths.

To solve the problem, manually edit the EnvOptions.proj file. In a typical Windows Vista installation, this file is located in the C: \ Users \ username \ AppData \ Roaming \ Borland \ BDS \ 5.0 directory, where username is the name of the user who installed RAD Studio 2007.

RAD Studio 2007. EnvOptions.proj (notepad.exe ). , DotNetLibraryPath. , , .

+3

Source: https://habr.com/ru/post/1723404/


All Articles