Comments (11)
I just see a 3.0.0-RC3 targeting NET6.
I will test it.
Thanks !!
from nake.
Lack of time, I believe) What things do you need the most?
from nake.
From known bugs this is a must-have to fix
from nake.
.NET5 or .NET6 compatibility would be great !
from nake.
Ok. I’ll push update for net6
from nake.
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.
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.
Hmmm. Have no idea what is going on here. I’ll get back to you little bit later
from nake.
Pushed RC2 with that file included in a package.
from nake.
@bufferUnderrun try 3.0.0 release. The problem was due to the dash in release name 🤦♂️
from nake.
@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)
- Spaces in directory confuses params passed to MSBuild HOT 3
- Stepping back from this project - help wanted HOT 1
- Nested tasks cli invocation syntax
- Typo in README.md HOT 1
- Fix wiki documentation for Shell HOT 5
- Wiki documentation for environment variable interpolation
- Document VSCode intellisense and debugging
- Multi-level caching
- Sample script scaffolding
- Include some batteries
- Align default imports and namespaces with dotnet-script
- Print task argument documentation to console
- Patch assemblies with build version
- Caching doesn't work properly for multi-file scripts
- Automatic quotation of interpolations
- Empty Nake.csx fails to run with 3.0.0-beta-02 due to NuGet resolution errors HOT 4
- [Discussion] Cmd() vs Run() vs await $"" HOT 1
- Update to .NET 7 HOT 2
- Get rid of nuget warnings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nake.