3

I've got an old website which I have to recreate in PHP instead of ASP. The website was written in ASP.NET (.aspx files), and in order to display the website I have to state which ASP.NET version was used. Can I get that information out of the .aspx files?

Thanks.

EDIT: This is inside my webconfig file:

<compilation debug="false">
   <assemblies>
      <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31CF2543AD364E11"/>
   </assemblies>
</compilation>
4

2 回答 2

6

如果您有原始的 Visual Studio 项目,则应该有一个或多个项目文件,具体取决于项目的数量。该文件类似于ProjectName.csproj(这只是一个 XML 文件)。使用您喜欢的文本编辑器打开它并查找以下行,该行将指示用于该特定项目的框架版本。

<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>

根据您更新的问题,它看起来好像是 .NET 1.0

于 2013-08-29T10:47:04.087 回答
0

最简单的方法是转到顶部功能区中的属性,然后转到 [ProjectName]Properties。这将清楚地向您展示框架

于 2021-02-23T01:54:08.037 回答