Giter Site home page Giter Site logo

Any updates ? about nake HOT 11 CLOSED

yevhen avatar yevhen commented on May 29, 2024
Any updates ?

from nake.

Comments (11)

bufferUnderrun avatar bufferUnderrun commented on May 29, 2024 1

I just see a 3.0.0-RC3 targeting NET6.
I will test it.

Thanks !!

from nake.

yevhen avatar yevhen commented on May 29, 2024

Lack of time, I believe) What things do you need the most?

from nake.

yevhen avatar yevhen commented on May 29, 2024

From known bugs this is a must-have to fix

from nake.

bufferUnderrun avatar bufferUnderrun commented on May 29, 2024

.NET5 or .NET6 compatibility would be great !

from nake.

yevhen avatar yevhen commented on May 29, 2024

Ok. I’ll push update for net6

from nake.

yevhen avatar yevhen commented on May 29, 2024

Let me know how it goes) I plan to add ability to specify framework version as cli parameter and fix the bug with caching multi-file scrips before the final release. That’s why RC status for now

from nake.

bufferUnderrun avatar bufferUnderrun commented on May 29, 2024

Could support both NET5/NET6 ?

I test from a mcr.microsoft.com/dotnet/sdk:6.0-alpine docker image, exception when installing

# dotnet tool install Nake --version 3.0.0-RC3
Microsoft.DotNet.ToolPackage.ToolConfigurationException: Failed to retrieve tool configuration: Could not find a part of the path '/root/.nuget/packages/nake/3.0.0-RC3/tools/net6.0/any/DotnetToolSettings.xml'.
 ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '/root/.nuget/packages/nake/3.0.0-RC3/tools/net6.0/any/DotnetToolSettings.xml'.
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategy(FileStream fileStream, String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at Microsoft.DotNet.ToolPackage.ToolConfigurationDeserializer.Deserialize(String pathToXml)
   --- End of inner exception stack trace ---
   at Microsoft.DotNet.ToolPackage.ToolConfigurationDeserializer.Deserialize(String pathToXml)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstance.DeserializeToolConfiguration(LockFileTargetLibrary library)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstance.GetToolConfiguration()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at Microsoft.DotNet.ToolPackage.ToolPackageInstance.GetCommands()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.get_Value()
   at Microsoft.DotNet.ToolPackage.ToolPackageInstance.get_Commands()
   at Microsoft.DotNet.Tools.Tool.Install.ToolInstallLocalCommand.Install(FilePath manifestFile)
   at Microsoft.DotNet.Tools.Tool.Install.ToolInstallLocalCommand.Execute()
   at Microsoft.DotNet.Tools.Tool.Install.ToolInstallCommand.Execute()
   at Microsoft.DotNet.Cli.DotNetTopLevelCommandBase.RunCommand(String[] args)
   at Microsoft.DotNet.Tools.Tool.ToolCommand.Run(String[] args)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
   at Microsoft.DotNet.Cli.Program.Main(String[] args)

i do something wrong ?

from nake.

yevhen avatar yevhen commented on May 29, 2024

Hmmm. Have no idea what is going on here. I’ll get back to you little bit later

from nake.

yevhen avatar yevhen commented on May 29, 2024

Pushed RC2 with that file included in a package.

from nake.

yevhen avatar yevhen commented on May 29, 2024

@bufferUnderrun try 3.0.0 release. The problem was due to the dash in release name 🤦‍♂️

from nake.

bufferUnderrun avatar bufferUnderrun commented on May 29, 2024

@yevhen Sorry for long time since my last comment.

I've done some tests and everything seems to work, even inside my docker container.

Will convert my old CI/CD Cake script to the Nake syntax.

Thanks for your help !

from nake.

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.