Main Menu

Recent posts

#1
Oh.  I thought you were referencing the original code.  So, no, I did not add the red stuff.
#2
Did you add the two pieces of code marked red?
#3
Deployment / Re: Online Shapes Library
Last post by Nikolay - Today at 01:07:44 AM
It requires that ".dll.config" if you use the Newtonsoft JSON (it overrides some old versions there).
At least that's my assumption.

Regarding certificates - yes, it's a really cool business model. They validate your pass basically, yes.
BTW Microsoft itself does not hesitate to charge for that $540 a year (via DigiCert)
#4
Deployment / Re: Online Shapes Library
Last post by Thomas Winkel - April 24, 2024, 08:36:00 PM
Yes, this was one problem, Webview2 and Newtonsoft.Json.
But also "VisioAddin.dll.config" is required and I do not understand why.
This is a xml document that contains default values for the settings (defined in project properties).
I could simply add it to Product.wxs and it should work.
But in a similar project this is not required and I would like to understand what happened here before I do that.
Do you have an idea?

So far I only have a few users, all of whom I know personally.
So I can show them how to bypass the security mechanisms to install my SW...
But of course that is not an option for a reputable company.
250€ a year only to verify a copy of my ID card (or however that works) is a bold business model.
#5
General Visio / Re: Why does Visio show two di...
Last post by wapperdude - April 24, 2024, 03:40:47 PM
Wow!  It is a feature!!!  Since I only use English, I cannot indulge in such benefits.   :o  Poor me.  ::)   ;D  ;D  ;D 
#6
ShapeSheet & Smart Shapes / Re: SETATREF(Height) / EventXF...
Last post by wapperdude - April 24, 2024, 03:37:18 PM
Quote from: Yacine on April 24, 2024, 05:52:28 AMThe code with the global variable works. Why not try it?
How did you do this?  I tried and it made no difference,
#7
Deployment / Re: Online Shapes Library
Last post by Nikolay - April 24, 2024, 03:02:17 PM
The error is most probably you need to include the dependency DLLs (Microsoft.Web.WebView2) explicitly to the setup (Product.wxs), it is not automatic :(
      <Component>
        <File Name="Microsoft.Web.WebView2.Core.dll"></File>
      </Component>
      <Component>
        <File Name="Microsoft.Web.WebView2.WinForms.dll"></File>
      </Component>

Without certificate, the issue is, most probably the BROWSER will block download of the EXE/MSI (smart screen), so users won't be able to even download it :(
Signing with identity card is a dream, I doubt it will ever happen - these stupid certificates is a big business...
#8
Deployment / Re: Online Shapes Library
Last post by Surrogate - April 24, 2024, 02:52:54 PM
Quote from: Thomas Winkel on April 24, 2024, 12:34:16 PMWhich Visio version do you use?
Visio 2019 Professional (16.0.10409.20028)
#9
Deployment / Re: Online Shapes Library
Last post by Thomas Winkel - April 24, 2024, 12:34:16 PM
Which Visio version do you use?

Edit:
Ok, I can reproduce that it does not work.
I will check that later.
Until then, build the add-in yourself, please.
#10
Deployment / Re: Online Shapes Library
Last post by Surrogate - April 24, 2024, 12:01:54 PM
Quote from: Thomas Winkel on April 24, 2024, 10:34:26 AMNow with installer for the AddIn:
I try install latest version, but have no luck...