The formatting command will now exit with an error code of 1 if one of the target files cannot be compiled #1131
Prior to 0.29.0 if csharpier encountered a file that could not be compiled it would treat it as a warning and exit with a code of 0.
As of 0.29.0 a file that cannot be compiled is now treated as an error and csharpier will exit with code 1
What's Changed
Enforce trailing commas in object and collection initializer #668
CSharpier will now add trailing commas automatically where appropriate. It will collapse to a single line and remove the trailing comma in cases where everything fits on one line.
// input
public enum SomeEnum
{
Value1,
Value2
}
string[] someArray = new string[]
{
someLongValue_____________________________________________,
someLongValue_____________________________________________
};
string[] someArray = new string[]
{
someValue,
someValue,
};
// 0.29.0
public enum SomeEnum
{
Value1,
Value2,
}
The formatting command will now exit with an error code of 1 if one of the target files cannot be compiled #1131
Prior to 0.29.0 if csharpier encountered a file that could not be compiled it would treat it as a warning and exit with a code of 0.
As of 0.29.0 a file that cannot be compiled is now treated as an error and csharpier will exit with code 1
What's Changed
Enforce trailing commas in object and collection initializer #668
CSharpier will now add trailing commas automatically where appropriate. It will collapse to a single line and remove the trailing comma in cases where everything fits on one line.
// input
public enum SomeEnum
{
Value1,
Value2
}
string[] someArray = new string[]
{
someLongValue_____________________________________________,
someLongValue_____________________________________________
};
string[] someArray = new string[]
{
someValue,
someValue,
};
// 0.29.0
public enum SomeEnum
{
Value1,
Value2,
}
Introduce BenchmarkDotNet.Diagnostics.dotMemory#2549: memory allocation profile of your benchmarks using dotMemory, see @BenchmarkDotNet.Samples.IntroDotMemoryDiagnoser
Introduce BenchmarkDotNet.Exporters.Plotting#2560: plotting via ScottPlot (initial version)
Multiple bugfixes
The default build toolchains have been updated to pass IntermediateOutputPath, OutputPath, and OutDir properties to the dotnet build command. This change forces all build outputs to be placed in a new directory generated by BenchmarkDotNet, and fixes many issues that have been reported with builds. You can also access these paths in your own .csproj and .props from those properties if you need to copy custom files to the output.
Bug fixes
Fixed multiple build-related bugs including passing MsBuildArguments and .Net 8's UseArtifactsOutput.
DotNetCliCommand removed RetryFailedBuildWithNoDeps property and BuildNoRestoreNoDependencies() and PublishNoBuildAndNoRestore() methods (replaced with PublishNoRestore()).
Can no longer inherit from CompletionService and CompletionServiceWithProviders
The constructors of Microsoft.CodeAnalysis.Completion and Microsoft.CodeAnalysis.Completion.CompletionServiceWithProviders are now internal.
Roslyn does not support implementing completion for arbitrary languages.
Version 4.2.0
Can no longer inherit from QuickInfoService
The constructors of Microsoft.CodeAnalysis.QuickInfoService are now internal.
Roslyn does not support implementing completion for arbitrary languages.
Microsoft.CodeAnalysis.CodeStyle.NotificationOption is now immutable
All property setters now throw an exception.
Version 4.4.0
Workspace.OnWorkspaceFailed is no longer called when an error occurs while reading source file content from disk.
The Workspace and DocumentId parameters of TextLoader.LoadTextAndVersionAsync(Workspace, DocumentId, CancellationToken) are deprecated.
The method now receives nullWorkspace and DocumentId.
Version 4.5.0
SymbolDisplayFormat.CSharpErrorMessageFormat and CSharpShortErrorMessageFormat now include parameter names by default if used on a standalone IParameterSymbol.
For example, parameter p in void M(ref int p) was previously formatted as "ref int" and now it is formatted as "ref int p".
Version 4.7.0
SymbolDisplayFormat includes parameter name when invoked on IParameterSymbol
All SymbolDisplayFormats (predefined and user-created) now include parameter names by default if used on a standalone IParameterSymbol for consistency with predefined formats (see the breaking change for version 4.5.0 above).
Changed IncrementalStepRunReason when a modified input produced a new output
IncrementalGeneratorRunStep.Outputs previously contained IncrementalStepRunReason.Modified as Reason
when the input to the step was modified in a way that produced a new output.
Now the reason will be reported more accurately as IncrementalStepRunReason.New.
Version 4.8.0
Changed Assembly.Location behavior in non-Windows
The value of Assembly.Location previously held the location on disk where an analyzer or source generator was loaded from. This could be either the original location or the shadow copy location. In 4.8 this will be "" in certain cases when running on non Windows platforms. This is due the compiler server loading assemblies using AssemblyLoadContext.LoadFromStream instead of loading from disk.
This could already happen in other load scenarios but this change moves it into mainline build scenarios.
... (truncated)
Commits
8183134 Merge pull request #58232 from dotnet/merges/release/dev17.1-to-release/dev17...
76610d0 Merge pull request #58230 from dotnet/dev/jorobich/update-loc-branch
a91348e Update localized branch to release/dev17.1-vs-deps
4e139d3 Merge pull request #58167 from dotnet/merges/release/dev17.1-to-release/dev17...
032a9be Merge pull request #58075 from jmarolf/features/editorconfig-naming-style-sup...
Most Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions |
| --- | --- |
| Microsoft.CodeAnalysis.CSharp | [> 3.0.0] |
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the nuget group with 5 updates:
1.7.2
1.7.8
0.28.2
0.29.1
17.10.0
17.11.0
0.13.12
0.14.0
3.0.0
4.1.0
Updates
Basic.Reference.Assemblies.Net80
from 1.7.2 to 1.7.8Release notes
Sourced from Basic.Reference.Assemblies.Net80's releases.
Commits
3865c99
Merge pull request #62 from jaredpar/tuple269df57
fixed the test42dbd78
ability to run as a sanity testbe5e620
tuple support in net4615bcaa26
Merge pull request #61 from jaredpar/ver5b3becb
Use the ref instead of lib assemblies928dffc
Merge pull request #60 from jaredpar/extra17e73a8
Cleanup code gen a bitb05727a
Extra info addedd3ad7d0
refactor 3Updates
CSharpier.MsBuild
from 0.28.2 to 0.29.1Release notes
Sourced from CSharpier.MsBuild's releases.
... (truncated)
Changelog
Sourced from CSharpier.MsBuild's changelog.
... (truncated)
Commits
b87b4df
Releasing 0.29.1 (#1331)10e0780
Support for multiple csharpier servers running at the same time, have them wr...2ed8622
Getting _ to sort to the top like it should (#1328)688aeb7
VS - Use dotnet tool list to find both local and global installs of csharpier...1cdcf0a
fix widthc529570
prettier all the java88383e7
Using dotnet tool list for rider extension (#1325)2456512
Modify VSCode extension to use dotnet tool list + only warn to instal… (#1323)6cb3821
Format with 29 (#1322)0abbc1d
fix typoUpdates
Microsoft.NET.Test.Sdk
from 17.10.0 to 17.11.0Release notes
Sourced from Microsoft.NET.Test.Sdk's releases.
... (truncated)
Commits
c6ad3e3
Update dependencies from https://dev.azure.com/devdiv/DevDiv/_git/vs-code-cov...910ca0d
Fix output based test (#5131)0518cea
Rebrand to 17.11-release (#5128)5b69fd3
Write dll instead of target on abort, rename errors (#5115)7264afa
Error output as info in terminal logger (#5113)3d2ea06
remove disable interactive auth (#5110)e4da2c1
Add option to ignore tests (#5109)6b3b959
Ignore dump failing test while I investigate (#5107)24b992f
Ignore dispose error (#5105)bfdaf0b
Object disposed flaky (#5104)Updates
BenchmarkDotNet
from 0.13.12 to 0.14.0Release notes
Sourced from BenchmarkDotNet's releases.
Commits
cf882d3
Add macOS Sequoia in OsBrandStringHelper17cf3b0
[docs] Prepare v0.14.0 changelogb3fbe7c
Set next BenchmarkDotNet version: 0.14.023e6c52
Fix InvalidOperationException in DotMemoryDiagnoser3d34edb
Bump JetBrains.Profiler.SelfApi: 2.5.2->2.5.9bf0a49d
fix(CI): Deprecation issues (#2605)0275649
Fixed crash from TaskbarProgress when BuiltInComInteropSupport is disabled. ...15200d4
[build] Add BenchmarkDotNet.Exporters.Plotting.Tests to unit-tests834417a
Improve logging in ScottPlotExporterTestsf8082a2
Fix IntroSummaryStyle compilationUpdates
Microsoft.CodeAnalysis.CSharp
from 3.0.0 to 4.1.0Release notes
Sourced from Microsoft.CodeAnalysis.CSharp's releases.
... (truncated)
Changelog
Sourced from Microsoft.CodeAnalysis.CSharp's changelog.
... (truncated)
Commits
8183134
Merge pull request #58232 from dotnet/merges/release/dev17.1-to-release/dev17...76610d0
Merge pull request #58230 from dotnet/dev/jorobich/update-loc-brancha91348e
Update localized branch to release/dev17.1-vs-deps4e139d3
Merge pull request #58167 from dotnet/merges/release/dev17.1-to-release/dev17...032a9be
Merge pull request #58075 from jmarolf/features/editorconfig-naming-style-sup...86ef543
move search bar up by 12 pixelscb5cfc0
use Lazy instead of fancy InterlockedInitialize132f6b0
return false if we fail to determine the language for a patha321a3f
Combine Lex with static functionb2ca734
update incorrect commentMost Recent Ignore Conditions Applied to This Pull Request
| Dependency Name | Ignore Conditions | | --- | --- | | Microsoft.CodeAnalysis.CSharp | [> 3.0.0] |Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show