Saturday, July 2, 2011

WPF-Error -84 Source file "C:\...\\...\obj\Debug\App.g.i.cs"could not be found> while publishing your xbap (using clickOne one deployment)

I have seen the following error while publishing my XBAP application:

Error 84 Source file "C:\...\\...\obj\Debug\App.g.i.cs"could not be found.

I did find a workaround and it works most of the time. Following are the steps:

1. Clean the solution

2. Rebuild the solution

3. Build only the project that you want to publish (right-click the project in solution explorer --> build)

4. Hit "Publish Now" from the project's properties page (in the "Publish" tab).

No comments:

Post a Comment

Your project is not referencing the "MonoAndroid,Version=v8.1" framework. Add a reference to "MonoAndroid,Version=v8.1" in the "frameworks" section of your project.json, and then re-run NuGet restore.

I had  the same problem. Reason: file obj/project.assets.json target "MonoAndroid,Version=v7.1" when my project target androi...