What are some common issues faced during deployment of WinForms/WPF apps and how do I solve them?

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Frequently Asked Questions (FAQs) > Building and Deployment >

What are some common issues faced during deployment of WinForms/WPF apps and how do I solve them?

 

Issue: I am using a new build but I don’t see the new features/fixes

Solution: This issue arises when there is a reference to the old NuGet packages in the project or if the installation is improper. Follow the below steps for fixing the issue.

1.Uninstall all the old versions of Gnostice NuGet packages from your machine using the following command at the Package Manager Console. Note that using the GUI uninstall will not remove the dependent packages.

 

> Uninstall-Package <package-name> -RemoveDependencies

 

2.Reinstall the latest NuGet package.

3.Rebuild the project and run.

4.If this doesn't solve the problem you can try clearing out the NuGet cache so stale packages are not picked up. For this go to Tools -> Options -> NuGet Package Manager and click on "Clear All NuGet Cache(s)". Then repeat the above steps to remove and re-add the packages.

 

Issue: I have activated the license on my developer machine but I am still seeing the trial watermark

Solution: This can happen due to several reasons. You can try the following solutions

Please ensure successful license activation status is indicated in the Gnostice License Manager. See the License Management topic for more details.

Ensure that your project includes the license.licx file as an embedded resource and has the following entry in it:

 

Gnostice.Licensing.License, Gnostice.Documents

 

If you are developing a cross-platform app (.NET Core or Xamarin) then due to limitations in Microsoft tooling the run time license will not be automatically embedded in your app. In such a case please see the Provision Runtime License for .NET Standard Projects topic for more details.

 

None of this solves my problem or I am having some other issue not listed here

Please write to us on support@gnostice.com.