comp.lang.ada
 help / color / mirror / Atom feed
From: alby.gamper@gmail.com
Subject: Re: ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12
Date: Tue, 30 Apr 2019 02:38:08 -0700 (PDT)
Date: 2019-04-30T02:38:08-07:00	[thread overview]
Message-ID: <30e9156c-193e-459d-987c-06182f78ae89@googlegroups.com> (raw)
In-Reply-To: <b0cbcb52-d3fe-4fb6-85bf-cf6fb56b04f3@googlegroups.com>

On Tuesday, April 30, 2019 at 4:18:25 AM UTC+10, Greg wrote:
> Hey Alex ... SUCCESS !!! (mostly)
> 
> My MSYS environment is set up exactly like yours, and I've been able to build and install the Runtime and Bindings, and verified with gnatls, etc.
> 
> 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 properties to your "for example: C:\msys64......" suggestions for each of those. Those directories do, of course, exist in my environment.
> 
> Compilation of the XAML project .adb files is working, but failing at the bind stage with something like this:
> 
> 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 down. Diagnostic information may be found in files in "C:\Users\Dad\AppData\Local\Temp\" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
> 1>A task was canceled.
> 1>A task was canceled.
> 
> 
> ... Can't find anything in that TEMP folder, and know I'm just a config settings or two away. I'll keep plugging away at it and see if something jumps out at me. Thanks for all the help, great stuff !!!
> 
> 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 with
more than 2 characters (Silly Microsoft).

Could you try building manually outside VS with gprbuild. Below are the steps

1) start a VS x64 native command prompt
2) cd to you project directory, you should have RD.gpr in that directory, if
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 APPX0501: 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.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

  reply	other threads:[~2019-04-30  9:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-12 11:03 ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.1.12 alby.gamper
2019-04-17 15:52 ` Ark Man
2019-04-17 20:10   ` Greg
2019-04-20  4:23     ` alby.gamper
2019-04-20  4:52       ` alby.gamper
2019-04-28  3:19         ` Greg
2019-04-28  3:57           ` alby.gamper
2019-04-28  4:34             ` alby.gamper
2019-04-29 18:18               ` Greg
2019-04-30  9:38                 ` alby.gamper [this message]
2019-04-30 20:57                   ` Greg
2019-05-01 11:56                     ` alby.gamper
2019-05-01 16:45                       ` Greg
2019-05-03 11:52                         ` alby.gamper
2019-05-03 12:05                           ` alby.gamper
2019-05-03 12:11                             ` alby.gamper
2019-05-04  2:31                               ` Greg
2019-05-04  2:53                                 ` Greg
2019-05-04  5:23                                   ` alby.gamper
2019-05-04  5:33                                     ` alby.gamper
2019-05-04 13:31                                       ` Greg
2019-05-04 13:45                                         ` alby.gamper
2019-05-05  8:40                                         ` alby.gamper
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox