Mattias Karlsson

Results 165 comments of Mattias Karlsson

Before `PathType`, it wasn't possible at all to test with MTP; now it is. Have hundreds of projects using `MTP` and Cake today. Unfortunately, `dotnet test` parameters totally change when...

Seen similar intermittent on CI with .NET 10 SDK, rebuilding sorts it. ``` /Users/vagrant/git/src/Cake.Frosting.Template/Cake.Frosting.Template.csproj(25,4): error MSB3733: Input file "templates/cakefrosting/build/Build.csproj" cannot be opened. The process cannot access the file '/Users/vagrant/git/src/Cake.Frosting.Template/templates/cakefrosting/build/Build.csproj' because...

Does it work for you if you specify cli language, i.e. ```csharp var projects = DotNetSlnList( ".", new DotNetSlnListSettings { EnvironmentVariables = { { "DOTNET_CLI_UI_LANGUAGE", "en" } } } );...

`EnvironmentVariables` on `ToolSettings` are only for that child process and doesn't affect anything else for current script/user/system.

I think the only consistent way to ensure consistent known output is to set `DOTNET_CLI_UI_LANGUAGE` environment variable. If it outputs an error or something unknown then it's risky to assume...

Thanks for bringing this to attention! As of now, we are not aware of any active work in progress toward resolving this issue. It is still up-for-grabs for anyone in...

Apparently they set the wrong version of System.Security.Cryptography.Pkcs and reverted a month ago, so maybe hold off to next version. https://github.com/NuGet/NuGet.Client/commit/d13453f51aafe5ad10035425cf986edce0679fa6#diff-5baf5f9e448ad54ab25a091adee0da05d4d228481c9200518fcb1b53a65d4156R30

Kept `net8.0` on current version, and updated just `net9.0` and `net10.0`.

Does it work if you us the [DotNetBuild](https://cakebuild.net/dsl/dotnet/#Build) alias using .NET SDK instead? ```cake DotNetBuild("./VS2026WebApp.slnx"); ``` I suspect the issue is that Cake doesn't yet have tool resolution for VS2026,...

> Any example I could follow? You can add arguments here https://github.com/cake-build/cake/blob/3531435a932dd112984f04798af694efa5326997/build.cake#L375-L377 Environment variables can be set on the [DotNetRunSettings](https://cakebuild.net/api/Cake.Common.Tools.DotNet.Run/DotNetRunSettings/) using [EnvironmentVariables](https://cakebuild.net/api/Cake.Core.Tooling/ToolSettings/ACBC8906) property. Config file is here: https://github.com/cake-build/cake/blob/3531435a932dd112984f04798af694efa5326997/tests/integration/Cake.Frosting/cake.config#L1-L2 Which then...