简体   繁体   中英

How to create shared assets in Xamarin.Forms?

I have read Using Android Assets . My problem is a bit different because I want to create a folder called assets in the "shared project" as follows. Android and iOS projects are removed for the sake of simplicity. Only UWP is left for demonstration purposes.

在此处输入图片说明

I have already created a folder named assets and save a file secret.txt in it. However, I don't know which Build Action value should I attach to this secret.txt . The secret file is not a real secret.

Any comments and suggestions are always welcome!

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