|
ewessely
Posts: 55
Joined: 2019-01-31
|
Hi,
to modify the trayicon for click twice I try to follow the documentation.
When adding a ClickTwice module in VS2019 the module is created and tries to open the designer which crashes.
The designer could not be shown for this file because none of the classes within it can be designed.
Instances of this error (1)
1. Hide Call Stack
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)
This only happens in VS2019 - VS2017 is working as expected.
BR
Erichew |
|
Posted 02 Nov, 2019 10:17:43
|
|
Top
|
|
ewessely
Posts: 55
Joined: 2019-01-31
|
I investigated a litte bit more time:
I reinstalled AddInExpress and found that it seems to be a problem with the project. I'm also not able to add a new XLLModule -> same error.
But open an existing XLLModule is no problem. It opens correctly with the designer.
Creating XLLModules or ClickTwice modlue in new project works fine.
How can I find out the what's causing the problem and...how can I fix my project to work again in VS2019 (16.3.7)?
br
Erichew |
|
Posted 02 Nov, 2019 12:19:13
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Erich,
In what Visual Studio version was this project created? What language does it use? Is that language installed in VS 2019?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 04 Nov, 2019 09:10:42
|
|
Top
|
|
ewessely
Posts: 55
Joined: 2019-01-31
|
Hello Andrei,
as far as I remember (it's only a test-project...) I started with VS2017 15.9.17. Because another thirdparty nuget required VS2019, I switched to VS2019 16.3.5 which I updated to 16.3.7.
I don't know whether the problem also exists in VS2019 16.3.5.
Programming language is c# which is installed.
It seems to be a problem with this project, an other project (also started in VS2017 and switched to 2019) works fine.
It's not a big thing because it's only a test-project, but it would be interresting what's the root cause and how to fix it and how to avoid the problem in future projects.
BR
Erichew |
|
Posted 05 Nov, 2019 05:28:30
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Erich,
What is the first line of the .csproj file?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 05 Nov, 2019 06:07:35
|
|
Top
|
|
ewessely
Posts: 55
Joined: 2019-01-31
|
Hello Andrei,
first lines:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Best regards
Erichew |
|
Posted 05 Nov, 2019 07:05:53
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Erich,
Thank you.
Please close all designer windows in your project, rebuild it, fix all compile-time errors and warnings and try to add an XLL module. Does it work?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 05 Nov, 2019 07:17:36
|
|
Top
|
|
ewessely
Posts: 55
Joined: 2019-01-31
|
Hello Andrei,
unfortunately no success ...
Best regards
Erichew |
|
Posted 05 Nov, 2019 09:08:50
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Erich,
I would like to access your PC remotely. Is this possible? If yes, I suggest using TeamViewer; in this case you'll need to send me your session ID and password by email; please find the support email address in {Add-in Express installation folder}\readme.txt.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 06 Nov, 2019 05:57:56
|
|
Top
|
|