none
Visual Studio 解决方案 .sln文件的格式的意义 RRS feed

  • 问题

  • 我用visual studio新建了一个网站解决方案,生成的.sln格式如下:

    Microsoft Visual Studio Solution File, Format Version 10.00
    # Visual Studio 2008
    Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "efc", ".", "{58928C1B-5D29-4C7C-8DEA-11BCD1527D74}"
     ProjectSection(WebsiteProperties) = preProject
      TargetFramework = "3.5"
      Debug.AspNetCompiler.VirtualPath = "/efc"
      Debug.AspNetCompiler.PhysicalPath = "E:\efc"
      Debug.AspNetCompiler.TargetPath = "E:\efc"
      Debug.AspNetCompiler.Updateable = "true"
      Debug.AspNetCompiler.ForceOverwrite = "true"
      Debug.AspNetCompiler.FixedNames = "false"
      Debug.AspNetCompiler.Debug = "True"
      Release.AspNetCompiler.VirtualPath = "/efc"
      Release.AspNetCompiler.PhysicalPath = "E:\efc"
      Release.AspNetCompiler.TargetPath = "E:\efc"
      Release.AspNetCompiler.Updateable = "true"
      Release.AspNetCompiler.ForceOverwrite = "true"
      Release.AspNetCompiler.FixedNames = "false"
      Release.AspNetCompiler.Debug = "False"
      VWDPort = "4363"
     EndProjectSection
    EndProject
    Global
     GlobalSection(SolutionConfigurationPlatforms) = preSolution
      Debug|.NET = Debug|.NET
     EndGlobalSection
     GlobalSection(ProjectConfigurationPlatforms) = postSolution
      {58928C1B-5D29-4C7C-8DEA-11BCD1527D74}.Debug|.NET.ActiveCfg = Debug|.NET
      {58928C1B-5D29-4C7C-8DEA-11BCD1527D74}.Debug|.NET.Build.0 = Debug|.NET
     EndGlobalSection
     GlobalSection(SolutionProperties) = preSolution
      HideSolutionNode = FALSE
     EndGlobalSection
    EndGlobal

    谁能帮我解释一下这几个属性和属性值的意义啊:

    Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "efc", ".", "{58928C1B-5D29-4C7C-8DEA-11BCD1527D74}"

    ProjectSection(WebsiteProperties) = preProject

      Debug.AspNetCompiler.VirtualPath = "/efc"
      Debug.AspNetCompiler.PhysicalPath = "E:\efc"
      Debug.AspNetCompiler.TargetPath = "E:\efc"

      Release.AspNetCompiler.VirtualPath = "/efc"
      Release.AspNetCompiler.PhysicalPath = "E:\efc"
      Release.AspNetCompiler.TargetPath = "E:\efc"

    还有我调试的时候发现打开的路径是:

    http://localhost:4363/efc/index.aspx

    我该修改哪里的配置成为这个路径了(不要efc这个目录路径):

    http://localhost:4363/index.aspx

     


    rainism
    2011年8月15日 15:21

全部回复

  • PS:我在.sln文件的ProjectSection节点加了个VWDVirtualPath = "/"属性后,网页路径中就没有efc这个了路径了


    rainism
    2011年8月15日 15:49