Yaakov
Yaakov
> awaits e if it is non-null, otherwise it results in `null` What if I have `Task` where `T` is a struct/scalar, or `Task` without a result type?
@jamesqo Isn't that what `ValueTask`is for?
I thought shebang was already supported... is it only in the .csx variant?
ah, looks like its only currently supported in the scripting mode. https://github.com/dotnet/roslyn/blob/1b266a1e67434578ec09737a4e9427e52f44a420/src/Compilers/CSharp/Portable/Parser/DirectiveParser.cs#L108-L111
Try running with `-debug`, that should give us more useful information. Please post logs as text rather than images.
> Where? We should fix that immediately. In the code blocks here: https://learn.microsoft.com/en-us/visualstudio/msbuild/updating-an-existing-application?view=vs-2022#register-instance-before-calling-msbuild It also states (bold emphasis mine): > If you would like finer-grained control over the loading of...
This is probably not the right thread to have that discussion, but MSBuildLocator's internal behaviour varies wildly depending on which assembly you use. The .NET Framework build looks for Visual...
> How to find Visual Studio; as of Visual Studio 2017 or later, vswhere.exe provides a nice json format and addresses part of the stable vs. prerelease issue I describe......
@jzabroski The flag is exposed by [ISetupInstanceCatalog.IsPrerelease()](https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.setup.configuration.isetupinstance?view=visualstudiosdk-2022), which I use as: ```csharp ISetupInstance2 i2 = /* I assume you already have your instance from the API */; if (i2 is...
I think it was there because IConvertible officially supports DateTime, but we never implemented it as there's no strict definition of what a KV DateTime looks like - could be...