简体   繁体   English

vs2010在哪里保存WebSite属性值?

[英]where does vs2010 saves WebSite property values?

after a lot of searching , i'm trying to find : where does vs2010 saves the values for website properties : 经过大量搜索后,我试图找到:vs2010 在哪里保存网站属性的值:

在此处输入图片说明

it is not in the SLN , nor PROJ ... 它不在SLN中,也不在PROJ中...

ive heard once it is in C:\\Users\\royi\\AppData\\Local\\Microsoft\\WebsiteCache\\Websites.xml 我在C:\\ Users \\ royi \\ AppData \\ Local \\ Microsoft \\ WebsiteCache \\ Websites.xml中听到的声音

but after a testing of changing , i cant see the reflected changes...(even after restart - for flushing...) 但是经过更改测试,我看不到反映的更改...(即使在重新启动后-用于冲洗...)

so where does vs2010 saves it ? 那么vs2010在哪里保存呢?

ps I also tried FileMon... but nothing.... ps我也试过FileMon ...但是什么也没有。

update : 更新:

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

i was searching via Total commander in inside the files but unicode checkbox should have been selected... 我正在文件中通过Total Commander搜索,但应该选中unicode复选框...

here is a sample of data : 这是数据样本:

<?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"/>

On one of my projects, I found it in .csproj. 在我的一个项目中,我在.csproj中找到了它。 If you don't see it there, use the tool I used, Windows Grep 2.3 and search for the value you have saved. 如果您在此处看不到它,请使用我使用的工具Windows Grep 2.3,然后搜索保存的值。 It is a very handy tool for finding specific strings in files that VS search functions may not uncover. 这是一个非常方便的工具,用于在VS搜索功能可能无法发现的文件中查找特定的字符串。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM