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:a24:ac56:: with SMTP id m22mr16303749iti.25.1557070085123; Sun, 05 May 2019 08:28:05 -0700 (PDT) X-Received: by 2002:a05:6830:1592:: with SMTP id i18mr10536768otr.244.1557070084644; Sun, 05 May 2019 08:28:04 -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!b2no471686itd.0!news-out.google.com!v189ni605itv.0!nntp.google.com!136no471757itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 5 May 2019 08:28:04 -0700 (PDT) In-Reply-To: <50adfe1e-7bee-4048-8523-1b41bd0c9fe3@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=72.46.200.130; posting-account=4XtIhQoAAACVLe8W-swsgut7CQByKD3Y NNTP-Posting-Host: 72.46.200.130 References: <50adfe1e-7bee-4048-8523-1b41bd0c9fe3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2569c28e-ccde-4f39-87c9-8799973ecdba@googlegroups.com> Subject: Re: ANN: VisualAda (Ada Integration for Visual Studio 2017 & 2019) release 1.2.0 From: Greg Injection-Date: Sun, 05 May 2019 15:28:05 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:56242 Date: 2019-05-05T08:28:04-07:00 List-Id: Alex, oh, you're going to hate me, but not far off... seems to be just a UW= P packaging thing. This is what I did: ON BOTH VS2017 and VS2019: 1. Uninstalled VisualAda 1.1.12=20 2. Installed Visual Ada 1.2.0=20 WINRT: 3. Did a fresh git clone of Ada-WinRt-Runtime and Ada-WinRT. 4. Made changes to both GPR files for BASE_INSTALLATION_DIR - in my case, "= C:\msys64\mingw64\lib\gcc\x86_64-w64-mingw32\8.3.0\" 5. Built Ada-WinRt-Runtime with "Build.cmd" (you have to do the 2 link step= s, README.md should be updated to reflect using "Build.cmd" for this projec= t as well ?) 6. Build Ada-WinRt with "Build.cmd" Success, looks like they're in the right place. VS2017: 7. Created a new "Race1" XAML project and chose Debug/x64 configuration. 8. GNAT paths point to correct C:\MSys64 locations. 9. Interestingly, if I do a "Rebuild" straight away, I get this: ----------------------------------- Ada.targets(175,5): error MSB4018: The "CompileTask" task failed unexpected= ly. Ada.targets(175,5): error MSB4018: System.IO.FileNotFoundException: Could n= ot find file 'C:\home\dad\dev2\Race2\Race2Xaml\bin\x64\Debug\Race2Xaml.winm= d'. Ada.targets(175,5): error MSB4018: File name: 'C:\home\dad\dev2\Race2\Race2= Xaml\bin\x64\Debug\Race2Xaml.winmd' Ada.targets(175,5): error MSB4018: at System.IO.__Error.WinIOError(Int32= errorCode, String maybeFullPath) Ada.targets(175,5): error MSB4018: at System.IO.FileStream.Init(String p= ath, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, Fil= eShare shar Ada.targets(175,5): error MSB4018: at System.IO.FileStream..ctor(String = path, FileMode mode, FileAccess access, FileShare share) Ada.targets(175,5): error MSB4018: at System.IO.File.OpenRead(String pat= h) Ada.targets(175,5): error MSB4018: at Winmd2Ada.Program.ConvertWinmd2Ada= (String ArgsWinmd, String ArgsDir, Boolean WinRt, Boolean Core) Ada.targets(175,5): error MSB4018: at Ada.CompileTask.Execute() Ada.targets(175,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecut= ionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() Ada.targets(175,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilde= r.d__26.MoveNext() ----------------------------------- 10. However, doing a "Build" from there kicks it off just fine. 11. Get through compilation and binding and then this: ----------------------------------- 1>Bind 1> [gprbind] race1.bexch 1> [Ada] race1.ali 1>Race1.vcxproj -> C:\home\dad\dev2\Race1\Race1\x64\Debug\Race1.exe 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Mic= rosoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2780,5)= : error APPX0702: Payload file 'C:\Program Files (x86)\Microsoft SDKs\NuGet= Packages\System.ServiceModel.Http\4.1.3\lib\netcore50\System.ServiceModel.H= ttp.dll' does not exist. 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Mic= rosoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2780,5)= : error APPX0702: Payload file 'C:\Program Files (x86)\Microsoft SDKs\NuGet= Packages\System.ServiceModel.NetTcp\4.1.3\lib\netcore50\System.ServiceModel= .NetTcp.dll' does not exist. 1>Done building project "Race1.vcxproj" -- FAILED. ----------------------------------- But I bet I can get this one before you can :-) Greg