User-166373564 posted
Hi,
or is there any way I can perform code metrics on web site?
As we know, Code Metrics are only available for C#, Visual Basic, and C++/CLI projects that are not web site project in Visual Studio.
The link above gives some guides to convert web site project to web application project, please check whether you miss something.
At the same time this blog will show some screenshots that convert web site project to web application project, it is more specific.
Converting a Web Site Project to a Web Application Project
Moreover, some tips are also available for you during you convert web site project to web application project,
How To Convert ASP.NET Website to ASP.NET Web Application
hope it helps you,
With regards