Nuget Ixxat.Vci4 - Version 4.1.11
CompletedI has a trouble with the actual version 4.1.11.
With the newest Nuget-Package I will got this error message, here in German:
---------------------------
Microsoft Visual Studio
---------------------------
Fehler beim Ausführen des Projekts: Das Programm "\CAN Test App\CAN Test App\bin\Debug\CAN Test App.exe" kann nicht gestartet werden.
Diese Anwendung konnte aufgrund einer falschen Anwendungskonfiguration nicht gestartet werden. Überprüfen Sie die Manifestdatei auf mögliche Fehler. Durch erneutes Installieren der Anwendung kann das Problem möglicherweise behoben werden. Weitere Informationen finden Sie im Anwendungsereignisprotokoll.
---------------------------
OK
---------------------------
And in eventlog:
Fehler beim Generieren des Aktivierungskontextes für "C:\!FCS_PRJ\Internal_Tools\CAN Test App\CAN Test App\bin\Debug\CAN Test App.exe.Manifest". Fehler in Manifest- oder Richtliniendatei "C:\!FCS_PRJ\Internal_Tools\CAN Test App\CAN Test App\bin\Debug\CAN Test App.exe.Manifest" in Zeile 80. Der Wert "\vcinet\arm64\vcinet.arm64.dll" des "name"-Attributs im urn:schemas-microsoft-com:asm.v1^file-Element ist ungültig.
With the previous version 4.1.10 it works without problems.
Steps to reproduce:
===============
- Visual Studio 17.13.0 was used
- create new project: WPF-App (.NET Framework), C# or VisualBasic, .NET Framework 4.8 or 4.8.1
- Add Nuget package, Ixxat.Vci4 - Version 4.1.11
- Run it --> it should compile, an empty windows appear: all is ok.
- Then right click on project --> properties.
- Go to tab "Security"
- Activate "ClickOnce Security settings" or "ClickOnce-Sicherheitseinstellungen aktivieren" in german VS
- RadioButton: "Full Trust application" (Voll vertrauenswürdige Anwendung)
- Then run the Applikation, it will fail with error message like above...
Workaround
=========
Use the previous version 4.1.10...
-
Official comment
Hello Ueli,
do you use a ARM64 Windows System?
I ask because of this output: "\vcinet\arm64\vcinet.arm64.dll"
BTW - the sources for the VCI.NET wrapper is now free available:
https://github.com/hms-networks/ixxat-vci4-dotnet-wrapper
Best regards,
Peter -
Hello Peter,
No, I don't use a ARM64 system, I use a x64 Windows system.
The Nuget-Package contains *.dll's for x86, x64 and arm64 systems for use on customer's target's...
The previous nuget package 4.1.10 contains arm64 binaries too and it works.
Best regards,
Ueli0 -
Hello Ueli,
it seems I can reproduce it with Visual Studio 2022.
Without ClickOnce Security it works ok.
With ClickOnce only the EXE in the directory "app.publish" works ok after adding the subdirectories with the VCI.NET assemblies.
But in the manifest file it looks different to yours:<file name="\vcinet\arm64\vcinet.arm64.dll" size="172032">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />I will come back with more information.
Best regards,
Peter0 -
Hello Ueli,
we found it. A new NuGet-Package will come.
In the manifest file the path to the DLL has a leading backslash.
"\vcinet\arm64\vcinet.arm64.dll"
This should be without backslash (for all of these entries):
"vcinet\arm64\vcinet.arm64.dll"
The manifest file will be created during the build process.
And the data is read from the file "Ixxat.Vci4.targets" in the packages directory.
We change it and do some tests. I'll inform you when the new version is available.
Best regards,
Peter0 -
Hello Peter,
ok, thank you for the good news and information.Best regards,
Ueli
0 -
Hello Ueli,
we created a new version on NuGet it is V 4.1.12.
I tested it with .NET Framework 4.8 and .NET 9.
https://www.nuget.org/packages/Ixxat.Vci4.StrongNameAlso, the source code is updated on GitHub.
https://github.com/hms-networks/ixxat-vci4-dotnet-wrapper
We created an issue for that. Is it ok that we copy your replication procedure there?
https://github.com/hms-networks/ixxat-vci4-dotnet-wrapper/issues/7Best regards,
Peter0 -
Hello Peter,
I could try and verify the V4.1.12 successfully. So, the issue is now solved for me.
It's okay, if my replication procedure copied to github issue.
0 -
Hello Ueli,
thank you for the confirmation.
If there are any questions or problems, then please create here or at our support page a new request.
https://support.hms-networks.com/hc/en-us
Best regards,
Peter0
Please sign in to leave a comment.
Comments
8 comments