2

经过大量搜索,我试图找到: vs2010在哪里保存网站属性的值:

在此处输入图像描述

它不在 SLN 中,也不在 PROJ ...

我听说过C:\Users\royi\AppData\Local\Microsoft\WebsiteCache\Websites.xml

但是经过更改测试后,我看不到反映的更改...(即使重新启动后-用于冲洗...)

那么vs2010在哪里保存呢?

ps我也试过FileMon ......但没有......

4

2 回答 2

1

更新 :

它确实将其保存在C:\Users\royi\AppData\Local\Microsoft\WebsiteCache\Websites.xml

我正在通过文件内部的总指挥官进行搜索,但应该选择了 unicode 复选框......

这是一个数据样本:

<?xml version="1.0" encoding="utf-16"?>
<DesignTimeData>
    <Website RootUrl="C:\Projects\PersonalBranches\RoyiN\Ensure_Solution\Surveys_Mediator\" CacheFolder="Surveys_Mediator(2)" targetframeworkmoniker=".NETFramework,Version=v4.0" sccprovider="SAK" enablesilverlightdebugging="false" scclocalpath="SAK" customserverurl="http://localhost/Surveys_Mediator" addnewitemlang="Visual C#" sccauxpath="SAK" sccprojectname="SAK" vwdport="50006" enablevswebserver="false" _LastAccess="22/05/2012 17:10:20"/>
    <Website RootUrl="C:\Projects\PersonalBranches\RoyiN\Ensure_Solution\Web_ERP_Finance\" CacheFolder="Web_ERP_Finance(2)" targetframeworkmoniker=".NETFramework,Version=v4.0" sccprovider="SAK" enablesilverlightdebugging="false" scclocalpath="SAK" customserverurl="http://localhost/Web_ERP_Finance/" addnewitemlang="Visual C#" sccauxpath="SAK" sccprojectname="SAK" vwdport="49995" enablevswebserver="false" _LastAccess="22/05/2012 17:10:16"/>
    <Website RootUrl="C:\Projects\Ensure_Solution\GD_OnlineApplication\" CacheFolder="GD_OnlineApplication(1)" sccprovider="MSSCCI:Microsoft Visual SourceSafe" scclocalpath=".." customserverurl="http://localhost/GD_OnlineApplication" sccauxpath="" addnewitemlang="Visual C#" sccprojectname="&quot;$/Ensure_Solution&quot;, IARCAAAA" vwdport="59009" enablevswebserver="false" _LastAccess="08/11/2011 13:22:03"/>
    <Website RootUrl="C:\Projects\Ensure_Solution\TrafficTesterWeb\" CacheFolder="TrafficTesterWeb(1)" sccprovider="MSSCCI:Microsoft Visual SourceSafe" scclocalpath=".." customserverurl="http://localhost/TrafficTesterWeb" sccauxpath="" addnewitemlang="Visual C#" sccprojectname="&quot;$/Ensure_Solution&quot;, IARCAAAA" vwdport="59021" enablevswebserver="false" _LastAccess="08/11/2011 13:22:05"/>
于 2012-05-23T13:24:19.240 回答
0

在我的一个项目中,我在 .csproj 中找到了它。如果您在那里没有看到它,请使用我使用的工具 Windows Grep 2.3 并搜索您保存的值。它是一个非常方便的工具,可以在 VS 搜索功能可能无法发现的文件中查找特定字符串。

于 2012-05-22T13:06:50.487 回答