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

Open default email app in .NET MAUI

Sample Code:  if (Email.Default.IsComposeSupported) {     string subject = "Hello!";     string body = "Excellent!";    ...