Compiler warnings in Visual Studio

Fixed in

EPiServer.Find 13.2.6

Created

Feb 05, 2019

Updated

Mar 20, 2020

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Install Visual Studio extension.
  2. Create an MVC site with with Find.
  3. Compile.

See compiler warnings:

SeverityCodeDescriptionProjectFileLineSuppression State
WarningCS0618'UriSupport.AddQueryString(string, string, string)' is obsolete: 'Use EPiServer.Web.UriUtil.AddQueryString instead.'EpiserverSite16C:\Users\per\Documents\Visual Studio 2017\Projects\EpiserverSite16\EpiserverSite16\Models\ViewModels\FindSearchContentModel.cs43N/A
WarningCS0618'UriSupport.AddQueryString(string, string, string)' is obsolete: 'Use EPiServer.Web.UriUtil.AddQueryString instead.'EpiserverSite16C:\Users\per\Documents\Visual Studio 2017\Projects\EpiserverSite16\EpiserverSite16\Models\ViewModels\FindSearchContentModel.cs165N/A
WarningCS0618'UriSupport.AddQueryString(string, string, string)' is obsolete: 'Use EPiServer.Web.UriUtil.AddQueryString instead.'EpiserverSite16C:\Users\per\Documents\Visual Studio 2017\Projects\EpiserverSite16\EpiserverSite16\Models\ViewModels\FindSearchContentModel.cs174N/A
WarningCS0618'UriSupport.AddQueryString(string, string, string)' is obsolete: 'Use EPiServer.Web.UriUtil.AddQueryString instead.'EpiserverSite16C:\Users\per\Documents\Visual Studio 2017\Projects\EpiserverSite16\EpiserverSite16\Models\ViewModels\FindSearchContentModel.cs183N/A
WarningCS0105The using directive for 'EpiserverSite16.Models.Pages' appeared previously in this namespaceEpiserverSite16C:\Users\per\Documents\Visual Studio 2017\Projects\EpiserverSite16\EpiserverSite16\Controllers\FindSearchPageController.cs20N/A