开发者

Adding a solution file to asp.net 1.1 application using Visual Studio 2010

I'm trying to migrate an old asp.net 1.1 application to target the new .net 4.0 framework. There are good guides available on this (https://learn.microsoft.com/en-us/开发者_运维技巧archive/msdn-magazine/2010/september/app-migration-migrate-your-asp-net-1-1-apps-to-visual-studio-2010). However, all approaches start with the assumption that the 1.1 project contains a solution file which one has to open using VS 2010 and go through the conversion wizard.

In my case, the project does not have any solution file, giving me a sort of chicken and egg issue.

Is there a way to add a 1.1 .net soution file with or without VS 2010? Using command line tools? What is so special about a solution file anyway?


Are the file that you have in a website alreay? Are they located in C:\Inetpub\wwwroot\[SITE_FOLDER]?

This site might help as well. http://ondotnet.com/pub/a/dotnet/excerpt/vshacks_chap1/index.html?page=4

Here is a sample solution:

Microsoft Visual Studio Solution File, Format Version 7.0
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "C:\...\WebSite1\", "..\..\WebSites\WebSite1", "{A3EF0D1E-ABC0-4A4F-851F-EBC56FDF2C53}"
    ProjectSection(WebsiteProperties) = preProject
        Debug.AspNetCompiler.VirtualPath = "/WebSite1"
        Debug.AspNetCompiler.PhysicalPath = "..\..\WebSites\WebSite1\"
        Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\WebSite1\"
        Debug.AspNetCompiler.Updateable = "true"
        Debug.AspNetCompiler.ForceOverwrite = "true"
        Debug.AspNetCompiler.FixedNames = "false"
        Debug.AspNetCompiler.Debug = "True"
        Release.AspNetCompiler.VirtualPath = "/WebSite1"
        Release.AspNetCompiler.PhysicalPath = "..\..\WebSites\WebSite1\"
        Release.AspNetCompiler.TargetPath = "PrecompiledWeb\WebSite1\"
        Release.AspNetCompiler.Updateable = "true"
        Release.AspNetCompiler.ForceOverwrite = "true"
        Release.AspNetCompiler.FixedNames = "false"
        Release.AspNetCompiler.Debug = "False"
        VWDPort = "2220"
        DefaultWebSiteLanguage = "Visual Basic"
    EndProjectSection
EndProject
Global
    GlobalSection(SolutionConfigurationPlatforms) = preSolution
        Debug|.NET = Debug|.NET
    EndGlobalSection
    GlobalSection(ProjectConfigurationPlatforms) = postSolution
        {A3EF0D1E-ABC0-4A4F-851F-EBC56FDF2C53}.Debug|.NET.ActiveCfg = Debug|.NET
        {A3EF0D1E-ABC0-4A4F-851F-EBC56FDF2C53}.Debug|.NET.Build.0 = Debug|.NET
    EndGlobalSection
    GlobalSection(SolutionProperties) = preSolution
        HideSolutionNode = FALSE
    EndGlobalSection
EndGlobal


Just open the ASP.NET 1.1 project file. A solution file will be created.


You might be able to just create a new solution in VS 2010 and then import the 1.1 project into the solution.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜