The fake errors in XAML – How to fix “The Attached Property ‘ViewNodeId’ was

來源:互聯網
上載者:User

When developing Windows store app, sometimes a lot of "The attached property 'ViewNodeId' was not found in type 'DependencyObject'." errors in some Xaml files.

How to fix these errors?

The solution in a word: The above errors are not the root errors, you can look through all errors in "Error List" and fix other errors. Rebuild and the 'ViewNodeId' error will disappear. If not, try to reopen the solution.

以前時也遇到過類似的錯誤,也是如此解決的。但今天乍一看到如此多的'ViewNodeId'錯誤就有點亂,沒有想到看Error List。再搜尋時看到好多人也為此問題鬱悶,更有一個哥們都頭撞桌子了(After spending come time banging my head off the desk)。提醒一點,如果在解決了其它類型的錯誤時仍有這類問題,不妨關閉VS重新開啟工程試一下。

撞桌子的哥們在這裡,http://answers.flyppdevportal.com/categories/metro/csharpvb.aspx?ID=ff44b354-62e0-469d-b8c5-65bc805a48d0

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.