Brian P Williams
Brian P Williams
I ran into this issue as well. Running try-convert within a "Developer Command Prompt for VS 2019" seemed to work around it.
> Interesting. Can you run `dotnet --list-sdks` and paste the output? dotnet --list-sdks 5.0.403 [C:\Program Files\dotnet\sdk] 6.0.100 [C:\Program Files\dotnet\sdk] 6.0.101 [C:\Program Files\dotnet\sdk] I did notice it works on a vanilla...
This also triggered when opening a solution for the first time with the analyzer installed. Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.4.3 `System.InvalidOperationException : Sequence contains no...
while trying to use the code fixer "use await instead" the same error/stacktrace is observed. `myobject.DoWorkAsync().GetAwaiter().GetResult();` would trigger the error VSTHRD110. by following the suggestion of "use await instead" from...
This looks fixed in version 17.5.22. Time spent in VSTHRD110 reduced from 10:20.798 to 40.545 seconds when looking at the binlog in [MSBuild Log Viewer](https://msbuildlog.com/) under the "Analyzer Summary" section...
on Visual Studio Version 17.9.6, the behavior is the same except that adding a WCF Client to a net8.0 project generates version 6.0.0 of the ServiceModel.* projects, however it does...
What is the recommendation for a multi targeted implementation? Do I need to modify the generated code and add a `#if NETFRAMEWORK`? ``` #if NETFRAMEWORK public virtual System.Threading.Tasks.Task CloseAsync() {...
it appears to be generating the #if NETFRAMEWORK after upgrading visual studio to 17.9.6. I'm surprised it didn't work with 17.8.7 which was only 2 months old. The drop of...
I did notice that after installing the new Reference.cs, it dumped the 6.0 references in the csproj, even though I already had the 8.0 versions. Before: ``` net8.0;net48 ``` After...
I did notice that Visual Studio is using a newer version of Svcutil now. Before: ``` [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.1.0")] ``` After: ``` [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.2.0-preview1.23462.5")] ```