Getting this error while trying to run View on your device.

1
System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. File name: 'System.Net.NetworkInformation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'    at Mendix.Modeler.Utility.NetworkUtil.GetLocalNetworkConnections()    at Mendix.Modeler.WebUI.View.Tools.ViewApp.ProgressiveWebAppDialog..ctor(IRunProfileManager runProfileManager, IProject project, IGuiThreadExecutor guiThreadExecutor, IBrowserOpener browserOpener, IDocumentViewManager documentViewManager, ILocalRunConfigurationsManager localRunConfigurationsManager) in Mendix.Modeler.WebUI.View\Tools\ViewApp\ProgressiveWebAppDialog.cs:line 68    at Mendix.Modeler.WebUI.View.Tools.ViewApp.ViewAppMenuItemsProvider.OpenMobileAppDialog() in Mendix.Modeler.WebUI.View\Tools\ViewApp\ViewAppMenuItemsProvider.cs:line 138    at Mendix.Modeler.WebUI.View.Tools.ViewApp.ViewAppMenuItemsProvider.<CreateViewModelsForMobileApp>b__29_0(Object _, EventArgs _) in Mendix.Modeler.WebUI.View\Tools\ViewApp\ViewAppMenuItemsProvider.cs:line 117    at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)    at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)    
asked
1 answers
0

Hi Ashutosh,

 

What have you tried to fix the error?

Try cleaning your app directory by pressing App> Clean deployment directory.

If that does not work you can delete the project folder or rename it to old and mendix will download the project again from the teamserver. If that does not work you might have to reinstall studio pro. Also reboot between each step to be sure.

answered