gpt4 book ai didi

asp.net - 为什么我的网站项目名称中括号内有一个数字?

转载 作者:行者123 更新时间:2023-12-02 17:16:41 25 4
gpt4 key购买 nike

这只是一种好奇/烦恼,并不是真正的问题。

我有一个使用 VS 2013 的 Web 表单网站项目。不知何故,项目名称中包含 (1)(2),我有尝试编辑解决方案文件、删除所有其他站点、重建/清理等,仍然无法弄清楚它从哪里获取(2)

enter image description here

解决方案文件:

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Web
VisualStudioVersion = 12.0.30501.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Site", "http://localhost:52806", "{5411FD57-5AFE-4A3A-9474-0DCD64C89003}"
ProjectSection(WebsiteProperties) = preProject
UseIISExpress = "true"
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
Debug.AspNetCompiler.VirtualPath = "/localhost_52806"
Debug.AspNetCompiler.PhysicalPath = "..\..\..\..\..\..\Dropbox\Projects\Site\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_52806\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/localhost_52806"
Release.AspNetCompiler.PhysicalPath = "..\..\..\..\..\..\Dropbox\Projects\Site\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_52806\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
SlnRelativePath = "..\..\..\..\..\..\Dropbox\Projects\Site\"
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5411FD57-5AFE-4A3A-9474-0DCD64C89003}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5411FD57-5AFE-4A3A-9474-0DCD64C89003}.Debug|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

最佳答案

我使用的是 Visual Studio 2015,我只是删除了解决方案根目录中的 .vs 文件夹。它包含 .vs\config\applicationhost.config.vs\mySolutionName\v14\.suo

编辑其中一个文件,可能删除旧的 IIS Express 绑定(bind)或其他内容,可能是一种不错的方法。但是破解 .vs-folder 并重新加载解决方案对我来说成功了。

关于asp.net - 为什么我的网站项目名称中括号内有一个数字?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24048745/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com