lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shad Storhaug <s...@shadstorhaug.com>
Subject RE: Build error on LuceneDocsPlugin: target "pack" does not exist
Date Mon, 08 Jul 2019 10:40:26 GMT
Shannon,

I am working on a different approach for this by setting the IsPackable MSBuild property to
false by default globally and using the solution file to do the pack rather than looping through
each project file.

I would have pushed it already (along with some other fixes), but now the test runner is fatally
crashing on .NET Core 2.x when testing Lucene.Net.dll. Still investigating.

Thanks,
Shad

-----Original Message-----
From: Shannon Deminick <shannon@umbraco.dk> 
Sent: Monday, July 8, 2019 2:00 PM
To: dev@lucenenet.apache.org
Cc: Thomas Mathew <thomat@microsoft.com>
Subject: Re: Build error on LuceneDocsPlugin: target "pack" does not exist

PR is here  https://github.com/apache/lucenenet/pull/228

On Mon, Jul 8, 2019 at 4:51 PM Shannon Deminick <shannon@umbraco.dk> wrote:

> Found the issue, it's in the build.ps1 on line 199:
>
> $packages = Get-ChildItem -Path "$source_directory\**\*.csproj" 
> -Recurse | ? {
>
> which is getting all csproj when it needs to ignore the 
> LuceneDocsPlugins one. I'll send a PR for it soon.
>
> On Mon, Jul 8, 2019 at 4:40 PM Shannon Deminick <shannon@umbraco.dk>
> wrote:
>
>> Hi Aaron,
>>
>> I just ran the build.bat locally here and at the very end I get the 
>> same error. TBH i don't think i've actually run this build file 
>> before. This project is purely to build the documentation suite so 
>> maybe its accidentally getting included in the main build script. 
>> I'll see if i can find something obvious.
>>
>> Shannon
>>
>> On Sat, Jul 6, 2019 at 8:16 AM Aaron Meyers 
>> <Aaron.Meyers@microsoft.com.invalid> wrote:
>>
>>> Hi all,
>>>
>>> I'm trying to build the current Lucene.Net sources locally and I'm 
>>> running into the following build error:
>>>
>>> C:\Data\github\lucenenet\src\docs\LuceneDocsPlugins\LuceneDocsPlugin
>>> s\LuceneDocsPlugins.csproj
>>> : error MSB4057: The targ
>>> et "pack" does not exist in the project.
>>> Error: 7/5/2019 3:00:22 PM:
>>>  +                 ~~~~~& dotnet.exe pack $project --configuration
>>> $Configuration --output $nuget_package_directory --no -build 
>>> --include.symbols /p:PackageVersion=$packageVersion
>>>
>>> I've poked around a little bit and haven't figured out what is going 
>>> on
>>> - has anyone else run into this?
>>> My machine has multiple versions of VS (2015/2017/2019) and .NET 
>>> Core SDKs (2.0 through 3.0 preview) so it might have something to do with that.
>>> It was trying to build using the 3.0 preview SDK which overrode with 
>>> global.json in the lucenenet repo root but no effect on this build error.
>>>
>>> Thanks!
>>>
>>>
>>> Aaron Meyers
>>> Principal Software Engineer
>>> Microsoft Power BI
>>>
>>>
Mime
View raw message