I have just upgraded to version 18.2.6 and now when I launch Visual Studio I get an error (see attached)
ConvertToDevExtremCommandPackage did not load correctly.
I have just upgraded to version 18.2.6 and now when I launch Visual Studio I get an error (see attached)
ConvertToDevExtremCommandPackage did not load correctly.
We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.
Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.
We've managed to fix the issue. Please re-download the upgraded DevExtreme 18.2.6 installation from the Download Manager (or from DevExpress site if you are using trial version) and re-install the components. We apologize for the inconvenience.
Hi Simon,
I'd also like to follow up and add that we fixed the issue with the warning message in the DevExtreme - The 'DevExtreme.AspNet.Mvc' extension causes a performance warning in Visual Studio 2017.
Let us know your results if you decide to test it on your side.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Same here.
Me too. This is in the log.
<entry> <record>734</record> <time>2019/02/13 11:21:50.094</time> <type>Error</type> <source>VisualStudio</source> <description>SetSite failed for package [ConvertToDevExtremeCommandPackage]Source: 'mscorlib' Description: Empty path name is not legal.
System.ArgumentException: Empty path name is not legal.
 at System.IO.File.ReadAllText(String path)
 at DevExtreme.AspNet.Mvc.ProjectWizards.FileSystemImpl.ReadAllText(String fileName)
 at DevExtreme.AspNet.Mvc.ProjectWizards.ProjectHelper.IsNETCoreProjectType()
 at DevExtreme.AspNet.Mvc.ProjectWizards.ProjectHelper.IsDevExtremeMvcNetCoreProject()
 at DevExtreme.AspNet.Mvc.VisualStudio.ConvertToDevExtremeCommand.CheckAndSuggestUpdateForProjects()
 at DevExtreme.AspNet.Mvc.VisualStudio.ConvertToDevExtremeCommand..ctor(Package package, DTE2 dte, OleMenuCommandService commandService, Boolean isSolutionOpened)
 at DevExtreme.AspNet.Mvc.VisualStudio.ConvertToDevExtremeCommand.<Initialize>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at DevExtreme.AspNet.Mvc.VisualStudio.ConvertToDevExtremeCommandPackage.<InitializeAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass16_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
 at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__78.MoveNext()
 at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)
 at Microsoft.VisualStudio.Services.VsTask.GetResult()</description> <guid>{429DCF35-B2B1-4480-A1D7-0422AADB85B9}</guid> <hr>80070057 - E_INVALIDARG</hr> <errorinfo></errorinfo> </entry> <entry> <record>735</record> <time>2019/02/13 11:21:50.100</time> <type>Error</type> <source>VisualStudio</source> <description>End package load [ConvertToDevExtremeCommandPackage]</description> <guid>{429DCF35-B2B1-4480-A1D7-0422AADB85B9}</guid> <hr>80070057 - E_INVALIDARG</hr> <errorinfo></errorinfo> </entry> </activity>
Also I noticed that "DevExtreme" became the default in the Output Window "Show output from" dropdown.
Where has all this DevExtreme stuff come from? I am a Winforms-only developer!
Hi Simon,
We checked this issue and found that ConvertToDevExtremeCommandPackage fails to start if there are no certain .NET Core packages in Visual Studio. We'll update this thread once we correct this logic. Please bear with us.
We reproduced the second issue as well. It occurs because now DevExtreme Tools are loaded for each VS project. Although it doesn't affect VS operation, we understand that this may be inconvenient and will improve this logic to check for a project type in future versions.