Logshark icon indicating copy to clipboard operation
Logshark copied to clipboard

Project file missing

Open christophergies opened this issue 1 year ago • 1 comments

Hello,

in the installation process I get the following error message:

$ dotnet publish Logshark.sln -c Release -r linux-x64 /p:Version=4.2.3 --self-contained true
Microsoft (R) Build Engine version 16.7.3+2f374e28e for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

/opt/rh/rh-dotnet31/root/usr/lib64/dotnet/sdk/3.1.426/NuGet.targets(282,5): error MSB3202: The project file "/appexec/depot94/tableau/software/Logshark-master/LogShark.Tests/LogShark.Tests.csproj" was not found. [/appexec/depot94/tableau/software/Logshark-master/Logshark.sln]

The Logshark.sln (which should be written in camelcase according to the installation documentation https://github.com/tableau/Logshark#compile-it-yourself) looks like this:

$ cat Logshark.sln
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.4.33122.133
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LogShark", "LogShark\LogShark.csproj", "{EA705079-65E2-4E68-8FEB-91542F3503E3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LogShark.Tests", "LogShark.Tests\LogShark.Tests.csproj", "{245D8915-8292-4D99-88F7-1701ABB97E68}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{49B2B0D8-EA50-417B-A2C9-4FDA7B9D3809}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LogShark.Shared", "LogShark.Shared\LogShark.Shared.csproj", "{0022639E-6916-49AA-B265-E8BA078C366F}"
EndProject
Global
        GlobalSection(SolutionConfigurationPlatforms) = preSolution
                Debug|Any CPU = Debug|Any CPU
                Release|Any CPU = Release|Any CPU
        EndGlobalSection
        GlobalSection(ProjectConfigurationPlatforms) = postSolution
                {EA705079-65E2-4E68-8FEB-91542F3503E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {EA705079-65E2-4E68-8FEB-91542F3503E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {EA705079-65E2-4E68-8FEB-91542F3503E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
                {EA705079-65E2-4E68-8FEB-91542F3503E3}.Release|Any CPU.Build.0 = Release|Any CPU
                {245D8915-8292-4D99-88F7-1701ABB97E68}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {245D8915-8292-4D99-88F7-1701ABB97E68}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {245D8915-8292-4D99-88F7-1701ABB97E68}.Release|Any CPU.ActiveCfg = Release|Any CPU
                {245D8915-8292-4D99-88F7-1701ABB97E68}.Release|Any CPU.Build.0 = Release|Any CPU
                {0022639E-6916-49AA-B265-E8BA078C366F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {0022639E-6916-49AA-B265-E8BA078C366F}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {0022639E-6916-49AA-B265-E8BA078C366F}.Release|Any CPU.ActiveCfg = Release|Any CPU
                {0022639E-6916-49AA-B265-E8BA078C366F}.Release|Any CPU.Build.0 = Release|Any CPU
        EndGlobalSection
        GlobalSection(SolutionProperties) = preSolution
                HideSolutionNode = FALSE
        EndGlobalSection
        GlobalSection(ExtensibilityGlobals) = postSolution
                SolutionGuid = {FF7B8C79-2192-4F6D-8D7C-561A71B3D1F0}
        EndGlobalSection
EndGlobal

I can't find the the Projectfile LogShark.Tests.csproj within the repo:

$ ls -la ./LogShark.Tests/LogShark.Tests.csproj
ls: cannot access ./LogShark.Tests/LogShark.Tests.csproj: No such file or directory

christophergies avatar Mar 21 '23 08:03 christophergies

its because the "s" is lowercase in the file name. So it should be "Logshark.Tests.csproj", not "LogShark.Tests.csproj". Take a look in Logshark-4.2.3/LogShark.Tests/, I see the file there.

rickymedrano avatar Apr 24 '23 23:04 rickymedrano