roslyn-sdk
roslyn-sdk copied to clipboard
Roslyn-SDK templates and Syntax Visualizer
There are testing libraries for MSTest, NUnit and XUnit, but now that there's another library that seems to be getting some real traction and usage: TUnit [https://www.nuget.org/packages/TUnit](nuget) [https://github.com/thomhurst/TUnit](github) [https://tunit.dev/](website/docs) I...
I can't seem to get the syntax correct here as it keeps telling me markup location #1 isn't found. ```cs [Fact] public Task TestAsync() { var verifier = new CSharpCodeFixTest...
Those 2 variables are `virtual` but they are called in the constructor so the behavior is not as expected. That is, it will use the default value because the override...
See context from https://github.com/dotnet/roslyn/discussions/77207#discussioncomment-12198009. The gist is that 1.1.2 misleadingly ships with a ".NET 9" set of references, but those references are actually p1, and are missing most of the...
@sharwell Is this an acceptable change for you?
https://github.com/dotnet/roslyn-sdk/blob/e5ac2973139bde52fae4f85327ea7ac7bc5eedf6/src/VisualStudio.Roslyn.SDK/Roslyn.SDK/ProjectTemplates/CSharp/Diagnostic/Test/Verifiers/CSAnalyzer%2BTest.cs#L7-L10 This will trigger [MSTEST0004](https://learn.microsoft.com/en-us/dotnet/core/testing/mstest-analyzers/mstest0004) once the user enables that analyzer (ofc if the user is using MSTest - not sure if xUnit/NUnit have similar analyzer). FYI @Evangelink
I get this exception when running analyzer tests against Roslyn 2.3.2: System.TypeLoadException: 'Method 'RegisterOperationBlockStartActionInternal' on type 'CustomAnalysisContextImpl' from assembly 'codeAnalysisProxies_af0f5d57-e957-457a-bcb7-9146cf3acf3b, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is overriding a method that is not...
Currently, the `Microsoft.CodeAnalysis.Analyzer.Testing.ReferenceAssemblies` class has very limited configurability when it comes to the settings for NuGet. It allows you to specify a single NuGet config file, or none at all....
This pull request updates the following dependencies [marker]: (Begin:5705074d-db92-4db0-1eb9-08d8d8fef0ea) ## From https://github.com/dotnet/arcade - **Subscription**: 5705074d-db92-4db0-1eb9-08d8d8fef0ea - **Build**: 20250129.1 - **Date Produced**: January 29, 2025 10:36:22 AM UTC - **Commit**: cae548d41ddb92922d78f3d9737635d104f650a5...
## Visual Studio Version 17.12.4 ## Summary If there is a space in the BaseOutputPath and BaseIntermediateOutputPath then creating a Roslyn Component launch profile using "Open debug launch profiles UI"...