text:
Some Typos

[Enter feedback here]
A couple of typos:

"setDbErrorMessage" method name starts with a lowercase letter instead of an uppercase one.

In the last code snippet(Pages/Departments/Delete.cshtml), "Administrator.FullName" line isn't highlighted.

There is a "git add " in this sentence: "RowVersion must be added so postgit add back binds the value.".

Typo in the last sentence: "Clicking Delete deletes the entity, unless RowVersion has been updated.department has been deleted.".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 16a5d321-117b-c37c-6ac9-b56009e7ead7
Version Independent ID: e337d2e1-7447-634a-d11a-511247e0f897
Content: Part 8, Razor Pages with EF Core in ASP.NET Core - Concurrency
Content Source: aspnetcore/data/ef-rp/concurrency.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@Rick-Anderson I can fix these typos. Do you know what that last sentance was going for?

Just remove git add
I would make it
Clicking Delete deletes the entity, unless RowVersion has been updated.
I wouldn't address setDbErrorMessage right now.

authors: Rick-Anderson erhanalankus serpent5


text:
Please update the new DefaultAzureCredential() with Azure App config client secret

[Enter feedback here]
In the section, https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview?view=aspnetcore-5.0#protectkeyswithazurekeyvault
public void ConfigureServices(IServiceCollection services)
{
services.AddDataProtection()
.PersistKeysToAzureBlobStorage(new Uri(""))
.ProtectKeysWithAzureKeyVault(new Uri(""), new DefaultAzureCredential());
}
Please update the new DefaultAzureCredential() with Azure App config client secret as it was to be corrected according to one of the recent interactions with one of the clients.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b63ab082-ad30-b00d-ecd1-ca88eee1659e
Version Independent ID: 69818122-e47a-3fed-ea37-8009f66e2a5c
Content: Configure ASP.NET Core Data Protection
Content Source: aspnetcore/security/data-protection/configuration/overview.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @vick-git ... Please re-open using the This page feedback button and form at the bottom of the topic. It adds metadata to the issue and automatically pings the author.

I actually did do that. Not sure why it didn't pick them all. Could you please re-check before closing?

Hello @vick-git ... Please re-open using the This page feedback button and form at the bottom of the topic. It adds metadata to the issue and automatically pings the author.

@guardrex  , I actually did do that. Not sure why it didn't pick them all. Could you please re-check before closing?
image

source: gharchive/issue

authors: guardrex vick-git

license_type: permissive

license_source: github-api


text:
Update typed client registration guidance

In points 7 & 8 of "Update Blazor WebAssembly" projects you provide guidance for transient http client registration, but not specifically for typed clients eg:
builder.Services.AddHttpClient<IMyService, MyService>(
                client => client.BaseAddress = new Uri(MyServiceApi))
                .AddHttpMessageHandler<MyServiceApiAuthorizationMessageHandler>();

which would be useful for those using same

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b031caa0-c62b-37da-46c3-59043256cac2
Version Independent ID: bdf98c9a-96f6-79fd-a650-5c0385d1a62b
Content: Migrate from ASP.NET Core 3.1 to 5.0
Content Source: aspnetcore/migration/31-to-50.md
Product: aspnet-core
Technology: aspnetcore-migration
GitHub Login: @Rick-Anderson
Microsoft Alias: scaddie

Hello @johndhunter ... That's because there are no default typed clients registered in a default WASM app scenario. However, there's nothing at all wrong with calling it out. I won't be back until Monday. If you want to add that to the topic, select the Edit button and submit a PR that has "Fixes #22842" in the opening comment. Add the code to a step (1. XXXXX) in the list with triple-backticks around it ... you'll see the other examples there when you edit the topic. You can ping me for review. Otherwise, I'll add it on Monday.

At the top right of the article, select the Edit pen icon:

Select the pen icon again. Save.

@johndhunter ... Come to think of it 🤔 ... typed-client registrations didn't change between 3.1 and 5.0 generally. What are you saying changed?

@johndhunter ... I'm closing because I'm not aware of a 3.1-to-5.0 change for typed-client registrations. If you clarify it, I'll re-open this issue.

authors: Rick-Anderson guardrex johndhunter


text:
No source when property value is empty

When a default value for property is non-empty and the value passed by the client is empty, the default value wins.
[Required]
public string Test { get; set; } = "!";

<input asp-for="Test" >

Hi @yecril71pl. This particular section describes model-binding errors, so I don't see the connection between your example and generating a model-state error. The suggested change describes a form of precedence, but doesn't alter how model-binding works, AFAICT. Would you like to provide more information around the motivation for this change?

After reading the documentation, I expected the empty value sent by the browser to replace the default value, which should be preserved only if the parameter in question is not sent at all.  This does not happen.

This isn't the correct place for this change. Consider the following URL:
https://localhost:5001/Test?someValue=

Here, the value for someValue is empty. If I have a model with [Required] applied to its SomeValue property, a model-binding error is generated using the preceding URL. The change in this PR suggests that an error isn't generated, but it is.

This isn't the correct place for this change. Consider the following URL:
https://localhost:5001/Test?someValue=

Here, the value for someValue is empty. If I have a model with [Required] applied to its SomeValue property, a model-binding error is generated using the preceding URL. The change in this PR suggests that an error isn't generated, but it is.

If someValue has a default value of "!" and an empty value is passed as a parameter (I experimented with POST parameters), the empty value is ignored, the property gets the default value, which is non-null, therefore no error is generated.

Ok, perhaps there's a difference between GET and POST, or between URL mapping and forms-handling. Regardless of where the difference is, the current coverage of this suggests that the default value will be used in all situations, but I think we can agree that this isn't true.

Ok, perhaps there's a difference between GET and POST, or between URL mapping and forms-handling. Regardless of where the difference is, the current coverage of this suggests that the default value will be used in all situations, but I think we can agree that this isn't true.

I do not know about all situations, I only wrote what I saw: that the default value overrides an empty value explicitly sent by the client.  Which is unexpected.

Hi @yecril71pl. I'm closing this PR for reasons I've explained above. I agree that the behaviour you describe exists, but this is neither the correct place for the remark nor exhaustive enough in explaining the exact scenario where said behaviour occurs. If you feel strongly about adding an explanation, please do open a new PR with a more appropriate location and detailed explanation.

This variety and inconsistency suggests it is a bug that needs to be fixed rather than a feature that needs to be documented.

source: gharchive/pull-request


text:
Add limitations sections

To add limitation that InMemory does not support relationalship constraints & cascade deletes.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 40dffa7d-bea9-8bce-e409-3ef8bf46d08a
Version Independent ID: 970f6835-a930-3321-212f-a9be6c17ef79
Content: InMemory Database Provider - EF Core
Content Source: entity-framework/core/providers/in-memory/index.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @rowanmiller
Microsoft Alias: divega

nor transactions. ;)

authors: lnaie smitpatel


text:
To use EntityTypeBuilder or not to use?

One doc advises against using EntityTypeBuilder unless "with extreme caution and knowing that doing so can result in application failures".
This doc advises to use it.
Which one is right?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ec42a21d-cd10-1ef9-3507-e020ec18a28e
Version Independent ID: b56d229a-a8b1-11f2-e3b1-03ad082af00e
Content: EntityTypeBuilder Class (Microsoft.EntityFrameworkCore.Metadata.Builders)
Content Source: dotnet/xml/Microsoft.EntityFrameworkCore.Metadata.Builders/EntityTypeBuilder.xml
Product: ef-core-api
GitHub Login: @dotnet-bot
Microsoft Alias: avickers

@gukoff the comment about the API being internal (and therefore dangerous to rely on) is on the constructor of EntityTypeBuilder; the type itself is fully public and can be used without issues.

Ah, gotcha. The specific constructor isn't recommended for use. Thanks!

authors: gukoff roji


text:
Update plan.md to clarify many-to-many

There are multiple GH issues tracking the various components of many-to-many. Previously, only one of them was mentioned here. I have added the rest. Please feel free to adjust/edit as you see fit. (I couldn't find an issue for the configuration sugar)
I have also added additional text to clarify which issues are planned and which are only stretch goals.

@vslee I like the idea here! Not merging immediately because I want to think about the exact language and formatting, since this is an important doc.

Yes of course. These changes make the style of that section different than the others, so they likely need to be revised to conform better.

This now merged. Thanks!

authors: ajcvickers vslee


text:
Fixed GRU, LSTM and RNN to honor the device

The GRU, LSTM and RNN would create cpu weights if no weights were provided. Now the device of the input is used instead.
Also fixed issues where number formatting was missing - failing tests on machines with different string formatting settings.

@mfagerlund -- could you add a couple of tests to "TestTorchTensorBugs.cs" that would fail without your fix, but work with it?

I sure can, added as requested.

I'm adding both Lstm and Rnn - should they be formulated as regular tests?
I'm changing to that instead of a demonstration of a bug?
Den mån 2 maj 2022 kl 22:14 skrev Niklas Gustafsson <
@.***>:

@.**** approved this pull request.
Excellent! Do we need a test for LSTM, too, or is this sufficient?
—
Reply to this email directly, view it on GitHub
https://github.com/dotnet/TorchSharp/pull/592#pullrequestreview-959516841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADD556OPDABFFARBI7ZVTQLVIAZQVANCNFSM5U3NKH2Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
/Mattias Fagerlund

I'm adding both Lstm and Rnn - should they be formulated as regular tests? I'm changing to that instead of a demonstration of a bug?

It's a regression test, just validating that the bug doesn't recur.

authors: NiklasGustafsson mfagerlund

repo: dotnet/TorchSharp

license: MIT


text:
Improve the error when dcp dependency check fails

This is what shows up:
System.InvalidOperationException: Command C:\Program Files\dotnet\packs\Aspire.Hosting.Orchestration.win-x64\8.0.0-preview.6.24214.1\tools\dcp.exe info returned non-zero exit code -1
         at Aspire.Hosting.Dcp.Process.ProcessUtil.ProcessDisposable.DisposeAsync() in /_/src/Aspire.Hosting/Dcp/Process/ProcessUtil.cs:line 155
         at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpDependencyCheck.cs:line 115
         at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 67
         at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
         at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
Unhandled exception. System.AggregateException: One or more errors occurred. (Command C:\Program Files\dotnet\packs\Aspire.Hosting.Orchestration.win-x64\8.0.0-preview.6.24214.1\tools\dcp.exe info returned non-zero exit code -1)
 ---> System.InvalidOperationException: Command C:\Program Files\dotnet\packs\Aspire.Hosting.Orchestration.win-x64\8.0.0-preview.6.24214.1\tools\dcp.exe info returned non-zero exit code -1
   at Aspire.Hosting.Dcp.Process.ProcessUtil.ProcessDisposable.DisposeAsync() in /_/src/Aspire.Hosting/Dcp/Process/ProcessUtil.cs:line 155
   at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpDependencyCheck.cs:line 115
   at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 67
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Aspire.Hosting.DistributedApplication.RunAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/DistributedApplication.cs:line 102
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Aspire.Hosting.DistributedApplication.Run() in /_/src/Aspire.Hosting/DistributedApplication.cs:line 110
   at Program.<Main>$(String[] args) in C:\dev\git\WebQWorker\WebQWorker.AppHost\Program.cs:line 17

C:\dev\git\WebQWorker\WebQWorker.AppHost\bin\Debug\net8.0\WebQWorker.AppHost.exe (process 45384) exited with code -532462766.

Hello. Is there any workaround to get more significant logs? I can't get my AppHost running after upgrade to 8.0.1 from preview.

Did you update the workload as well?

Yes I re-installed ".NET Aspire SDK" component from VS Installer yesterday. Without luck.

Can it be related to multiple "Installation Source"? .NET SDK and VS Component 🤔

Hello! I just encountered the same exact bug
I have created a fresh new Aspire project based on https://github.com/dotnet/aspire-samples/samples/AspireWithJavaScript example. And started migrating existing application to it. Two days were just mind blowing (Aspire is really awesome!) and after some time Aspire just stopped working (after reboot I suppose)
I have stumbled at this issue and after reading

Suddenly, it started working today

I decided to reboot pc. And now everything works just fine
Here is some data that I collected, hope it can help
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.0.1+a6e341ebbf956bbcec0dda304109815fcbae70c9
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: D:\Coding\DiscordBot\FailsafeBot\source\FailsafeBot\Failsafe.AppHost
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
      Hosting failed to start
      System.InvalidOperationException: Command C:\Program Files\dotnet\packs\Aspire.Hosting.Orchestration.win-x64\8.0.0\tools\dcp.exe info returned non-zero exit code -1
         at Aspire.Hosting.Dcp.Process.ProcessUtil.ProcessDisposable.DisposeAsync() in /_/src/Aspire.Hosting/Dcp/Process/ProcessUtil.cs:line 155
         at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpDependencyCheck.cs:line 115
         at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/DcpHostService.cs:line 67
         at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
         at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)

ServiceDefaults unchanged, AppHost source (nothing special):
using Aspire.Hosting;

IDistributedApplicationBuilder builder = DistributedApplication.CreateBuilder(args);
IResourceBuilder<ParameterResource> bungieApiKey = builder.AddParameter("bungie-api-key", secret: true);

IResourceBuilder<ProjectResource> weatherApi = builder.AddProject<Projects.Failsafe_MinimalApi>("weatherapi")
    .WithExternalHttpEndpoints();

builder.AddNpmApp("vue", "../Failsafe.Web")
    .WithReference(weatherApi)
    .WithHttpEndpoint(port: 63497, env: "PORT")
    .WithEnvironment("VITE_BUNGIE_URL", "https://bungie.net/")
    .WithEnvironment("VITE_BUNGIE_API_KEY", bungieApiKey)
    .WithExternalHttpEndpoints()
    .PublishAsDockerFile();

await builder.Build().RunAsync();

dotnet --info:
.NET SDK:
 Version:           8.0.300
 Commit:            326f6e68b2
 Workload version:  8.0.300-manifests.5273bb1c
 MSBuild version:   17.10.4+10fbfbf2e

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.22631
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\8.0.300\

.NET workloads installed:
 [aspire]
   Installation Source: VS 17.10.34707.107, VS 17.10.35004.147
   Manifest Version:    8.0.0/8.0.100
   Manifest Path:       C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.0.0\WorkloadManifest.json
   Install Type:        FileBased

Host:
  Version:      8.0.5
  Architecture: x64
  Commit:       087e15321b

.NET SDKs installed:
  6.0.110 [C:\Program Files\dotnet\sdk]
  8.0.200 [C:\Program Files\dotnet\sdk]
  8.0.300 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.27 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.30 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 8.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

Likely your docker desktop was not running.
@karolz-ms or @danegsta can you take a look at this? We just need to surface the error from the dcp dependency check logic and log it as an error.

There's a fix for this in Aspire main that's pending release in 8.1; there was a bug in the info check that could cause it to exit with an error code instead of returning the full error message from the check, but @davidfowl is correct that the error is indicating that Aspire couldn't find a healthy Docker (or Podman) instance.
Particularly with Docker Desktop, it's not uncommon for it to get stuck in resource saver mode after a machine wakes from sleep. When that happens, it won't respond to any CLI commands until you open the Docker Desktop UI to wake it up or restart your machine.

This is now done with the new ingestion of DCP. Closing as such. Will be fixed in 8.1.

Sorry for commenting in closed issue, I want to clarify: DCP wants a healty Docker Desktop instance even if it running without containers?
I have weird setup with both podman desktop and docker desktop, but there is no containers nor in docker ps nor in podman ps. I suppose everything is running without containerization (I do not need it at this point, so it did not bother me)
Here is process tree:

No worries; with the fix that will be shipping in the next release, Aspire won't block a project from running if Docker or Podman aren't installed/running, but no containers are used. The main issue is that the dependency check could return an error code, which was triggering an exception path. We had a code path that could accidentally run the Docker health check twice when it timed out due to the resource saver bug making it unresponsive, but that second check would cause it to exceed an overall command timeout that threw an error code.
As for using containers in Aspire, I've got both Docker Desktop and Podman Desktop installed on all my machines as well, since I always want to make sure container features are working as expected in both. Aspire makes two checks, the first to determine if a runtime is installed (can it find docker.exe or podman.exe on the system path), and a second to determine whether either of them are healthy (with a timeout to respond). If you do end up running any containers via the AppHost, we'll default to Docker if we find both runtimes installed and healthy, but you can override the behavior with an environment variable Setting DOTNET_ASPIRE_CONTAINER_RUNTIME=podman will force Aspire to use the Podman runtime.

This isn't done. We want to print the output from that command instead of just the status code 😄

In current main the exception thrown includes the status check error message:
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.0-dev
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: C:\Users\danegsta\source\repos\aspire\main\playground\TestShop\AppHost
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
      Hosting failed to start
      Aspire.Hosting.DistributedApplicationException: Container runtime 'docker' was found but appears to be unhealthy. The error from the container runtime check was error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.45/containers/json?limit=1": open //./pipe/docker_engine: The system cannot find the file specified..
         at Aspire.Hosting.Dcp.DcpDependencyCheck.EnsureDcpContainerRuntime(DcpInfo dcpInfo) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\Dcp\DcpDependencyCheck.cs:line 199
         at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(CancellationToken cancellationToken) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\Dcp\DcpDependencyCheck.cs:line 99
         at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(CancellationToken cancellationToken) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\Dcp\DcpDependencyCheck.cs:line 117
         at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\Dcp\DcpHostService.cs:line 67
         at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
         at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
Unhandled exception. System.AggregateException: One or more errors occurred. (Container runtime 'docker' was found but appears to be unhealthy. The error from the container runtime check was error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.45/containers/json?limit=1": open //./pipe/docker_engine: The system cannot find the file specified..)
 ---> Aspire.Hosting.DistributedApplicationException: Container runtime 'docker' was found but appears to be unhealthy. The error from the container runtime check was error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.45/containers/json?limit=1": open //./pipe/docker_engine: The system cannot find the file specified..
   at Aspire.Hosting.Dcp.DcpDependencyCheck.EnsureDcpContainerRuntime(DcpInfo dcpInfo) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\Dcp\DcpDependencyCheck.cs:line 199
   at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(CancellationToken cancellationToken) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\Dcp\DcpDependencyCheck.cs:line 99
   at Aspire.Hosting.Dcp.DcpDependencyCheck.GetDcpInfoAsync(CancellationToken cancellationToken) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\Dcp\DcpDependencyCheck.cs:line 117
   at Aspire.Hosting.Dcp.DcpHostService.StartAsync(CancellationToken cancellationToken) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\Dcp\DcpHostService.cs:line 67
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Aspire.Hosting.DistributedApplication.RunAsync(CancellationToken cancellationToken) in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\DistributedApplication.cs:line 310
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Aspire.Hosting.DistributedApplication.Run() in C:\Users\danegsta\source\repos\aspire\main\src\Aspire.Hosting\DistributedApplication.cs:line 338
   at Program.<Main>$(String[] args) in C:\Users\danegsta\source\repos\aspire\main\playground\TestShop\AppHost\Program.cs:line 50

I stand corrected!

authors: danegsta davidfowl joperezr kuleshov-aleksei wwalendz-relativity

repo: dotnet/aspire


text:
[WebToolsE2E][Aspire] The dashboard theme is set to light by default. After manually selecting the system theme, closing and reopening Settings, the theme is automatically set to light again.

REGRESSION INFO: Worked in Aspire 8.2.1
INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU

Install SDK 9.0.100-rc.2.24474.11

Install Aspire 9.0 [9.0.0-preview.5.24513.1]

Add dotnet8 feed
dotnet new install Aspire.ProjectTemplates::9.0.0-preview.5.24513.1 --force

REPRO STEPS

Open CMD, run following command to create an Aspire Starter App project

dotnet new aspire-starter-9 -o AspireStarterApp
cd AspireStarterApp/AspireStarterApp.AppHost

Dotnet run the project in CMD, and open URL in the browser.
dotnet run

NOTE: After manually selecting the dark theme, closing and reopening Settings, the theme is still dark.
ACTUAL:
The dashboard theme is set to light by default. After manually selecting the system theme, closing and reopening Settings, the theme is automatically set to light again.

EXPECTED:
The dashboard theme is set to system by default. After manually selecting the system theme, close and reopen Settings, the theme is still system.

Is this different to https://github.com/dotnet/aspire/issues/6020?
This issue has been logged 5(?) times.

Similar to https://github.com/dotnet/aspire/issues/6020

Verify this issue has been fixed in Aspire 9.0.0-rc.2.24517.3

authors: JamesNK v-reinawang


text:
Update additional DCP resource schema

Adding some missing DCP schema entries.
Microsoft Reviewers: Open in CodeFlow

Just noting that this PR has dropped the code coverage, and it will be annoying everyone until the coverage is brought up.

@RussKie is there a way to exclude certain files from code coverage calculation?

@karolz-ms this is how code gets excluded from coverage:
https://github.com/dotnet/aspire/blob/c971a93ba1dffd9fcdb0eabd0fc4f2e224fce77f/eng/CodeCoverage.config#L18-L27
Generally, ExcludeFromCodeCoverageAttribute is the way to go (but as any great power it comes with great responsibilities 😉)

authors: RussKie danegsta karolz-ms


text:
Unable to install dotnet-sdk on Ubuntu 17.10

I am trying to install dotnet-sdk to then be able to work with Visual Studio Code with dotnet in ubuntu 17.10
S.O.: Ubuntu 17.10 64b
Update: Lastest version.
I am performing the following procedure indicated by: https://www.microsoft.com/net/learn/get-started/linux/ubuntu17-10
but when I'm installed sdk, I get an error when installing dotnet-sdk:
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install dotnet-sdk-2.1.104
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
Do not can instal some pack. This may mean that
you asked for an impossible situation or, if you are using the distribution
unstable, that some necessary packages have not yet been created or are
They have taken out of «Incoming».
The following information can help resolve the situation:

The following packages have unfulfilled dependencies:
  dotnet-sdk-2.1.104: It depends: dotnet-runtime-2.0.6 but it will not be installed
E: Problems could not be corrected, you have retained broken packages.

PTAL @leecow

I've confirmed the 17.10 repo is working correctly and was able to install dotnet-sdk-2.1.104 (we released 2.1.105 today). It may be that you need to do a little house cleaning. The easiest first step is to sudo apt-get remove dotnet-host. This will uninstall the host and all dependencies leaving you in a fairly clean state to try in re-install.

Hi @leecow , i have the same issue trying to install 2.1.105. Already executed sudo apt-get remove dotnet-host but error still there... What other steps can we follow to install core 2.0 ?
(im doing this process in order to install JetBrains Rider)

Followed instructions here

And still not working

Also tried to install only dotnet-runtime-2.0.7 and get this error
may@maylinux ~ $ sudo apt-get install dotnet-runtime-2.0.7
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 dotnet-runtime-2.0.7 : Depende: libgssapi-krb5-2 (>= 1.14+dfsg) pero 1.13.2+dfsg-5ubuntu2 va a ser instalado
                        Depende: libicu57 pero no es instalable
                        Depende: dotnet-hostfxr-2.0.7 pero no va a instalarse
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.

So, in english it says that:
2.0.7 depends on libgssapi-krb5-2 (>= 1.14+dfsg) but 1.13.2+dfsg-5ubuntu2 will be installed
2.0.7 depends on libicu57 but it's not installable (?)
2.07 depends on  dotnet-hostfxr-2.0.7 but it will be not installed...
So.... whats happening here?

Issue moved to dotnet/core-setup #4049 via ZenHub

authors: Mayocampo PabloRioseco Petermarcu leecow richlander

repo: dotnet/core


text:
Please add file support to System.IO.Pipelines

I would like to be able to use high performant file reads and writes in a pipeline.  Unbuffered async/overlapped I/O would be great as well so it could be used for a safe durable write ahead log.

There's a prototype here https://github.com/dotnet/corefxlab/blob/97ae47716ed5b25fbe3188429d433914d4550c16/src/System.IO.Pipelines.File/FileReader.cs. It's windows only though.

Is this just the reader?  What about the writer?  Is the plan to support this on all OSs?  Thanks.

@AceHack Could you file a bug in CoreFX if you're still interested in this?  Thanks.

@AceHack The APIs were mainly intended for testing only, and not public usage. Closing this one.

authors: AceHack davidfowl muratg

repo: dotnet/corefxlab

license: mit

license_source: bigquery


text:
Add the dotnet-corefx feed to the list of feeds used by nuget to resolve packages

…lve packages
This enables the build to resolve the System.Reflection.Metadata package.

/cc @tarekgh @KrzysztofCwalina


text:
Split VTableSliceNode into two

CompleteVTableSliceNode is the VTableSlice that is used for full types
DemandBuiltVTableSliceNode is the one that is demand built

The _shouldBuildFullVTable if was bothering me. I believe this is a bit
easier to follow and also a tiny bit more memory efficient.

@dotnet-bot test this please

@nattress PTAL

LGTM

@dotnet-bot test Windows_NT please

@dotnet-bot test Windows_NT Debug please

@dotnet-bot test Windows_NT Release please

@dotnet-bot test Windows_NT Debug please

@dotnet-bot test Windows_NT Release please

@dotnet-bot test Windows_NT Release please. Also please don't time out while restoring packages again.

authors: MichalStrehovsky nattress

repo: dotnet/corert


text:
StringBuilder: Remove dead code (unused variables)

Port https://github.com/dotnet/coreclr/pull/911 to CoreRT

Hi @justinvp, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

LGTM. Thanks!

authors: dnfclas jkotas justinvp


text:
Add support for eager static constructors

This looks like a lot of code just to support a rarely used feature,
but a lot of this is plumbing that will let me delete some existing code
in a subsequent commit. Some of this will also be needed to support
the various preinitialized data attributes/general type preinitialization.

Redirecting uses of HasStaticConstructor to go through the TypeInitialization class (exposing higher level APIs "HasLazyCctor" and "HasEagerCctor")
Emitting a new table with an array of eager class constructors
Augmenting GC/nonGC/ThreadStatic and Method nodes to depend on an entry in the eager cctor table if the owning type has a cctor
Startup code addition to iterate over the list of eager cctors and call them one by one

Reusable code:

ArrayOfEmbeddedPointers: we have a buch of places where we just want an array of pointers. This will let us e.g. delete StringIndirectionNode.

Missing features: ordering the eager cctors. I want to think a bit about
how we parse custom attribute blobs before I implement that.
Fixes #471.

Missing features: ordering the eager cctors.

It also needs some thinking about how it should actually work without global view/analysis...

LGTM

authors: MichalStrehovsky jkotas


text:
Remove CentOS from helix-machines images

We currently have six centos.7.amd64* Helix queues, none of which have been used since dotnet/performance stopped testing their release/7.0 branch back in July. It's time to remove these queues.
As background, note CentOS 7 is out of support. See https://www.redhat.com/en/blog/centos-linux-has-reached-its-end-life-eol and note the lack of extended support options in https://www.redhat.com/en/topics/linux/centos-linux-eol

Release Note Category

[x] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
Removed the following Helix queues: centos.7.amd64, centos.7.amd64.open, centos.7.amd64.open.rt, centos.7.amd64,open.svc, centos.7.amd64.rt, and centos.7.amd64.svc due to lack of use and the EOL status of the operating system.

done

repo: dotnet/dnceng


text:
Working on cache objects

This was good information. I'm working on SAP right now but the .net documentation is way ahead and better. Good work.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f884d92b-b068-2730-9946-6ce6aa638cca
Version Independent ID: a4fbd192-8629-0aff-7d72-080de94e75cc
Content: Caching in .NET Framework Applications
Content Source: docs/framework/performance/caching-in-net-framework-applications.md
Product: dotnet-framework
GitHub Login: @tdykstra
Microsoft Alias: dotnetcontent

Thank you for your kind comments @MohanKumarPrakash. We really appreciate it!

authors: MohanKumarPrakash mairaw

repo: dotnet/docs


text:
Need a tab for .NET Core 3.0.100

Need a tab for .NET Core 3.0.100 . We just have guide for .NET Core 2.x and below.

Additional: I think tab [.NET Core 2.1] and [.NET Core 2.0] should be remove. Tab [.NET Core 2.2] is good enough.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0b952f8a-18e1-4843-0741-6ca877fb303a
Version Independent ID: d80dfb96-bc86-a960-abec-255dd907d04d
Content: dotnet new command - .NET Core CLI
Content Source: docs/core/tools/dotnet-new.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @mairaw
Microsoft Alias: mairaw

Duplicate of #9893

Thank you for letting us know. We have an issue (linked above) tracking this. I'm going to close. Thanks again!

authors: Thraka donhuvy


text:
GetRetryPolicy() sample

On the page, you present a sample GetRetryPolicy method.
What is the use case to ever retry on a 404 not found error? It's not like a missing URL will magically appear in the next seconds?
static IAsyncPolicy<HttpResponseMessage> GetRetryPolicy()
{
    return HttpPolicyExtensions
        .HandleTransientHttpError()
        .OrResult(msg => msg.StatusCode == System.Net.HttpStatusCode.NotFound)
        .WaitAndRetryAsync(6, retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt)));
}

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7b506236-b211-eb9d-b571-5efecdde76c8
Version Independent ID: 24434b0e-0b82-e477-9440-2cc8f135df75
Content: Use IHttpClientFactory to implement resilient HTTP requests
Content Source: docs/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests.md
Product: dotnet-architecture
Technology: microservices
GitHub Login: @nishanil
Microsoft Alias: nanil

Hi @alexdrenea, thanks for your feedback. Yes, with HttpStatusCode 404 GetRetryPolicy() might not be of much help.
But in distributed systems like microservices-based applications, there is always a possibility of partial failure.
For e.g : Let's consider you have deployed one service in kubernetes and then for some reason if the kubernets pod goes down. It would always take some time to get back up. During that recovery period, GetRetryPolicy() is a useful method to have for the client to try, until the services comes back up.
For more details, you can refer handle-partial-failure
Hope this helps !

Hi @alexdrenea, considering the original question has been addressed, I am closing this issue as of now.
If you have any further questions, please feel free to reopen it.
Thank you.

authors: alexdrenea sughosneo


text:
Unable to find packages for dotnet after enabling the repo for centos7

I was following the instructions on: https://docs.microsoft.com/en-us/dotnet/core/install/linux-centos
However even after adding the repo in centos7,  I don't see the .NET sdk available for download.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 577ce9b2-5b48-4ed2-c309-a78880015dd2
Version Independent ID: 26300783-8df5-56a1-4ab6-4b8511e37f51
Content: Install .NET on CentOS - .NET
Content Source: docs/core/install/linux-centos.md
Product: dotnet-fundamentals
GitHub Login: @adegeo
Microsoft Alias: adegeo

Hello. There is an issue opened in the .NET source repository tracking RHEL and CentOS: dotnet/core#5596 I don't know if they can help your issue or not though. You'll need to provide a lot more information like what commands you ran and the output of those commands. If they can't help you in that issue, I would open a new one in that same repository. Sorry I can't be more help.
I'm going close this issue.

Hello. There is an issue opened in the .NET source repository tracking RHEL and CentOS: dotnet/core#5596 I don't know if they can help your issue or not though. You'll need to provide a lot more information like what commands you ran and the output of those commands. If they can't help you in that issue, I would open a new one in that same repository. Sorry I can't be more help.
I'm going close this issue.

authors: adegeo github-anurag


text:
Supported Releases Table missing entries?

Hi All
On the Supported Releases table, we have 3 times Windows 10 1607 listed, why?
But we are missing windows Server 2016 or Windows Server 2019.
https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=netcore31#supported-releases
Regards Adrian

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1eeab451-820f-de42-983e-4d0d5764f6ab
Version Independent ID: d11d0d14-8a03-50e4-5c00-9a4417ad4d0a
Content: Install .NET on Windows
Content Source: docs/core/install/windows.md
Product: dotnet-fundamentals
GitHub Login: @adegeo
Microsoft Alias: adegeo

Thank you for opening this issue. I'll get this fixed up.
Thanks again!

Thank you for opening this issue. I'll get this fixed up.
Thanks again!

authors: AiDevAz adegeo


text:
Improper translation (zh-cn)

Finalizers (historically referred to as destructors)
Destructors translated as "destructor function" in Chinese
In the sense, it should be translated as "析构方法".(destructors method)
Or the literal translation should be "析构器"(There are no methods and no functions)
In the current document, the "Finalizers" translation has no function or method
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a96eaef8-dcc9-4659-3f4e-be5a1c4c6b50
Version Independent ID: d3da7981-542d-e906-5988-b80e403fa651
Content: Finalizers - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/finalizers.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

The finalizer is different from the destructor and should have never been referred to as a destructor. Since a different term is used in one language (English, which is the source language of the documentation), it’s better to use a different term in every language to avoid confusion.
See https://docs.microsoft.com/en-us/cpp/dotnet/how-to-define-and-consume-classes-and-structs-cpp-cli?view=msvc-170#BKMK_Destructors_and_finalizers

@GeeLaw

it’s better to use a different term in every language to avoid confusion.
Sorry, I forgot to add a reference. Let me rephrase the problem

Finalizers (historically referred to as destructors)
This sentence is in the document

I mean the word "destructors"
I think it is a dictionaries created by you and translated by machine.
In the dictionary, "destructors" are translated as "destructors function"
This word should be translated as "析构器"
Although the concept is no longer used, the word is only used in a few places. But I still think it should be unified

Got your point. You're suggesting that

Finalizers (historically referred to as destructors) are used to perform any necessary final clean-up when a class instance is being collected by the garbage collector.
终结器（以前称为析构函数）用于在垃圾回收器收集类实例时执行任何必要的最终清理操作。

should instead read

Finalizers (historically referred to as destructors) are used to perform any necessary final clean-up when a class instance is being collected by the garbage collector.
终结器（以前称为析构器）用于在垃圾回收器收集类实例时执行任何必要的最终清理操作。

Right?

@GeeLaw
oh yes.And constructors have the same translation problems.#29725

Ping @kgliang

CEINTL work item 806166 filed to the LOC team on this issue.

authors: GeeLaw gewarren v-alje zms9110750


text:
Direkt Link to latest versions.

[Enter feedback here]
The Link https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/ will open C#10 not C#11. Let it open always the latest version.
The same is valid for  https://learn.microsoft.com/en-us/dotnet/core/whats-new/ which opens .NET Core 3.1 instead of .NET 6.0
BR
Ronny

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1f94e527-6240-7b69-9d98-da8405790b1c
Version Independent ID: a3d4d1bb-cfb0-3306-3ce7-5977fb199255
Content: What's new in C# 11 - C# Guide
Content Source: docs/csharp/whats-new/csharp-11.md
Product: dotnet-csharp
Technology: csharp-whats-new
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Or at least let it open an overview page with all versions please.

Thanks @foxtrottNB
That's on my list for this month.

authors: BillWagner foxtrottNB


text:
CS1501

Type of issue
Typo
Description
[Enter feedback here]
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1501?f1url=%3FappId%3Droslyn%26k%3Dk(CS1501)
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/compiler-messages/cs1501.md
Document Version Independent Id
95f05873-f236-19fb-e01f-0b7b23623654
Article author
BillWagner

Hi @erickmejiaa04
Did you have more information for us on what you didn't find in this article?


text:
This is a readonly property

"Gets or sets a value that specifies whether to use a simple dictionary format." is not right, because you cannot set the property directly, I came along looking for exactly the way to set the property :(

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 542f5356-becf-3699-5d69-37e5002f772f
Version Independent ID: 9a28ba7d-8da3-ae6c-e3c8-172fe0410673
Content: DataContractJsonSerializer.UseSimpleDictionaryFormat Property (System.Runtime.Serialization.Json)
Content Source: xml/System.Runtime.Serialization.Json/DataContractJsonSerializer.xml
Service: .net
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks for your feedback @sebagomez. I've opened a PR to fix this.
Also, if you find other issues in the docs, you can still provide the feedback as you did. Or if you'd like, just click the Edit button on the topic and suggest the fix. For more information, see https://docs.microsoft.com/contribute.

authors: mairaw sebagomez


text:
Refresh how-to-make-thread-safe-calls-to-windows-forms-controls.md

Summary
New content and code. Code is uploaded to dotnet/samples in PR https://github.com/dotnet/samples/pull/682.
Per Task https://mseng.visualstudio.com/TechnicalContent/_queries/edit/1409990/?triage=true.

@rpetrusha - I've made the changes, and the code samples are corrected here and also posted at https://github.com/dotnet/samples/pull/682. Once that is merged I'll remove them from here and add the links. I also made some other changes, like renaming the method in the first complete example. Also some Acrolinx changes. Please give it another review - thanks.

I've merged dotnet/samples#682, @v-thepet.

@rpetrusha - Thanks, now I've removed the embedded samples and added the links.

Thanks, @v-thepet. I'll merge your PR now.

authors: rpetrusha v-thepet


text:
fix: Markdownlint

Summary
Describe your changes here.
Fixes #Issue_Number (if available)

What is the change in the first two files?

I believe that would be the blank line at the end of the file

authors: mairaw nschonni


text:
xref fix for 'using-bindings-to-configure-services-and-clients.md'

Note: I have not tested the xref link locally, but the WSHttpBinding page does exist. so it should work.

@rpetrusha I'm not that familiar with all those tools you guys use, but I think it is fixed now.

@mairaw Woops. I did not notice that! Must have been my password manager. I'll make sure to triple check everything if I ever make another pull request.

I've also created an issue to fix these throughout our content: #3682

@mairaw If you want, I could pick up a few of those to speed up the migration. I'll make sure to triple check that nothing silly happens again.

Sure, it would be great to have your help! We would want to break down the PR in smaller sets anyway. Just comment on the issue if you'd want to do that, so others know you'll be working on that.

Thank you for fixing the link and for responding so quickly, @RutgerM. The broken link is fixed, so we'll merge your PR now. Changes should appear live on docs.microsoft.com tomorrow or the following day.

authors: RutgerM mairaw rpetrusha


text:
dci-ub-fbld-5 may not have all the LLDB stuff installed?

Builds of coreclr on this machine are failing like this:
http://dotnet-ci.cloudapp.net/job/dotnet_coreclr_linux_release/729/console
Looks like it hasn't done a clean coreclr build in a while:
http://dotnet-ci.cloudapp.net/computer/dci-ub-fbld-5/builds

Looking into it, though it did a clean build on the 13th.

@ellismg Looks like this was because of the way I changed a couple jobs (well, this one and the buildtools repo) to parameterize the repo URL.  It looks like it doesn't replace the parameter with the default when matching the GitHub POST with the project's push URL.  Since it's not critical, I removed that bit for now.  That does mean something bad got checked in over the weekend though.

You're right, it wasn't installed on that machine (only).  Fixed.

Thanks!

authors: ellismg mmitche

repo: dotnet/dotnet-ci


text:
Snippets missing tooltips

Missing tooltip for new snippet items:

This issue is no longer the case since snippets now come from roslyn language server and have proper tolltips, which are fully controlled on roslyn side

Thanks for keeping our backlog neat @DoctorKrolic :)

authors: DoctorKrolic allisonchou davidwengier

repo: dotnet/razor


text:
IndexOutOfRangeException when sorting empty IAsyncEnumerable

This is for System.Linq.Async
When trying to order an IAsyncEnumerable that yields no elements (is an emoty sequence), the operation
IOrderedAsyncEnumerable<TSource> OrderByDescending<TSource, TKey>(this IAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector)
throws an IndexOutOfRangeException.
The exception is thrown from the AsyncEnumerableSorter<TElement> here.

/cc @bartdesmet

authors: AndreasTruetschel onovotny

repo: dotnet/reactive


text:
Modifying Roslyn-Project-System Jenkin's groovy file:

explicitly setting the 'refspec' in order to locate the PR content. re:line-208
moving the Rosyln-Internal commit-pointer forward. re:line-236
trivial modifying comments and formatting.

Testing:
https://ci.dot.net/job/dotnet_roslyn-project-system/job/master/job/vsi_prtest/6/

@dotnet-bot test ci please

@johnbeisner Seems like the CI generator failed - do you have some syntax error in your change?

@johnbeisner specifically
10:17:08 ERROR: (netci.groovy, line 208) No such property: isPR for class: javaposse.jobdsl.dsl.helpers.scm.RemoteContext

@dotnet-bot test ci please

@dotnet-bot test ci please

@johnbeisner, when you fix Tanner's comment, push and leave a comment that says @dotnet-bot test ci please to trigger ci testing. It needs to go on its own line.

Or apparently it doesn't need to go on its own line...

@dotnet-bot test ci please

@dotnet-bot test ci please

I have cursorily checked the resulting VSI & VSI_PR configuration; and the targeted changes are generated correctly. Can I get an approval if appropriate...

authors: 333fred johnbeisner mavasani

repo: dotnet/roslyn-project-system


text:
Added a Using statement to C#, VB samples. Fixes 8397.

Summary
Added a missing using statement to both the C# and the VB snippets for one article.
Fixes dotnet/docs#8397

Thanks - I actually went to edit the documentation but couldn't work out how to find the code and I only had 2 minutes!
Fantastic response - keep up the great work.

@stuartm9999 FYI the code snippets live in a different repo and get sucked into the pages at build time. I always have trouble finding them too. Thanks for the encouraging words.

repo: dotnet/samples


text:
[7.0] Runtime build versions are incorrect

When we changed source-build to use the "ambient" version, we did not account for the fact that the Microsoft build and the source-build build can be built on different days, so the unstabilized version number can differ between them.  In the bootstrap flow we use the exact version syntax, so ./prep.sh --bootstrap may not always be able to find the matching packages.
Options:

Don't use exact versions in the bootstrap project.
Set the OfficialBuildId even when we don't set the rest of the versioning parameters.
Keep using OverrideBootstrapVersions.props indefinitely.

Don't use exact versions in the bootstrap project

I tried this out and it worked, but upgraded to a 7.0.5 version since those are now being published.  I vaguely recall that there's a property you can set to control how aggressively you want to upgrade dependencies but I'm not sure it extends to "upgrade to newest unstable version of this patch level", I can look into it if we decide that's the way to go.

Don't use exact versions in the bootstrap project

I tried this out and it worked, but upgraded to a 7.0.5 version since those are now being published.  I vaguely recall that there's a property you can set to control how aggressively you want to upgrade dependencies but I'm not sure it extends to "upgrade to newest unstable version of this patch level", I can look into it if we decide that's the way to go.

[Triage] We feel that a solution is needed here.  There is maintenance with continuing to use OverrideBootstrapVersions.props that we want to avoid.  The exact versions feels like the better approach but there may be some issues to flush out with which versions are picked up and non-deterministic behavior.

authors: MichaelSimons crummel

repo: dotnet/source-build


text:
Debugger Issue: Cannot start dotnet

Environment data
dotnet --info output:
.NET SDK:
Version:   7.0.401
Commit:    eb26aacfec
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.13
OS Platform: Darwin
RID:         osx.10.13-x64
Base Path:   /usr/local/share/dotnet/sdk/7.0.401/
Host:
Version:      7.0.11
Architecture: x64
Commit:       ecb34f85ec
.NET SDKs installed:
7.0.401 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
VSCode version: 1.82.2
C# Extension: 2.1.2
Using OmniSharp: false
Steps to reproduce

Create new folder
Create new file
Select run and debug
See error

Expected  behavior
The code to run, and for the debug console to read "Hello World!"
Actual behavior
Debug console output: The program '[1524] VS Files.dll' has exited with code -1 (0xffffffff).
Error message: Unable to start program '/usr/local/share/dotnet/dotnet'. Unknown Error: 0x92330062
Additional context
I am very new to coding, and am struggling to get my debugger setup on my Mac.
I can run the basic "Hello World" program through VS Code's built-in terminal, OSX terminal, and with "run without debugging".
I have rebooted VS and my machine, uninstalled/reinstalled VS Code and .NET, as well as searched for many hours trying to find another person with a similar issue.
I lack a lot of prerequisite knowledge of how all of this works, so I apologize in advance if the solution to this is seemingly obvious.

Very strange. That error is internal error code E_DBGSHIM_INIT_ERROR, which happens if we couldn't load libdbgshim.dylib, or it was missing one of its expected exports. I don't have any great guesses as to why that would be on your computer.

Here is how you could try to trouble shoot this:

Open a terminal
cd to the <csharp-extension-root>\.debugger\<processor-architecture> directory. Probably: cd ~/.vscode/extensions/ms-dotnettools.csharp-2.0.283-darwin-x86_64/.debugger/x86_64
Enable diagnostics from dyld. You probably want the below list.
Run: ./vsdbg-ui --server
If you don't have a launch.json file, run the ".NET: Generate Assets for Build and Debug" command from VS Code's command pallet
Open your launch.json, and add "debugServer": 4711
Try to debug
Look for 'dbgshim' in the output spew from your terminal, and paste it here

Environment variables to enable diagnostics:
export DYLD_PRINT_LIBRARIES=1
export DYLD_PRINT_SEARCHING=1
export DYLD_PRINT_WARNINGS=1

Example logging produced from loading dbgshim --
dyld[52487]: find path "/Users/greggmiskelly/.vscode-server/extensions/ms-dotnettools.csharp-2.0.283-darwin-arm64/.debugger/arm64/libdbgshim.dylib"
dyld[52487]:   possible path(original path on disk): "/Users/greggmiskelly/.vscode-server/extensions/ms-dotnettools.csharp-2.0.283-darwin-arm64/.debugger/arm64/libdbgshim.dylib"
dyld[52487]:   found: dylib-from-disk: "/Users/greggmiskelly/.vscode-server/extensions/ms-dotnettools.csharp-2.0.283-darwin-arm64/.debugger/arm64/libdbgshim.dylib"
dyld[52487]: <96780707-C89C-35E0-9E15-D179BBF8EB4C> /Users/greggmiskelly/.vscode-server/extensions/ms-dotnettools.csharp-2.0.283-darwin-arm64/.debugger/arm64/libdbgshim.dylib

Similar issue

(btw: >CSharp: report an issue doesn't prefill but just opens https://github.com/dotnet/vscode-csharp.git in my browser, Chrome.)
Environment data
dotnet --info output:
.NET SDK (reflecting any global.json):
 Version:   6.0.106
 Commit:    e83a22f558

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.13-x64
 Base Path:   /usr/local/share/dotnet/sdk/6.0.106/

Host:
  Version:      7.0.0-preview.7.22375.6
  Architecture: x64
  Commit:       eecb028078

.NET SDKs installed:
  3.1.420 [/usr/local/share/dotnet/sdk]
  5.0.408 [/usr/local/share/dotnet/sdk]
  6.0.100-rc.2.21505.57 [/usr/local/share/dotnet/sdk]
  6.0.100 [/usr/local/share/dotnet/sdk]
  6.0.106 [/usr/local/share/dotnet/sdk]
  7.0.100-preview.7.22377.5 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 3.1.26 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.17 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.0-rc.2.21480.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0-preview.7.22376.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.26 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.17 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.0-rc.2.21480.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0-preview.7.22375.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  /Users/vike/…/repo/global.json

VS Code version: 1.81.1, same behaviour after upgrading to 1.82.2
C# Extension version: 2.4.4
Using OmniSharp: yes
OmniSharp log
How to procure?
Steps to reproduce

Using launch.json configurations entry:

  		{		"name"					:	"Launch (coreclr)"
//			,		"debugServer"			:	 4711
  		,		"request"				:	"launch"
  		,		"type"					:	"coreclr"
  		,		"preLaunchTask"			:	"dotnet build"
  		,		"cwd"					:	"${workspaceFolder}"
  		,		"program"				:	"/usr/local/share/godot/godot"
//			,		"program"				:	"C:\\usr\\local\\share\\godot\\Godot_v4.1.1-stable_mono_win64.exe"
  		// See which arguments are available here:
  		// https://docs.godotengine.org/en/stable/getting_started/editor/command_line_tutorial.html
  		,		"args"
  		:	[	"--path"				,	"${workspaceFolder}/project.godot"
  			,	"--windowed"
  			,	"--position"			,	"32,64"
  			,	"--resolution"			,	"1280x720"
  			,	"--rendering-driver"	,	"opengl3"
  			]}

Expected and actual  behaviors
Very similar to OP but with program /usr/local/share/godot/godot instead of dotnet.
Debug console: The program '[33824] godot' has exited with code -1 (0xffffffff).
Error notification: Unable to start program '/usr/local/share/godot/godot'. Unknown Error: 0x92330062
Additional context
Re ./vsdbg-ui --server per @gregg-miskelly's https://github.com/dotnet/vscode-csharp/issues/6365#issuecomment-1720256692
Excerpt:
…
Waiting for communication on port 4711...
>> accepted connection from client
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libvsdbg.dylib
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libvsdebugeng.impl.dylib
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libdbgshim.dylib
>> client connection closed

Full output
dyld: warning, unknown environment variable: DYLD_PRINT_SEARCHING
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/./vsdbg-ui
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libvsdebugeng.dylib
dyld: loaded: /usr/lib/libc++.1.dylib
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libvsbaseservices.dylib
dyld: loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
dyld: loaded: /System/Library/Frameworks/Security.framework/Versions/A/Security
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /usr/lib/libc++abi.dylib
dyld: loaded: /usr/lib/system/libcache.dylib
dyld: loaded: /usr/lib/system/libcommonCrypto.dylib
dyld: loaded: /usr/lib/system/libcompiler_rt.dylib
dyld: loaded: /usr/lib/system/libcopyfile.dylib
dyld: loaded: /usr/lib/system/libcorecrypto.dylib
dyld: loaded: /usr/lib/system/libdispatch.dylib
dyld: loaded: /usr/lib/system/libdyld.dylib
dyld: loaded: /usr/lib/system/libkeymgr.dylib
dyld: loaded: /usr/lib/system/liblaunch.dylib
dyld: loaded: /usr/lib/system/libmacho.dylib
dyld: loaded: /usr/lib/system/libquarantine.dylib
dyld: loaded: /usr/lib/system/libremovefile.dylib
dyld: loaded: /usr/lib/system/libsystem_asl.dylib
dyld: loaded: /usr/lib/system/libsystem_blocks.dylib
dyld: loaded: /usr/lib/system/libsystem_c.dylib
dyld: loaded: /usr/lib/system/libsystem_configuration.dylib
dyld: loaded: /usr/lib/system/libsystem_coreservices.dylib
dyld: loaded: /usr/lib/system/libsystem_darwin.dylib
dyld: loaded: /usr/lib/system/libsystem_dnssd.dylib
dyld: loaded: /usr/lib/system/libsystem_info.dylib
dyld: loaded: /usr/lib/system/libsystem_m.dylib
dyld: loaded: /usr/lib/system/libsystem_malloc.dylib
dyld: loaded: /usr/lib/system/libsystem_network.dylib
dyld: loaded: /usr/lib/system/libsystem_networkextension.dylib
dyld: loaded: /usr/lib/system/libsystem_notify.dylib
dyld: loaded: /usr/lib/system/libsystem_sandbox.dylib
dyld: loaded: /usr/lib/system/libsystem_secinit.dylib
dyld: loaded: /usr/lib/system/libsystem_kernel.dylib
dyld: loaded: /usr/lib/system/libsystem_platform.dylib
dyld: loaded: /usr/lib/system/libsystem_pthread.dylib
dyld: loaded: /usr/lib/system/libsystem_symptoms.dylib
dyld: loaded: /usr/lib/system/libsystem_trace.dylib
dyld: loaded: /usr/lib/system/libunwind.dylib
dyld: loaded: /usr/lib/system/libxpc.dylib
dyld: loaded: /usr/lib/closure/libclosured.dylib
dyld: loaded: /usr/lib/libobjc.A.dylib
dyld: loaded: /usr/lib/libDiagnosticMessagesClient.dylib
dyld: loaded: /usr/lib/libicucore.A.dylib
dyld: loaded: /usr/lib/libz.1.dylib
dyld: loaded: /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
dyld: loaded: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
dyld: loaded: /usr/lib/libauto.dylib
dyld: loaded: /usr/lib/libbsm.0.dylib
dyld: loaded: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
dyld: loaded: /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
dyld: loaded: /usr/lib/libsqlite3.dylib
dyld: loaded: /usr/lib/libxml2.2.dylib
dyld: loaded: /usr/lib/libnetwork.dylib
dyld: loaded: /usr/lib/libapple_nghttp2.dylib
dyld: loaded: /usr/lib/libenergytrace.dylib
dyld: loaded: /usr/lib/system/libkxld.dylib
dyld: loaded: /usr/lib/libpcap.A.dylib
dyld: loaded: /usr/lib/libboringssl.dylib
dyld: loaded: /usr/lib/libusrtcp.dylib
dyld: loaded: /usr/lib/libcoretls.dylib
dyld: loaded: /usr/lib/libcoretls_cfhelpers.dylib
dyld: loaded: /usr/lib/libapple_crypto.dylib
dyld: loaded: /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
dyld: loaded: /usr/lib/libOpenScriptingUtil.dylib
dyld: loaded: /usr/lib/libpam.2.dylib
dyld: loaded: /usr/lib/libxar.1.dylib
dyld: loaded: /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
dyld: loaded: /usr/lib/libarchive.2.dylib
dyld: loaded: /usr/lib/liblangid.dylib
dyld: loaded: /usr/lib/libCRFSuite.dylib
dyld: loaded: /usr/lib/libbz2.1.0.dylib
dyld: loaded: /usr/lib/liblzma.5.dylib
dyld: loaded: /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
dyld: loaded: /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
dyld: loaded: /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
dyld: loaded: /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
dyld: loaded: /usr/lib/libmecabra.dylib
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
dyld: loaded: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
dyld: loaded: /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
dyld: loaded: /System/Library/Frameworks/ColorSync.framework/Versions/A/ColorSync
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
dyld: loaded: /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
dyld: loaded: /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
dyld: loaded: /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
dyld: loaded: /System/Library/Frameworks/Metal.framework/Versions/A/Metal
dyld: loaded: /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
dyld: loaded: /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
dyld: loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
dyld: loaded: /System/Library/PrivateFrameworks/GPUWrangler.framework/Versions/A/GPUWrangler
dyld: loaded: /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
dyld: loaded: /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
dyld: loaded: /System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
dyld: loaded: /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
dyld: loaded: /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
dyld: loaded: /System/Library/PrivateFrameworks/GraphVisualizer.framework/Versions/A/GraphVisualizer
dyld: loaded: /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
dyld: loaded: /usr/lib/libFosl_dynamic.dylib
dyld: loaded: /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
dyld: loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
dyld: loaded: /usr/lib/libcompression.dylib
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
dyld: loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
dyld: loaded: /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
dyld: loaded: /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
dyld: loaded: /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Versions/A/MPSCore
dyld: loaded: /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSImage.framework/Versions/A/MPSImage
dyld: loaded: /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork
dyld: loaded: /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix
dyld: loaded: /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
dyld: loaded: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
dyld: loaded: /usr/lib/libcups.2.dylib
dyld: loaded: /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
dyld: loaded: /System/Library/Frameworks/GSS.framework/Versions/A/GSS
dyld: loaded: /usr/lib/libresolv.9.dylib
dyld: loaded: /usr/lib/libiconv.2.dylib
dyld: loaded: /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
dyld: loaded: /usr/lib/libheimdal-asn1.dylib
dyld: loaded: /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
dyld: loaded: /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
dyld: loaded: /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
dyld: loaded: /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
dyld: loaded: /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS
dyld: loaded: /usr/lib/libutil.dylib
dyld: loaded: /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
dyld: loaded: /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
dyld: loaded: /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce
dyld: loaded: /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
dyld: loaded: /usr/lib/libmarisa.dylib
dyld: loaded: /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
dyld: loaded: /usr/lib/libChineseTokenizer.dylib
dyld: loaded: /usr/lib/libcmph.dylib
dyld: loaded: /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
dyld: loaded: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
dyld: loaded: /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
dyld: loaded: /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
dyld: loaded: /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement
dyld: loaded: /usr/lib/libxslt.1.dylib
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libcoreclr.dylib
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libclrjit.dylib
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libSystem.Native.dylib
Waiting for communication on port 4711...
>> accepted connection from client
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libvsdbg.dylib
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libvsdebugeng.impl.dylib
dyld: loaded: /Users/vike/.vscode/extensions/ms-dotnettools.csharp-2.4.4-darwin-x64/.debugger/x86_64/libdbgshim.dylib
>> client connection closed

Thanks @vike2000. I guess the good news is that the correct libdbgshim.dylib is being used, but that kind of makes this problem even weirder since this seems to imply that the correct dylib file loaded, but was somehow the loader wasn't able to return one of its exports. Unfortunately, at least on my Mac, I wasn't able to get dyld to provide any further information. You can look at man dyld if you want to try any of the other switches in case they reveal more on your computer.
I few more questions:

Are you able to upgrade your version of macOS? Looking at the .NET Support List 10.13 is out-of-support and I wonder if that is the cause since both you and the original poster are on 10.13.
Do you see this when debugging 'hello world'? Or is this specific to godot?

Thanks for looking at it and your response @gregg-miskelly.

Unfortunately I'm unable to upgrade my macOS because of lacking hardware requirements, lacking in turn because of economics.

$ dotnet new console, with or without following global.json, after adding launch and tasks json "assets" from a notification, behaves the same as the godot project.
`global.json`
{
  "sdk": {
    "version": "6.0.100",
	"rollForward": "feature"
  }
}

I had forgotten how I solved debugging in another C# project (working non-trivial dotnet6 web with efcore and identity framework), but then in VS for Mac (Community) 2019 (not VSCode): I had made Program.cs do Console.ReadKey() and then debug $ dotnet run by name in Attach.
Adding Console.ReadKey() to the Hello World project Attach in VS for Mac (Community) 2019 works while in VSCode again I get Unknown Error: 0x92330062

I really like VSCode much more than VS for Mac (Community) 2019. Also I'm not sure where/how/if I can wait to continue execution in a godot project with Console.ReadKey() like in a Program.cs.
I understand that my OS/hardware is ancient but since debugging csharp/dotnet6 can work on my OS I was hoping it could in VSCode too if I could just get everything to load/run correctly...VSCode too if I could just get everything to load/run correctly...
@gregg-miskelly:

the loader wasn't able to return one of its exports

Can you hint on where/what the loader and relevant exports are here? I'm curious if I could look at hacking on the extension, though I doubt I'd be able to grasp the intricacies easily enough to be worth it on my own end.
Any way, thanks again.

Unfortunately, the debugger and language service run on top of .NET 7 (and probably .NET 8 soon), so even if your app doesn't work on top of .NET 7, the debugger does. Also, the library that is failing to fully load (libdbgshim.dylib) is used regardless of .NET version. My guess is that it works in VS For Mac only because that is using an older version of the debugger that uses an older version of libdbgshim.dylib.
You could try making a program that loaded libdbgshim.dylib to try and discover what export is failing to load, but even if you know the answer it probably doesn't get you closer to a solution.
Here are the only work arounds I can think of given that you can't upgrade macOS:

Use Linux or Windows in a VM instead
Try building your own libdbgshim.dylib and replacing the version that vsdbg uses. Source code is in https://github.com/dotnet/diagnostics
Roll back to an older version of the C# extension and don't upgrade

Yeah, I have been able to install/compile/run .NET 7 to some extent but only using versions like 7.0.100-preview.7.… (prev. mentioned), and I don't think I'd be able to push that envelope further.
Thanks for your insights and possible routes in my scarce situation. Thinking about it I have been successful debugging DirectX C++ on Windows 10 in a Docker "devcontainer" in the past, so that could work, and though option 2 sounds intriguing I'd have to see if it'd be worth the pain :)
Opting for your idea 3 to work around I found that I get the original issue in the earliest major version 2 - 2.0.320 - while I can debug successfully with the (currently;) latest major version 1 - 1.26.0 -
so I'm now a happy camper over here!

repo: dotnet/vscode-csharp


text:
Moved WindowsFormsIntegration area

[Fixes Issue ](issue: [ Migrate ] WindowsFormsIntegration Area - Feature Tests) #67
Description
Adds the WindowsFormsIntegration Area - Feature Tests
Customer Impact
Developers can run the tests using .\RunTests.cmd /Area=WindowsFormsIntegration command and test their fixes.
Testing
Built and ran the tests.
Microsoft Reviewers: Open in CodeFlow

/azp run

/azp

/azp run

Closing this PR, we have raised another PR for the same and that has been merged- https://github.com/dotnet/wpf-test/pull/230.

authors: Kuldeep-MS anjali-wpf pchaurasia14

repo: dotnet/wpf-test


text:
feat(): Possibility to use key events on MultiSelect control

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.
I have edit form. And user wants to go though controls by clicking 'tab' on keyboard. so when user is clicking on MultiSelect control, last one should open.
Another situation: user's selecting one option in MultiSelect control and clicking 'Enter' on keyboard, after that form should submit.
Describe the solution you'd like
It would be nice if MultiSelect /Select control have method 'OnTabAsync' and 'OnEnterAsync'
as you see I'm actively using these components from your fantastic Blazor Zone library.
Thank you so much for this incredible library.
Additional context
No response

@anna777x could you give a star for this project? thanks

@anna777x hi. thank you for contacting us. let us make your requirements clear.

I guess you mean that auto expands the dropdown when the user tabs Tab keyboard when the MultiSelect component has focus.
in EditorForm component the user press Enter auto submit the form

is right?

you understand me absolutely correct!

repo: dotnetcore/BootstrapBlazor


text:
upload feed

The response I got from the createfeeddocument function is initializationVector and key. but I can't find the upload function to use them.
(https://github.com/amzn/selling-partner-api-docs/blob/main/guides/use-case-guides/feeds-api-use-case-guide-2020-09-04.md
step 2)

Hello msgultekin im mustafa. i have the same problems as you stated probably we can help eachother. on my profile you can find my email to contact me if you're interessted

Hello msgultekin im mustafa. i have the same problems as you stated probably we can help eachother. on my profile you can find my email to contact me if you're interessted

I have the same problem, how to encrypt the uploaded data and how to upload it

I have the same problem, how to encrypt the uploaded data and how to upload it

Hello @msgultekin , @mustafa-bayindir @ykw090721
A PR from @MST1122  was merged which addresses the problem with the encryption and feed downloads.
You need to update your duble-break/spiapi-php installations to the new v1.0.4 version.
Cheers

Hello @msgultekin , @mustafa-bayindir @ykw090721
A PR from @MST1122  was merged which addresses the problem with the encryption and feed downloads.
You need to update your duble-break/spiapi-php installations to the new v1.0.4 version.
Cheers

authors: lyubo-slavilov msgultekin mustafa-bayindir ykw090721

repo: double-break/spapi-php


text:
Update http4s-circe, http4s-dsl, ... to 0.23.23

About this PR
📦 Updates

org.http4s:http4s-circe
org.http4s:http4s-dsl
org.http4s:http4s-ember-server

from 0.23.18 to 0.23.23
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #143.

repo: doubleloop-io/applied-fp-workshop-scala


text:
🛑 VNUX.dev is down

In 78f8dee, VNUX.dev (https://vnux.dev) was down:

HTTP code: 429
Response time: 249 ms

Resolved: VNUX.dev is back up in c7e6d20.

repo: dougdragon/uptime


text:
do loop not highligted correctly

In following code
do i = 1, 5

end do
do not getting highlighted

Which grammar set are you using (i.e., Fortran - Modern, Fortran - Punchcard, Fortran - Fixed Form, or Fortran - Free Form)? Also if you can upload an image of the issue that would also help.

After playing around with it a bit I would guess you are using Fortran - Punchcard which is the default grammar for files with extensions ['f', 'F', 'f77', 'F77', 'for', 'FOR', 'fpp', 'FPP']. This grammar is outdated and will be removed in a future release (probably pretty soon). In the meantime use Fortran - Fixed Form instead.

You are right. That fixed the issue.
Thanks,
Mandar
On Mon, Dec 14, 2015 at 3:24 PM, Tom Dunn notifications@github.com wrote:

After playing around with it a bit I would guess you are using Fortran -
Punchcard which is the default grammar for files with extensions ['f',
'F', 'f77', 'F77', 'for', 'FOR', 'fpp', 'FPP']. This grammar is outdated
and will be removed in a future release (probably pretty soon). In the
meantime use Fortran - Fixed Form instead.
—
Reply to this email directly or view it on GitHub
https://github.com/dparkins/language-fortran/issues/72#issuecomment-164564172
.

authors: bhidem tomedunn

repo: dparkins/language-fortran


text:
KB Checks

Need to redo how we check for Hotfixes, so that way a KB that is superseded isn't thrown as something you need to install.

Checked into v2.13


text:
[SDPA-5027] Remove column setting for navigation_card and update component breakpoint

Motivation and Context

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-5027
Changed

Removed column setting for navigation_card
Updated component width breakpoint settings
Added content max-width to card content
Updated storybook card date to use static for chromatic ui testing to pass

Screenshots
https://app.pr-910.ripple.sdp1.sdp.vic.gov.au/
https://storybook.pr-910.ripple.sdp1.sdp.vic.gov.au

How Has This Been Tested?

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Improvement/refactoring (non-breaking change that doesn't add any features but makes things better)

Checklist

[x] I've added relevant changes to the documentation.
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] My change requires a template update for create-ripple-app.
[ ] I have added template update script for next release.

@rubyllamadora I think we will need some dev guide for how to add a story for new component.
It can be some simple points, what we need to do. How do you think?
Somewhere I think In https://github.com/dpc-sdp/ripple/blob/develop/CONTRIBUTING.md#storybook-testing. Not in this PR, need another task to do it.

@tim-yao yes we can add basic example also like https://storybook.js.org/docs/react/writing-docs/mdx#basic-example

repo: dpc-sdp/ripple


text:
Limit RDF::URI.cache capacity

By default, RDF::URI::CACHE_SIZE is -1 and all URIs initialized with
RDF::URI.intern are cached for the life of the application. In job
scenarios, this leads to a slow growth of the cache, as more unique URIs
are added. For a good number of the URIs we're using (e.g. LDP URIs and
their #sourceResource fragments), use is scoped to the processing of
one record. Limiting the cache size allows these to cycle out, while
commonly used URIs should stay in the cache avoiding duplicate objects
in memory.
The cache size is given by Krikri::Settings['uri_cache_size'], and
defaults to 1_000_000 (cached URIs). We could choose to change the
cache size on various worker boxes by installing unique settings
values.
Setting the cache size at application startup causes a warning to be
thrown that the previous value of the "constant" CACHE_SIZE is being
overwritten. An issue is open to find a way to squash the warnings,
hopefully with a better cache capacity management pattern, at
https://github.com/ruby-rdf/rdf/issues/256

Looks good, other than a minor nit about adding some documentation. Are we going to be impacted by this other places in the ingestion workflow (e.g. on mapping or enrichment)? Passing to @markbreedlove for a second look.

Does the force push clarify?
RDF::URI.intern uses the cache, avoiding allocating (and subsequently GCing) new memory for the URI. In this case, the URI is the LDP original records container, and will be used for all of the processed records, so we prefer that it hits the cache.

Are we going to be impacted by this other places in the ingestion workflow (e.g. on mapping or enrichment)?

Yeah. I think this validates what @markbreedlove said originally: this memory pattern is likely playing out in mappings, too. Limiting the cache capacity should take care of it there, same as here.
Generally, since we're working with small graphs, almost always one at a time, a small-ish cache size ought to do us good. 1_000_000 is probably vastly bigger than we need, but the memory cost is small enough that it seems like a sane default.

Does the force push clarify?

For me, yep. :+1:

I've had a look at this and the relevant parts of RDF::URI, and I think this is good!
@no-reply, do you know where RDF::URI.intern is called in the mapping, or is that a separate PR for later?

Actually, it seems that setting RDF::URI::CACHE_SIZE the way you do in lib/krikri/engine.rb should take care of the mapper, too. Is that correct?

In both cases, the main place .intern is being called where it might be undesirable is RDF::URI#/.
The cache size limit should take care of this problem generally, and it should be reasonably safe to use .intern, with the worst case cost being that the handful of frequently recurring URIs fall out of the cache periodically, then are readded on next use.

authors: anarchivist markbreedlove no-reply

repo: dpla/KriKri


text:
🛑 File Service is down

In 2e8b0ff, File Service (https://files.dplayzgames06.tk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: File Service is back up in 28b4501 after 7 hours, 52 minutes.

repo: dplayz/status


text:
🛑 File Service is down

In b59fa73, File Service (https://files.dplayzgames06.tk) was down:

HTTP code: 530
Response time: 684 ms

Resolved: File Service is back up in 3c2ac02 after 11 minutes.


text:
Unable to run unidock in WSL2

The original system is Windows 10, and I get unidock in WSL2 of Ubuntu20.04.
The CUDA toolkit is installed(WSL version).
When running unidock, the GPU seems not to be working. But the CPU is hardly working with 100% load.
So, what's wrong with it?

Hi @XingyuLiao ,
Would you provide more detailed info for us to locate the problem. Thanks!

This is the usage of CPU and GPU.  It seems that unidock is running as a CPU program, not GPU.
The WLS info:
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Tue_Sep_15_19:10:02_PDT_2020
Cuda compilation tools, release 11.1, V11.1.74
Build cuda_11.1.TC455_06.29069683_0
Thu Jul 13 10:34:10 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.72       Driver Version: 512.72       CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  On   | 00000000:01:00.0 Off |                  N/A |
| N/A   57C    P8     7W /  N/A |      0MiB /  6144MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |

Hi @XingyuLiao ,
CPU task is required to parse and construct PDBQT data structures. After that, GPU will be used in the docking phase.
How long did you stuck in the CPU preprocessing step? Please try with less ligands to ensure the correctness.
Sorry for we have not tried uni-dock on WSL systems.
Thanks!

@XingyuLiao And please check you are using --gpu-ligand but not --ligand. Would you provide your full command line for us.

@caic99
This is the running command:
unidock --receptor Rec.pdbqt --ligand Lig_native.pdbqt --center_x -27.68294545 --center_y -29.06689091 --center_z 16.39609091 --size_x 20 --size_y 20 --size_z 20 --scoring vinardo --refine_step 5 --num_modes 100 --seed 5 --search_mode fast --dir unidock_out/
Thanks a lot for your reply. But the parameter "--gpu-ligand" seems not exist.

In addition, I try another command:
unidock --receptor Rec.pdbqt --gpu_batch Lig_native.pdbqt --center_x -27.68294545 --center_y -29.06689091 --center_z 16.39609091 --size_x 20 --size_y 20 --size_z 20 --scoring vinardo --refine_step 5 --num_modes 100 --seed 5 --search_mode fast --dir unidock_out
However, it doesn't work, and there is another error:
Computing Vinardo grid ... entering done
done.
exiting done
Total ligands: 1
Avaliable Memory = 5161MiB   Total Memory = 6143MiB
Batch 1 size: 0
ERROR: Empty ligand list.

Hi @XingyuLiao ,
I compiled Uni-Dock from source code and successfully finished the task under examples/screening_test. I use ubuntu 22.04 with WSL2, on my 3070 Ti 8GB GPU. It seems that Uni-Dock works smoothly on WSL2 systems.
You could compiling from source code and try again.

I compiled Uni-Dock from source in Debian running under WSL2 (Windows 11) on a laptop that has a NVIDIA RTX A500 graphics card. I also have CUDA 12.4 installed.
Debian has a smaller footprint than Ubuntu under WSL2 and appears very stable, I would recommend it over Ubuntu.

Hi,
I succesfully compiled from source Uni-Dock under WSL2/Debian, running on Windows 11. This is on a laptop with a NVIDIA RTX A500 GPU. It is important that you have the correct NVIDIA driver installed under Windows (not under Linux, WSL2 uses the Windows GPU driver!). There seem to be problems with NVIDIA drivers >version 537 in combination with WSL2, so I use the Windows NVIDIA driver version 537.99. This driver supports CUDA up to version 12.2, which I installed under WSL2. After this I could successfully run the default example. You can check if the GPU is invoked by running the Windows Task Manager and look for the GPU there.

repo: dptech-corp/Uni-Dock


text:
MS Windows console does not offer expansion

hi,
it's a "quick and dirty" patch that allows you to pass a folder as a parameter.
audfprint... add/new z:\audios\* doesn't work on Windows, audfprint... add/new z:\audios\ will.
glob.glob could also be used...
regards.

hi,
the variable analyzer.soundfiletotaldur can be equal to zero and introduce an impossible division in this world ;-)
regards.

repo: dpwe/audfprint