android - How to create portable hybrid WebView library -


xamarin has razortodo sample demonstrates how build hybrid app using webview , razor. contains portable library contains views, models, , forth. however, when adding program portable library, can't find template that. can create normal "portable" library, doesn't have "views" folder. can create one, there's no template adding .cshtml files. can create file of different type .cshtml extension, nice vs know type. missing something?

thanks.

-john

using views folder convention. legitimate add folder.

if working inside of xamarin studio, can add .cshtml file project choosing "preprocessed razor template" under "text templating" in "new file" dialog.

visual studio doesn't include template type, can add text file or html file project, named .csthml file extension, , turn preprocessed razor template editing properties on file , setting "custom tool" razortemplatepreprocessor.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo