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

How to add the .NET MAUI App Accelerator in Visual Studio

 To add the .NET MAUI App Accelerator in Visual Studio, follow these steps: Prerequisites: Ensure you have Visual Studio 2022 (17.3 or lat...