From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a05:6602:22d9:: with SMTP id e25mr3536438ioe.188.1556617089844; Tue, 30 Apr 2019 02:38:09 -0700 (PDT) X-Received: by 2002:aca:f00b:: with SMTP id o11mr2438196oih.155.1556617089204; Tue, 30 Apr 2019 02:38:09 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!136no166693itk.0!news-out.google.com!v189ni175itv.0!nntp.google.com!b2no165091itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 30 Apr 2019 02:38:08 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=101.164.108.182; posting-account=wavAeAoAAAAZF_sXSZepBukuPCBO0Zqt NNTP-Posting-Host: 101.164.108.182 References: <13ce24c7-2cfd-4c77-8e4f-2aba216d9ca9@googlegroups.com> <12955098-0ae7-4e2e-b4dd-050620a1f039@googlegroups.com> <22ad2bb3-4d6e-48f0-9f72-ea2464390b13@googlegroups.com> <3d9b62c5-6461-420a-b051-132618c40369@googlegroups.com> <67e68b33-4fa1-45fc-aac5-3294258bb4da@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <30e9156c-193e-459d-987c-06182f78ae89@googlegroups.com> Subject: Re: ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12 From: alby.gamper@gmail.com Injection-Date: Tue, 30 Apr 2019 09:38:09 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:56212 Date: 2019-04-30T02:38:08-07:00 List-Id: On Tuesday, April 30, 2019 at 4:18:25 AM UTC+10, Greg wrote: > Hey Alex ... SUCCESS !!! (mostly) >=20 > My MSYS environment is set up exactly like yours, and I've been able to b= uild and install the Runtime and Bindings, and verified with gnatls, etc. >=20 > Now jumping back to VS2019, I created a new XAML project and I've set the= 3 Gnat Root directories in the General Ada section of the project properti= es to your "for example: C:\msys64......" suggestions for each of those. Th= ose directories do, of course, exist in my environment. >=20 > Compilation of the XAML project .adb files is working, but failing at the= bind stage with something like this: >=20 > 1>------ Build started: Project: RD, Configuration: Debug x64 ------ > 1>Compile > 1> [Ada] appoverrides.adb > 1> [Ada] guitask.adb > 1> [Ada] locatortask.adb > 1> [Ada] rdxaml.adb > 1>Bind > 1> [gprbind] rd.bexch > 1> [Ada] rd.ali > 1>gprbind: invocation of gnatbind failed > 1>gprbuild: unable to bind rd.adb > 1>MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting do= wn. Diagnostic information may be found in files in "C:\Users\Dad\AppData\L= ocal\Temp\" and will be named MSBuild_*.failure.txt. This location can be c= hanged by setting the MSBUILDDEBUGPATH environment variable to a different = directory. > 1>A task was canceled. > 1>A task was canceled. >=20 >=20 > ... Can't find anything in that TEMP folder, and know I'm just a config s= ettings or two away. I'll keep plugging away at it and see if something jum= ps out at me. Thanks for all the help, great stuff !!! >=20 > Regards, > Greg Hi Greg My Build output shows compilation of some additional Ada sources, namely rd= .adb and winmainstartup.adb as shown below. Are these files in your project ? Note the error in my sample, is because Microsoft insists on a filename wit= h more than 2 characters (Silly Microsoft). Could you try building manually outside VS with gprbuild. Below are the ste= ps 1) start a VS x64 native command prompt 2) cd to you project directory, you should have RD.gpr in that directory, i= f you named your project "RD" 3) run gprbuild -f -v -p -P RD.gpr In the meantime I'll continue to try and replicate your issue ------ Rebuild All started: Project: RD, Configuration: Debug x64 ------ Compile [Ada] rd.adb [Ada] appoverrides.adb [Ada] winmainstartup.adb [Ada] guitask.adb [Ada] locatortask.adb [Ada] rdxaml.adb Bind [gprbind] rd.bexch [Ada] rd.ali RD.vcxproj -> C:\Users\alexg\source\repos\RD\RD\RD\x64\Debug\RD.exe C:\Users\alexg\source\repos\RD\RD\RD\x64\Debug\AppxManifest.xml : error APP= X0501: Validation error. error C00CE169: App manifest validation error: The= app manifest must be valid as per schema: Line 10, Column 13, Reason: 'RD'= violates minLength constraint of '3'. The attribute 'Name' with value 'RD'= failed to parse. Done building project "RD.vcxproj" -- FAILED. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Rebuild All: 0 succeeded, 1 failed, 0 skippe= d =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D