Buildalyzer icon indicating copy to clipboard operation
Buildalyzer copied to clipboard

A utility to perform design-time builds of .NET projects without having to think too hard about it.

Results 76 Buildalyzer issues
Sort by recently updated
recently updated
newest added

Fixes #281 ### 🚀 Pull Request Template ## Description This PR updates MSbuild references to support C# 12 features which are not buildable using latest public version of Buildalyzer A...

Hey, this looks like a lovely library, than you for easing the pain of setting up design-time builds! We are working on a new .NET language, [Draco](https://github.com/Draco-lang/Compiler) and we'd love...

Feedback Needed

I'm trying to build a .net 8 project which uses some of the new C# 12 language features such as [collection expressions](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-12#collection-expressions), the build fails and the usage of the...

Hello I come here from the following problem : https://github.com/stryker-mutator/stryker-net/issues/2077 since it seems to be a Buildalyzer problem. All of our projects use this configuration : ![image](https://github.com/user-attachments/assets/b9e8654a-6498-44d4-a420-1f8f6464232c) I tried this...

To reduce the responsibilities of different pieces of code, I think it is a good idea to let a dedicated collector take care of the collection of the `DataReceivedEventArgs` events...

To improve on the readability when comparing strings case insensitive, I've created 3 extension methods: ``` C# namespace System; internal static class BuildalyzerStringExtensions { public static bool IsMatch(this string? self,...

The current way of logging/tracing the build results feel not right. This PR is way to improve on that. The idea is that a (extremely lightweight) `BuildEventArgsCollector` that has only...

Applied suggestions of [.NET project file analyzers](https://dotnet-project-file-analyzers.github.io).

### 🚀 Pull Request Template Fixes #303 ## Description This PR uses the new VS.SolutionPersistence library to parse both classic solution files and new SLNX files. As a result it...

new AnalyzerManager(fn) throws Microsoft.Build.Exceptions.InvalidProjectFileException: No file format header found ``` Error: Microsoft.Build.Exceptions.InvalidProjectFileException: No file format header found. D:\src\billing-system\BillingSystem.slnx at Microsoft.Build.Shared.ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(Boolean condition, String errorSubCategoryResourceName, BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[]...