Successfully installed ‘WPtoolkit 4.2013.08.16’. Successfully uninstalled ‘WPtoolkit 4.2013.08.16’. Install failed. Rolling back… Could not install package ‘WPtoolkit 4.2013.08.16’. You are trying to install this package into a project that targets ‘WindowsPhone,Version=v8.0’, but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author. When I met the issue, it means I could not install the nuget package. The way to solve the issue is go to http://www.nuget.org and install the latest package.
Does anyone use the NLog successfully in WP7?
I googled a lot, finally I cannot add an extension to the NLog. So I add the IsolatedStorageTarget to the dll, and compile it. And it successfully worked.
What I do?
1. add the following codes to the target folder:
2. Add the NLog.config:
3. Add the codes to your cs file that you want to use:
that is all of the steps you need to do.
If you want the compiled dll, you can download from link. If the link is not available, please comment under the article.