简体   繁体   中英

live tiles with background agent

I want to create some live tiles for my app. And I am creating this live tile by writable bitmap using UIElemnt of page. And I want To make these tiles on periodic task and Its separate project. I have reference of that project in my main project where all views exist. But in my background scheduling project, I Want to access the main project view to access to UIelement to make live tile with writable bitmap. I am unable to access as its don't have reference of that project. And When ever i want to add that it says you cant add reference due to circular dependency.

You just have to change the way you've organized your solution. Create a third project and reference it from the main project and from the background agent's project. Then move all the shared code and views in that new project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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