Adding a solution file to asp.net 1.1 application using Visual Sudio 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 (http://msdn.microsoft.com/en-us/magazine/ff956194.aspx). 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?

Answers


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.


Need Your Help


About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.