Code Monkey home page Code Monkey logo

oldfileremover's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

danrancan

oldfileremover's Issues

Build Issues on Raspberry Pi Ubuntu 20.04 using Official Mono Repo

Im trying to build this on Ubuntu 20.04 on a raspberry pi. Ubuntu 20.04 doesn't come with some needed packages so I had to first install the official mono build from the official ubuntu mono repository. Then I followed the build steps until I get to errors...

nuget restore $HOME/OldFileRemover-master/src/OldFileRemover.sln

MSBuild auto-detection: using msbuild version '15.0' from '/usr/lib/mono/msbuild/15.0/bin'.
Restoring NuGet package CommandLineParser.2.0.275-beta.
Unable to find version '2.0.275-beta' of package 'CommandLineParser'.

Errors in packages.config projects
    Unable to find version '2.0.275-beta' of package 'CommandLineParser'.
    Unable to find version '2.0.275-beta' of package 'CommandLineParser'.

NuGet Config files used:
    /home/boopi/.config/NuGet/NuGet.Config

and ...

msbuild /p:Configuration=Release "$HOME/OldFileRemover-master/src/OldFileRemover.sln"

Microsoft (R) Build Engine version 16.10.1 for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Build started 02/14/2023 12:36:10.
Project "/home/myuser/OldFileRemover-master/src/OldFileRemover.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|x86".
Project "/home/myuser/OldFileRemover-master/src/OldFileRemover.sln" (1) is building "/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj" (2) on node 1 (default targets).
ResolveAssemblyReferences:
  Primary reference "CommandLine".
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2218,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "CommandLine". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
          For SearchPath "{HintPathFromItem}".
          Considered "/home/myuser/OldFileRemover-master/src/packages/CommandLineParser.2.0.275-beta/lib/net45/CommandLine.dll", but it didn't exist.
          For SearchPath "{TargetFrameworkDirectory}".
          Considered "/usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5/CommandLine.winmd", but it didn't exist.
          Considered "/usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5/CommandLine.dll", but it didn't exist.
          Considered "/usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5/CommandLine.exe", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/CommandLine.winmd", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/CommandLine.dll", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/CommandLine.exe", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/Facades/CommandLine.winmd", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/Facades/CommandLine.dll", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/Facades/CommandLine.exe", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/Facades/CommandLine.winmd", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/Facades/CommandLine.dll", but it didn't exist.
          Considered "/usr/lib/mono/4.5-api/Facades/CommandLine.exe", but it didn't exist.
          For SearchPath "{GAC}".
          Considered "CommandLine", which was not found in the GAC.
          For SearchPath "{RawFileName}".
          Considered treating "CommandLine" as a file name, but it didn't exist.
          For SearchPath "../bin/Release/".
          Considered "../bin/Release/CommandLine.winmd", but it didn't exist.
          Considered "../bin/Release/CommandLine.dll", but it didn't exist.
          Considered "../bin/Release/CommandLine.exe", but it didn't exist.
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreCompile:
  /usr/lib/mono/msbuild/Current/bin/Roslyn/csc.exe /noconfig /nowarn:1701,1702 /fullpaths /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /highentropyva+ /reference:/usr/lib/mono/4.5-api/mscorlib.dll /reference:/usr/lib/mono/4.5-api/System.Core.dll /reference:/usr/lib/mono/4.5-api/System.dll /optimize+ /out:obj/x86/Release/OldFileRemover.exe /subsystemversion:6.00 /target:exe /utf8output /langversion:6 Program.cs Properties/AssemblyInfo.cs CommandLineOptions.cs FileSizeCalculator.cs UserFriendlySizeFormatter.cs "obj/x86/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs"
  Using shared compilation with compiler from directory: /usr/lib/mono/msbuild/Current/bin/Roslyn
/home/myuser/OldFileRemover-master/src/Program.cs(2,7): error CS0246: The type or namespace name 'CommandLine' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(26,7): error CS0246: The type or namespace name 'CommandLine' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(27,7): error CS0246: The type or namespace name 'CommandLine' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(43,36): error CS0246: The type or namespace name 'ParserResult<>' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,4): error CS0246: The type or namespace name 'ValueAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,4): error CS0246: The type or namespace name 'Value' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,13): error CS0246: The type or namespace name 'MetaName' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,42): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,59): error CS0246: The type or namespace name 'HelpText' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(37,4): error CS0246: The type or namespace name 'OptionAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(37,4): error CS0246: The type or namespace name 'Option' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(37,28): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(37,45): error CS0246: The type or namespace name 'HelpText' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(40,4): error CS0246: The type or namespace name 'OptionAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(40,4): error CS0246: The type or namespace name 'Option' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
/home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(40,27): error CS0246: The type or namespace name 'HelpText' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
Done Building Project "/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj" (default targets) -- FAILED.
Done Building Project "/home/myuser/OldFileRemover-master/src/OldFileRemover.sln" (default targets) -- FAILED.

Build FAILED.

"/home/myuser/OldFileRemover-master/src/OldFileRemover.sln" (default target) (1) ->
"/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj" (default target) (2) ->
(ResolveAssemblyReferences target) ->
  /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2218,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "CommandLine". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]


"/home/myuser/OldFileRemover-master/src/OldFileRemover.sln" (default target) (1) ->
"/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj" (default target) (2) ->
(CoreCompile target) ->
  /home/myuser/OldFileRemover-master/src/Program.cs(2,7): error CS0246: The type or namespace name 'CommandLine' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(26,7): error CS0246: The type or namespace name 'CommandLine' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(27,7): error CS0246: The type or namespace name 'CommandLine' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(43,36): error CS0246: The type or namespace name 'ParserResult<>' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,4): error CS0246: The type or namespace name 'ValueAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,4): error CS0246: The type or namespace name 'Value' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,13): error CS0246: The type or namespace name 'MetaName' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,42): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(34,59): error CS0246: The type or namespace name 'HelpText' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(37,4): error CS0246: The type or namespace name 'OptionAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(37,4): error CS0246: The type or namespace name 'Option' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(37,28): error CS0246: The type or namespace name 'Required' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(37,45): error CS0246: The type or namespace name 'HelpText' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(40,4): error CS0246: The type or namespace name 'OptionAttribute' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(40,4): error CS0246: The type or namespace name 'Option' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]
  /home/myuser/OldFileRemover-master/src/CommandLineOptions.cs(40,27): error CS0246: The type or namespace name 'HelpText' could not be found (are you missing a using directive or an assembly reference?) [/home/myuser/OldFileRemover-master/src/OldFileRemover.csproj]

    1 Warning(s)
    16 Error(s)

Time Elapsed 00:00:03.02

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.