“Store metadata ”CurrentBind“ is not valid” in debug of ClickOnce application

后端 未结 4 990
孤独总比滥情好
孤独总比滥情好 2021-02-19 08:52

When I try to access \"Application.CommonAppDataPath\" i get this error message:

System.Deployment: Store metadata \"CurrentBind\" is not valid

4条回答
  •  一整个雨季
    2021-02-19 09:36

    I had a similar issue (like jpierson's comment) with the same exception '"CurrentBind" not valid' on ApplicationDeployment.IsNetworkDeployed. I had unchecked "Options|Debugging|General|Just My Code". After checking it back all worked fine.

    NOTE: Some other discussion threads had suggested reinstalling VS2010. I did that but did not help. I don't know if reinstalling was also the fator.

提交回复
热议问题