I recently reinstalled RS2007 (+Dec update, +all hot fixes) and cannot do any ASP.NET development anymore.
As soon as I edit any file (.aspx and ECO/ASP.NET related files) and then try to (re)build the project I get errors:
[DCC Warning] xxx.dpr(5): W1026 File not found: 'Default.TDefault.resources'
[DCC Error] E1026 File not found: 'Default.TDefault.resources'
[DCC Error] E2328 Linker error while emitting metadata
Before I reinstalled RS2007 everything was working perfectly.
Is this a known problem, what is the solution?
TIA,
Levend.
Just found the solution - it's a Microsoft change...
The missing thing was ResGen.exe... it's not located in "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" anymore but "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin".
Just added the latter path to the project options.
Another way would be copying the file to the first location...
Levend.
> Hi all,
>
> I recently reinstalled RS2007 (+Dec update, +all hot fixes) and
> cannot do any ASP.NET development anymore. As soon as I edit any
> file (.aspx and ECO/ASP.NET related files) and then try to (re)build
> the project I get errors:
>
> [DCC Warning] xxx.dpr(5): W1026 File not found:
> 'Default.TDefault.resources' [DCC Error] E1026 File not found:
> 'Default.TDefault.resources' [DCC Error] E2328 Linker error while
> emitting metadata
>
Hi Levend,
Is this for a newly created project ? You could try removing the
Default.aspx page and adding a new page and seeing if you get the same
error for the new page. Also have you got any dcuil and dcpil files
lying around ?
Cheers,
John
--
Blog: http://blog.moshine.com/
Hi John,
no, that was not the solution (of course tried that first ;-) ).
It was the ResGen.exe being in a new location... (re)installed the .NET framework coming with VS2008 and it installs files in a new different place :-(
Levend.