Coder Social home page Coder Social logo

Comments (3)

kyralretsam avatar kyralretsam commented on June 15, 2024

Encountering same issue on Fedora 38

kyral@Azim[±|master ✓]:~/workspace/PSXPackager $ dotnet --version
7.0.105
kyral@Azim[±|master ✓]:~/workspace/PSXPackager $ dotnet build
MSBuild version 17.4.3+7e646be43 for .NET
  Determining projects to restore...
  Restored /home/kyral/workspace/PSXPackager/PSXPackager/PSXPackager.csproj (in 232 ms).
  8 of 9 projects are up-to-date for restore.
/usr/lib64/dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1226,3): error MSB4019: The imported project "/usr/lib64/dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" was not found. Confirm that the expression in the Import declaration ";/usr/lib64/dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" is correct, and that the file exists on disk. [/home/kyral/workspace/PSXPackager/PSXPackagerGUI/PSXPackagerGUI.csproj]
  DiscUtils.Streams -> /home/kyral/workspace/PSXPackager/DiscUtils.Streams/bin/Debug/net6.0/DiscUtils.Streams.dll
  DiscUtils.Core -> /home/kyral/workspace/PSXPackager/DiscUtils.Core/bin/Debug/net6.0/DiscUtils.Core.dll
  DiscUtils.Iso9660 -> /home/kyral/workspace/PSXPackager/DiscUtils.Iso9660/bin/Debug/net6.0/DiscUtils.Iso9660.dll
  Popstation.Database -> /home/kyral/workspace/PSXPackager/Popstation.Database/bin/Debug/net6.0/Popstation.Database.dll
  PSXPackager.Common -> /home/kyral/workspace/PSXPackager/PSXPackager.Common/bin/Debug/net6.0/PSXPackager.Common.dll
  PSXPackager.Tests -> /home/kyral/workspace/PSXPackager/PSXPackager.Tests/bin/Debug/net6.0/PSXPackager.Tests.dll
  Popstation -> /home/kyral/workspace/PSXPackager/Popstation/bin/Debug/net6.0/Popstation.dll
  PSXPackager -> /home/kyral/workspace/PSXPackager/PSXPackager/bin/Debug/net6.0/PSXPackager.dll

Build FAILED.

/usr/lib64/dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(1226,3): error MSB4019: The imported project "/usr/lib64/dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" was not found. Confirm that the expression in the Import declaration ";/usr/lib64/dotnet/sdk/7.0.105/Sdks/Microsoft.NET.Sdk/targets/../../Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.targets" is correct, and that the file exists on disk. [/home/kyral/workspace/PSXPackager/PSXPackagerGUI/PSXPackagerGUI.csproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:02.73
kyral@Azim[±|master ✓]:~/workspace/PSXPackager $ rpm -qa | grep dotnet
dotnet-host-7.0.5-1.fc38.x86_64
dotnet-apphost-pack-6.0-6.0.16-1.fc38.x86_64
dotnet-hostfxr-6.0-6.0.16-1.fc38.x86_64
dotnet-runtime-6.0-6.0.16-1.fc38.x86_64
dotnet-targeting-pack-6.0-6.0.16-1.fc38.x86_64
dotnet-templates-6.0-6.0.116-1.fc38.x86_64
dotnet-sdk-6.0-6.0.116-1.fc38.x86_64
dotnet-6.0.116-1.fc38.x86_64
dotnet-hostfxr-7.0-7.0.5-1.fc38.x86_64
dotnet-runtime-7.0-7.0.5-1.fc38.x86_64
dotnet-templates-7.0-7.0.105-1.fc38.x86_64
dotnet-targeting-pack-7.0-7.0.5-1.fc38.x86_64
dotnet-apphost-pack-7.0-7.0.5-1.fc38.x86_64
dotnet-sdk-7.0-7.0.105-1.fc38.x86_64
kyral@Azim[±|master ✓]:~/workspace/PSXPackager $

from psxpackager.

kyralretsam avatar kyralretsam commented on June 15, 2024

I was able to make it work by invoking 'make build-linux-x64'

kyral@Azim[±|master ✓]:~/workspace/PSXPackager $ make build-linux-x64 
dotnet publish ./PSXPackager/PSXPackager-linux.csproj   -c Release -r linux-x64 -o ./build/linux-x64 --self-contained -p:PublishSingleFile=true -p:SelfContained=true -p:PublishTrimmed=true -p:InvariantGlobalization=true -p:EnableCompressionInSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None -p:DebugSymbols=false
MSBuild version 17.4.3+7e646be43 for .NET
  Determining projects to restore...
  Restored /home/kyral/workspace/PSXPackager/DiscUtils.Core/DiscUtils.Core.csproj (in 435 ms).
  Restored /home/kyral/workspace/PSXPackager/Popstation.Database/Popstation.Database.csproj (in 435 ms).
  Restored /home/kyral/workspace/PSXPackager/DiscUtils.Streams/DiscUtils.Streams.csproj (in 435 ms).
  Restored /home/kyral/workspace/PSXPackager/DiscUtils.Iso9660/DiscUtils.Iso9660.csproj (in 435 ms).
  Restored /home/kyral/workspace/PSXPackager/PSXPackager.Common/PSXPackager.Common.csproj (in 616 ms).
  Restored /home/kyral/workspace/PSXPackager/Popstation/Popstation.csproj (in 616 ms).
  Restored /home/kyral/workspace/PSXPackager/PSXPackager/PSXPackager-linux.csproj (in 616 ms).
  DiscUtils.Streams -> /home/kyral/workspace/PSXPackager/DiscUtils.Streams/bin/Release/net6.0/DiscUtils.Streams.dll
  DiscUtils.Core -> /home/kyral/workspace/PSXPackager/DiscUtils.Core/bin/Release/net6.0/DiscUtils.Core.dll
  DiscUtils.Iso9660 -> /home/kyral/workspace/PSXPackager/DiscUtils.Iso9660/bin/Release/net6.0/DiscUtils.Iso9660.dll
  Popstation.Database -> /home/kyral/workspace/PSXPackager/Popstation.Database/bin/Release/net6.0/Popstation.Database.dll
  PSXPackager.Common -> /home/kyral/workspace/PSXPackager/PSXPackager.Common/bin/Release/net6.0/PSXPackager.Common.dll
  Popstation -> /home/kyral/workspace/PSXPackager/Popstation/bin/Release/net6.0/Popstation.dll
  PSXPackager-linux -> /home/kyral/workspace/PSXPackager/PSXPackager/bin/Release/net6.0/linux-x64/psxpackager.dll
  PSXPackager-linux -> /home/kyral/workspace/PSXPackager/build/linux-x64/
cp README.md ./build/linux-x64
kyral@Azim[±|master ✓]:~/workspace/PSXPackager $ ls build/linux-x64/
psxpackager  README.md  Resources
kyral@Azim[±|master ✓]:~/workspace/PSXPackager $

from psxpackager.

RupertAvery avatar RupertAvery commented on June 15, 2024

closing issue as it is resolved

from psxpackager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.