I'm getting the following error:
C:\APP\SnapDevelop\repos\espowerserver\AppModels\AppModels.csproj(2,3): Error MSB4025: The project file could not be loaded. Name cannot begin with the '.' character, hexadecimal value 0x00. Line 1, position 2.
the csproj file it is referencing does not have a period, nor hex value of x00 at line 1 position 2. This is what the first line of the file is:
<?xml version="1.0" encoding="utf-16"?>
so it appears that the error message is bogus. Has anyone seen this kind of weirdness? I did accidently open the csproj file in visual studio which has its own complaints, and it is possible that VS changed something even though i didn't save it?
I understand that to get around it i may have to rebuild the project from scratch. Which isn't a huge deal, but i do have to remember all the changes i made in the c# after PB generated it.
Security settings, some customization i did, and the storing of the connection info in the database would all have to be redone.
anyone have any ideas?
i already sent a bug report in, but no response.
Hi Mike,
With the file you provided, the issue also occurs on Visual Studio 2022. So I'm guessing the file got corrupted somehow.
One way I managed to fix the problem was by opening the project file in Notepad++, setting the Encoding to UTF16 LE BOM and saving the file.
It becomes open-able in both Visual Studio and Snap Develop.
Hope this helps.
Regards,
Francisco