Converted VO sample project won't open in Visual Studio 2017

This forum is meant for questions and discussions about the X# language and tools
Anonymous

Converted VO sample project won't open in Visual Studio 2017

Post by Anonymous »

Hello,

I tried to follow this tutorial about converting the VO Explorer:

https://www.xsharp.eu/help/example-1-th ... examp.html

I used the exact same Explorer project and the conversion is successful. However when I try to open the solution "Explorer.sln" in Visual Studio 2017, I get the error "Visual Studio cannot open project". I put a screenshot in the attachment.

In your tutorial is no mention of this error, what can I do to fix this so it works the same as the tutorial?
VSIsUnableToOpenProject.png
VSIsUnableToOpenProject.png (11.88 KiB) Viewed 412 times
FFF
Posts: 1532
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Converted VO sample project won't open in Visual Studio 2017

Post by FFF »

Hi Jelle,
welcome!
Got curious, tried to follow your proc - but stopped already in Xporter, see screenshots.
You should tell us, which version of X# you use, maybe there's a difference?
Exporter_Error.PNG
Exporter_Error.PNG (17.85 KiB) Viewed 412 times
Exporter_Error_2.PNG
Exporter_Error_2.PNG (24.05 KiB) Viewed 412 times
HTH
Karl
Regards
Karl
(on Win8.1/64, Xide32 2.19, X#2.19.0.2.)
Jello5

Converted VO sample project won't open in Visual Studio 2017

Post by Jello5 »

Thank you, I am using 1.0.2

I just noticed, if I go inside the explorer folder and then click on "Explorer.xsproj", Visual Studio did load, just like in the tutorial image. Maybe the .sln file is corrupt...
User avatar
wriedmann
Posts: 3655
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Converted VO sample project won't open in Visual Studio 2017

Post by wriedmann »

Hi Karl,

it seems you have a newer xPorter version than me <g>.

Please try to copy the file xided.dll from your XIDE folder to your xPorter folder. That should solve your problem.

Wolfgang

P.S. I'm in the process of converting VO applications to X# using XIDE, so I'm sure Xporter/VO 1.1.1.0 works.
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
FFF
Posts: 1532
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Converted VO sample project won't open in Visual Studio 2017

Post by FFF »

Jelle,
with Wolfgangs hint, my Xport ran, doubleclicking the sln opened my VS17 Community (albeit slooowly), with no errors, "run" started the example, clicking fileopen it crashed :P rightly, as i had ignored the Xporter's hint to copy my VN-runtime to the target folder...
EDIT: and hadn't added the path to the runtime in Xporters ini-file B)

@Wolfgang: the 1.2.1 i have from Fox d/l...
@Jelle: you should get you the 1.1.1 version from downloads.

HTH
Karl
Regards
Karl
(on Win8.1/64, Xide32 2.19, X#2.19.0.2.)
User avatar
robert
Posts: 4258
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Converted VO sample project won't open in Visual Studio 2017

Post by robert »

Jelle,

I think you have installed VS 2017 AFTER you installed XSharp.
Please run the XSharp setup again and choose to install the Visual Studio integration for Visual Studio 2017.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
Otto
Posts: 174
Joined: Wed Sep 30, 2015 6:22 pm

Converted VO sample project won't open in Visual Studio 2017

Post by Otto »

Karl Faller wrote:Hi Jelle,
Got curious, tried to follow your proc - but stopped already in Xporter, see screenshots.
There was a bug in the VOXporter installer included with the latest total package. There is fixed version in the download section available.
FFF
Posts: 1532
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

Converted VO sample project won't open in Visual Studio 2017

Post by FFF »

Otto,
i thought to have the corrected version - which is indeed so, but today i used the link from the startmenu, which still pointed to the old version, thx for the hint! - for the actual problem i did as Wolfgang said, and all was fine...

Edit: digging deeper, i have to say, this is a mess. The faulty exe shows in explorer properties as "Version 1.1.2.0" and shows this in the window caption when started.
The "corrected" one from 20.2. shows in properties 1.0.0.0 (!), the caption shows 1.1.1.0.

@Robert, Chris: my advice is SHORTEN the numbering scheme, and add some "automatics" to keep this info synced, doing by hand is to error prone :dry:

Karl
Regards
Karl
(on Win8.1/64, Xide32 2.19, X#2.19.0.2.)
Jello5

Converted VO sample project won't open in Visual Studio 2017

Post by Jello5 »

So I reinstalled VO like you suggested with the latest version, and i now get this error:
Unabletoconvert.png
Unabletoconvert.png (25.51 KiB) Viewed 412 times
How to solve? Did i do something wrong?
User avatar
wriedmann
Posts: 3655
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Converted VO sample project won't open in Visual Studio 2017

Post by wriedmann »

Hi Jelle,

please copy the file XIDED.dll from your XIDE folder to the xPorter/VO folder,
or download the latest xPorter/VO version and install it.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply