├── exclusion.dic
├── pozitronicon.png
├── pozitronlogo.png
├── samples
├── Fuser.Lib1
│ ├── Bar.cs
│ └── Fuser.Lib1.csproj
├── Fuser.Lib2
│ ├── Foo.cs
│ └── Fuser.Lib2.csproj
├── Directory.Build.props
└── Fuser.SampleApp
│ ├── Program.cs
│ └── Fuser.SampleApp.csproj
├── ci.slnf
├── readme-nuget.md
├── CODE_OF_CONDUCT.md
├── src
├── ProjectMetadata.targets
├── Fuser
│ ├── build
│ │ ├── Fuser.targets
│ │ └── Fuser.props
│ ├── Fuser.csproj
│ └── MergeAssembliesTask.cs
└── ProjectMetadata.props
├── .github
└── workflows
│ ├── ci.yml
│ └── release.yml
├── LICENSE.txt
├── Directory.Packages.props
├── README.md
├── .gitattributes
├── clean.sh
├── Fuser.sln
├── .gitignore
└── .editorconfig
/exclusion.dic:
--------------------------------------------------------------------------------
1 | Pozitron
2 | pozitron
3 | microsoft
4 | Defs
5 |
--------------------------------------------------------------------------------
/pozitronicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fiseni/Fuser/HEAD/pozitronicon.png
--------------------------------------------------------------------------------
/pozitronlogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fiseni/Fuser/HEAD/pozitronlogo.png
--------------------------------------------------------------------------------
/samples/Fuser.Lib1/Bar.cs:
--------------------------------------------------------------------------------
1 | namespace Fuser.Lib1;
2 |
3 | public class Bar
4 | {
5 | public string Text = "Bar Text";
6 | }
7 |
--------------------------------------------------------------------------------
/samples/Fuser.Lib2/Foo.cs:
--------------------------------------------------------------------------------
1 | namespace Fuser.Lib2;
2 |
3 | public class Foo
4 | {
5 | public string Text = "Foo Text";
6 | }
7 |
--------------------------------------------------------------------------------
/ci.slnf:
--------------------------------------------------------------------------------
1 | {
2 | "solution": {
3 | "path": "Fuser.sln",
4 | "projects": [
5 | "src\\Fuser\\Fuser.csproj"
6 | ]
7 | }
8 | }
--------------------------------------------------------------------------------
/readme-nuget.md:
--------------------------------------------------------------------------------
1 | **Fuser** is an MSBuild task that merges selected referenced assemblies into your project's output assembly at build time.
2 |
--------------------------------------------------------------------------------
/samples/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | false
4 |
5 |
6 |
--------------------------------------------------------------------------------
/samples/Fuser.SampleApp/Program.cs:
--------------------------------------------------------------------------------
1 | using Fuser.Lib1;
2 | using Fuser.Lib2;
3 |
4 | Console.WriteLine("Hello, World!");
5 |
6 | var foo = new Foo();
7 | Console.WriteLine(foo.Text);
8 |
9 | var bar = new Bar();
10 | Console.WriteLine(bar.Text);
11 |
--------------------------------------------------------------------------------
/samples/Fuser.Lib1/Fuser.Lib1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net8.0
5 | enable
6 | enable
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/samples/Fuser.Lib2/Fuser.Lib2.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net8.0
5 | enable
6 | enable
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Code of Conduct
2 |
3 | This project has adopted the code of conduct defined by the Contributor Covenant
4 | to clarify expected behavior in our community.
5 | For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
6 |
--------------------------------------------------------------------------------
/src/ProjectMetadata.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/Fuser/build/Fuser.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/.github/workflows/ci.yml:
--------------------------------------------------------------------------------
1 | name: Build and Test
2 |
3 | on:
4 | workflow_dispatch:
5 | pull_request:
6 | branches:
7 | - main
8 |
9 | jobs:
10 | build:
11 | runs-on: ubuntu-latest
12 |
13 | steps:
14 | - name: Checkout
15 | uses: actions/checkout@v4
16 | - name: Setup dotnet
17 | uses: actions/setup-dotnet@v4
18 | with:
19 | dotnet-version: 9.x
20 | - name: Build
21 | run: dotnet build ci.slnf --configuration Release
22 | - name: Test
23 | run: dotnet test ci.slnf --configuration Release --no-build --no-restore
24 |
--------------------------------------------------------------------------------
/src/Fuser/build/Fuser.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)', '..', 'tasks', 'net472', 'Fuser.dll'))
5 | $([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)', '..', 'bin', 'Debug', 'net472', 'Fuser.dll'))
6 |
7 |
8 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
1 | name: Release to Nuget
2 |
3 | on:
4 | release:
5 | types: [published]
6 |
7 | jobs:
8 | build:
9 | runs-on: ubuntu-latest
10 |
11 | steps:
12 | - name: Checkout
13 | uses: actions/checkout@v4
14 | - name: Setup dotnet
15 | uses: actions/setup-dotnet@v4
16 | with:
17 | dotnet-version: 9.x
18 | - name: Build
19 | run: dotnet build ci.slnf --configuration Release
20 | - name: Test
21 | run: dotnet test ci.slnf --configuration Release --no-build --no-restore
22 | - name: Pack
23 | run: dotnet pack ci.slnf --configuration Release --no-build --no-restore --output .
24 | - name: Push to NuGet
25 | run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json
26 |
--------------------------------------------------------------------------------
/src/ProjectMetadata.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Fati Iseni
5 | Pozitron Group
6 | Copyright © 2025 Pozitron Group
7 | Pozitron MSBuild Tasks
8 |
9 | https://github.com/fiseni/Fuser
10 | https://github.com/fiseni/Fuser
11 | true
12 | git
13 | MIT
14 | readme-nuget.md
15 | https://pozitrongroup.com/PozitronLogo.png
16 | pozitronicon.png
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/samples/Fuser.SampleApp/Fuser.SampleApp.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net8.0
6 | enable
7 | enable
8 |
9 |
10 |
11 |
12 | true
13 |
14 |
15 | true
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2025 Fati Iseni
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/Directory.Packages.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | [](https://www.nuget.org/packages/Fuser)
4 |
5 | [](https://github.com/fiseni/Fuser/actions/workflows/ci.yml)
6 |
7 |
8 | # Fuser
9 |
10 | **Fuser** is an MSBuild task that merges selected referenced assemblies into your project's output assembly at build time.
11 |
12 | ## Why?
13 |
14 | The main motivation is to avoid dependency conflicts and version mismatches in shared hosting and plugin environments.
15 |
16 | The project is still in its infancy, I haven't clearly defined the objectives yet. Tell me about your specific scenarios and the pain points you're facing.
17 |
18 | ### Initial idea
19 |
20 | Mark any package you want to be merged into your output as follows.
21 |
22 | ```xml
23 |
24 |
25 | true
26 |
27 |
28 |
29 | Lib2.dll
30 | true
31 |
32 |
33 |
34 |
35 | ```
36 |
37 | ✅ No need to manually merge or pack.
38 | ✅ Works during normal `dotnet build` and `dotnet test`.
39 | ✅ Simple configuration with a `true` property on any `Reference`.
40 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | # Declare files that will always have LF line endings on checkout.
7 | *.sh text eol=lf
8 |
9 | ###############################################################################
10 | # Set default behavior for command prompt diff.
11 | #
12 | # This is need for earlier builds of msysgit that does not have it on by
13 | # default for csharp files.
14 | # Note: This is only used by command line
15 | ###############################################################################
16 | #*.cs diff=csharp
17 |
18 | ###############################################################################
19 | # Set the merge driver for project and solution files
20 | #
21 | # Merging from the command prompt will add diff markers to the files if there
22 | # are conflicts (Merging from VS is not affected by the settings below, in VS
23 | # the diff markers are never inserted). Diff markers may cause the following
24 | # file extensions to fail to load in VS. An alternative would be to treat
25 | # these files as binary and thus will always conflict and require user
26 | # intervention with every merge. To do so, just uncomment the entries below
27 | ###############################################################################
28 | #*.sln merge=binary
29 | #*.csproj merge=binary
30 | #*.vbproj merge=binary
31 | #*.vcxproj merge=binary
32 | #*.vcproj merge=binary
33 | #*.dbproj merge=binary
34 | #*.fsproj merge=binary
35 | #*.lsproj merge=binary
36 | #*.wixproj merge=binary
37 | #*.modelproj merge=binary
38 | #*.sqlproj merge=binary
39 | #*.wwaproj merge=binary
40 |
41 | ###############################################################################
42 | # behavior for image files
43 | #
44 | # image files are treated as binary by default.
45 | ###############################################################################
46 | *.jpg binary
47 | *.png binary
48 | *.gif binary
49 | *.ico binary
50 |
51 | ###############################################################################
52 | # diff behavior for common document formats
53 | #
54 | # Convert binary document formats to text before diffing them. This feature
55 | # is only available from the command line. Turn it on by uncommenting the
56 | # entries below.
57 | ###############################################################################
58 | #*.doc diff=astextplain
59 | #*.DOC diff=astextplain
60 | #*.docx diff=astextplain
61 | #*.DOCX diff=astextplain
62 | #*.dot diff=astextplain
63 | #*.DOT diff=astextplain
64 | #*.pdf diff=astextplain
65 | #*.PDF diff=astextplain
66 | #*.rtf diff=astextplain
67 | #*.RTF diff=astextplain
68 |
--------------------------------------------------------------------------------
/clean.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # Fati Iseni
3 |
4 | WorkingDir="$(pwd)"
5 |
6 | ########## Make sure you're not on a root path :)
7 | safetyCheck()
8 | {
9 | declare -a arr=("" "/" "/c" "/d" "c:\\" "d:\\" "C:\\" "D:\\")
10 | for i in "${arr[@]}"
11 | do
12 | if [ "$WorkingDir" = "$i" ]; then
13 | echo "";
14 | echo "You are on a root path. Please run the script from a given directory.";
15 | exit 1;
16 | fi
17 | done
18 | }
19 |
20 | deleteBinObj()
21 | {
22 | echo "Deleting bin and obj directories...";
23 | find "$WorkingDir/" -type d -name "bin" -exec rm -rf {} \; > /dev/null 2>&1;
24 | find "$WorkingDir/" -type d -name "obj" -exec rm -rf {} \; > /dev/null 2>&1;
25 | }
26 |
27 | deleteVSDir()
28 | {
29 | echo "Deleting .vs directories...";
30 | find "$WorkingDir/" -type d -name ".vs" -exec rm -rf {} \; > /dev/null 2>&1;
31 | }
32 |
33 | deleteLogs()
34 | {
35 | echo "Deleting Logs directories...";
36 | find "$WorkingDir/" -type d -name "Logs" -exec rm -rf {} \; > /dev/null 2>&1;
37 | }
38 |
39 | deleteUserCsprojFiles()
40 | {
41 | echo "Deleting *.csproj.user files...";
42 | find "$WorkingDir/" -type f -name "*.csproj.user" -exec rm -rf {} \; > /dev/null 2>&1;
43 | }
44 |
45 | deleteTestResults()
46 | {
47 | echo "Deleting test and coverage artifacts...";
48 | find "$WorkingDir/" -type d -name "TestResults" -exec rm -rf {} \; > /dev/null 2>&1;
49 | }
50 |
51 | deleteLocalGitBranches()
52 | {
53 | echo "Deleting local unused git branches (e.g. no corresponding remote branch)...";
54 | git fetch -p && git branch -vv | awk '/: gone\]/{print $1}' | xargs -I {} git branch -D {}
55 | }
56 |
57 | showhelp()
58 | {
59 | echo "Usage:";
60 | echo "";
61 | echo -e "clean.sh [obj | vs | logs | user | coverages | branches | all]";
62 | echo "";
63 | echo -e "obj (Default)\t-\tDeletes bin and obj directories.";
64 | echo -e "vs\t\t-\tDeletes .vs directories.";
65 | echo -e "logs\t\t-\tDeletes Logs directories.";
66 | echo -e "user\t\t-\tDeletes *.csproj.user files.";
67 | echo -e "coverages\t-\tDeletes test and coverage artifacts.";
68 | echo -e "branches\t-\tDeletes local unused git branches (e.g. no corresponding remote branch).";
69 | echo -e "all\t\t-\tApply all options";
70 | }
71 |
72 | safetyCheck;
73 | echo "";
74 |
75 | if [ "$1" = "help" ]; then
76 | showhelp;
77 | elif [ "$1" = "obj" ]; then
78 | deleteBinObj;
79 | elif [ "$1" = "vs" ]; then
80 | deleteVSDir;
81 | elif [ "$1" = "logs" ]; then
82 | deleteLogs;
83 | elif [ "$1" = "user" ]; then
84 | deleteUserCsprojFiles;
85 | elif [ "$1" = "coverages" ]; then
86 | deleteTestResults;
87 | elif [ "$1" = "branches" ]; then
88 | deleteLocalGitBranches;
89 | elif [ "$1" = "all" ]; then
90 | deleteBinObj;
91 | deleteVSDir;
92 | deleteLogs;
93 | deleteUserCsprojFiles;
94 | deleteTestResults;
95 | deleteLocalGitBranches;
96 | else
97 | deleteBinObj;
98 | fi
99 |
--------------------------------------------------------------------------------
/src/Fuser/Fuser.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Fuser
8 | Fuser
9 | net472
10 | disable
11 | enable
12 | latest
13 |
14 |
15 |
16 | 0.0.1-alpha3
17 | Fuser
18 | Fuser
19 | MSBuild task for merging assemblies.
20 | MSBuild task that merges selected referenced assemblies into your project's output assembly at build time.
21 | fiseni pozitron msbuild assembly merge
22 |
23 |
24 |
25 |
26 |
27 | embedded
28 | true
29 | true
30 | true
31 | false
32 | true
33 |
34 | true
35 | false
36 | $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage
37 | tasks
38 | true
39 | true
40 | true
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
55 |
56 |
57 |
60 |
61 |
62 |
63 |
67 |
68 |
69 |
73 |
74 |
75 |
76 |
77 |
--------------------------------------------------------------------------------
/src/Fuser/MergeAssembliesTask.cs:
--------------------------------------------------------------------------------
1 | using ILRepacking;
2 | using Microsoft.Build.Framework;
3 | using Microsoft.Build.Utilities;
4 | using System;
5 | using System.Diagnostics;
6 | using System.IO;
7 | using System.Linq;
8 |
9 | namespace Fuser;
10 |
11 | public class MergeAssembliesTask : Task
12 | {
13 | [Required]
14 | public string MainAssemblyPath { get; set; } = "";
15 |
16 | [Required]
17 | public bool DeleteMergedFiles { get; set; } = false;
18 |
19 | [Required]
20 | public ITaskItem[] ReferencesToMerge { get; set; } = Array.Empty();
21 |
22 | public override bool Execute()
23 | {
24 | //Debugger.Launch();
25 |
26 | try
27 | {
28 | Log.LogMessage(MessageImportance.High, $"Fuser: Merging assemblies into {MainAssemblyPath}");
29 |
30 | var assembliesToMerge = new[] { MainAssemblyPath }
31 | .Concat(ReferencesToMerge.Select(x => x.ItemSpec))
32 | .Distinct()
33 | .ToArray();
34 |
35 | var repackOptions = new RepackOptions
36 | {
37 | OutputFile = MainAssemblyPath,
38 | InputAssemblies = assembliesToMerge,
39 | DebugInfo = true,
40 | Internalize = true,
41 | Parallel = false,
42 | SearchDirectories = new[] { Path.GetDirectoryName(MainAssemblyPath)! },
43 | TargetKind = ILRepack.Kind.SameAsPrimaryAssembly,
44 | };
45 |
46 | var repack = new ILRepack(repackOptions);
47 | repack.Repack();
48 |
49 | Log.LogMessage(MessageImportance.High, "Fuser: Merging completed successfully.");
50 |
51 | if (DeleteMergedFiles)
52 | {
53 | var filesToDelete = GetFilesToDelete(MainAssemblyPath, assembliesToMerge);
54 | foreach (var filePath in filesToDelete)
55 | {
56 | try
57 | {
58 | File.Delete(filePath);
59 | Log.LogMessage(MessageImportance.Low, $"Fuser: Deleted merged file {filePath}");
60 | }
61 | catch (Exception ex)
62 | {
63 | Log.LogWarning($"Fuser: Failed to delete merged file '{filePath}': {ex.Message}");
64 | }
65 | }
66 | }
67 |
68 | return true;
69 | }
70 | catch (Exception ex)
71 | {
72 | Log.LogErrorFromException(ex, true);
73 | return false;
74 | }
75 | }
76 |
77 | private static string[] GetFilesToDelete(string mainAssemblyPath, string[] assemblies)
78 | {
79 | var mainAssemblyDir = Path.GetDirectoryName(mainAssemblyPath)!;
80 | var mainAssemblyBaseName = Path.GetFileNameWithoutExtension(mainAssemblyPath);
81 |
82 | return assemblies
83 | .Select(Path.GetFileNameWithoutExtension)
84 | .Where(name => !string.Equals(name, mainAssemblyBaseName, StringComparison.OrdinalIgnoreCase))
85 | .SelectMany(baseName => Directory.GetFiles(mainAssemblyDir, baseName + ".*"))
86 | .ToArray();
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/Fuser.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.14.36017.23
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fuser", "src\Fuser\Fuser.csproj", "{31AB2C92-D8D3-4565-B1D2-A894E4367B81}"
7 | EndProject
8 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_meta", "_meta", "{8EC462FD-D22E-90A8-E5CE-7E832BA40C5D}"
9 | ProjectSection(SolutionItems) = preProject
10 | .editorconfig = .editorconfig
11 | .gitattributes = .gitattributes
12 | .gitignore = .gitignore
13 | Directory.Packages.props = Directory.Packages.props
14 | exclusion.dic = exclusion.dic
15 | src\ProjectMetadata.props = src\ProjectMetadata.props
16 | src\ProjectMetadata.targets = src\ProjectMetadata.targets
17 | README.md = README.md
18 | EndProjectSection
19 | EndProject
20 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
21 | EndProject
22 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fuser.SampleApp", "samples\Fuser.SampleApp\Fuser.SampleApp.csproj", "{BAA1BE85-9E6B-46DA-ADC3-4799B1ABAC52}"
23 | EndProject
24 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fuser.Lib1", "samples\Fuser.Lib1\Fuser.Lib1.csproj", "{3C79731B-9827-430A-8624-6FBE3434FB8A}"
25 | EndProject
26 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Fuser.Lib2", "samples\Fuser.Lib2\Fuser.Lib2.csproj", "{78FC1BC9-9C4C-4463-A0F2-CFC0D0C30BDA}"
27 | EndProject
28 | Global
29 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
30 | Debug|Any CPU = Debug|Any CPU
31 | Release|Any CPU = Release|Any CPU
32 | EndGlobalSection
33 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
34 | {31AB2C92-D8D3-4565-B1D2-A894E4367B81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35 | {31AB2C92-D8D3-4565-B1D2-A894E4367B81}.Debug|Any CPU.Build.0 = Debug|Any CPU
36 | {31AB2C92-D8D3-4565-B1D2-A894E4367B81}.Release|Any CPU.ActiveCfg = Release|Any CPU
37 | {31AB2C92-D8D3-4565-B1D2-A894E4367B81}.Release|Any CPU.Build.0 = Release|Any CPU
38 | {BAA1BE85-9E6B-46DA-ADC3-4799B1ABAC52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39 | {BAA1BE85-9E6B-46DA-ADC3-4799B1ABAC52}.Debug|Any CPU.Build.0 = Debug|Any CPU
40 | {BAA1BE85-9E6B-46DA-ADC3-4799B1ABAC52}.Release|Any CPU.ActiveCfg = Release|Any CPU
41 | {BAA1BE85-9E6B-46DA-ADC3-4799B1ABAC52}.Release|Any CPU.Build.0 = Release|Any CPU
42 | {3C79731B-9827-430A-8624-6FBE3434FB8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
43 | {3C79731B-9827-430A-8624-6FBE3434FB8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
44 | {3C79731B-9827-430A-8624-6FBE3434FB8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
45 | {3C79731B-9827-430A-8624-6FBE3434FB8A}.Release|Any CPU.Build.0 = Release|Any CPU
46 | {78FC1BC9-9C4C-4463-A0F2-CFC0D0C30BDA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
47 | {78FC1BC9-9C4C-4463-A0F2-CFC0D0C30BDA}.Debug|Any CPU.Build.0 = Debug|Any CPU
48 | {78FC1BC9-9C4C-4463-A0F2-CFC0D0C30BDA}.Release|Any CPU.ActiveCfg = Release|Any CPU
49 | {78FC1BC9-9C4C-4463-A0F2-CFC0D0C30BDA}.Release|Any CPU.Build.0 = Release|Any CPU
50 | EndGlobalSection
51 | GlobalSection(SolutionProperties) = preSolution
52 | HideSolutionNode = FALSE
53 | EndGlobalSection
54 | GlobalSection(NestedProjects) = preSolution
55 | {BAA1BE85-9E6B-46DA-ADC3-4799B1ABAC52} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
56 | {3C79731B-9827-430A-8624-6FBE3434FB8A} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
57 | {78FC1BC9-9C4C-4463-A0F2-CFC0D0C30BDA} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
58 | EndGlobalSection
59 | GlobalSection(ExtensibilityGlobals) = postSolution
60 | SolutionGuid = {6F8B15D9-D93C-4B35-BECC-C70BD1BB390A}
61 | EndGlobalSection
62 | EndGlobal
63 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
364 |
365 | # Common IntelliJ Platform excludes
366 | # User specific
367 | **/.idea/**/workspace.xml
368 | **/.idea/**/tasks.xml
369 | **/.idea/shelf/*
370 | **/.idea/dictionaries
371 | **/.idea/httpRequests/
372 |
373 | # Sensitive or high-churn files
374 | **/.idea/**/dataSources/
375 | **/.idea/**/dataSources.ids
376 | **/.idea/**/dataSources.xml
377 | **/.idea/**/dataSources.local.xml
378 | **/.idea/**/sqlDataSources.xml
379 | **/.idea/**/dynamic.xml
380 |
381 | # Rider
382 | # Rider auto-generates .iml files, and contentModel.xml
383 | **/.idea/**/*.iml
384 | **/.idea/**/contentModel.xml
385 | **/.idea/**/modules.xml
386 |
387 | # Developer config files
388 | **/appsettings.Development*.json
389 |
390 | src/Fuser/tasks/
391 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # Remove the line below if you want to inherit .editorconfig settings from higher directories
2 | root = true
3 |
4 | #### Core EditorConfig Options ####
5 |
6 | # All files
7 | [*]
8 | charset = utf-8
9 | indent_style = space
10 | indent_size = 2
11 | tab_width = 2
12 | end_of_line = crlf
13 | trim_trailing_whitespace = true
14 | insert_final_newline = true
15 | spelling_exclusion_path = exclusion.dic
16 |
17 | # bash scripts
18 | [*.{sh,bash}]
19 | end_of_line = lf
20 |
21 | # C# and VB files
22 | [*.{cs,vb}]
23 | indent_size = 4
24 | tab_width = 4
25 | charset = utf-8-bom
26 |
27 | #### .NET Code Actions ####
28 |
29 | # Type members
30 | dotnet_hide_advanced_members = false
31 | dotnet_member_insertion_location = with_other_members_of_the_same_kind
32 | dotnet_property_generation_behavior = prefer_throwing_properties
33 |
34 | # Symbol search
35 | dotnet_search_reference_assemblies = true
36 |
37 | #### .NET Coding Conventions ####
38 |
39 | # Organize usings
40 | dotnet_separate_import_directive_groups = false
41 | dotnet_sort_system_directives_first = false
42 | file_header_template = unset
43 |
44 | # this. and Me. preferences
45 | dotnet_style_qualification_for_field = false:silent
46 | dotnet_style_qualification_for_property = false:silent
47 | dotnet_style_qualification_for_method = false:silent
48 | dotnet_style_qualification_for_event = false:silent
49 |
50 | # Language keywords vs BCL types preferences
51 | dotnet_style_predefined_type_for_locals_parameters_members = true:silent
52 | dotnet_style_predefined_type_for_member_access = true:silent
53 |
54 | # Parentheses preferences
55 | dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
56 | dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
57 | dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
58 | dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
59 |
60 | # Modifier preferences
61 | dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
62 |
63 | # Expression-level preferences
64 | dotnet_prefer_system_hash_code = true
65 | dotnet_style_coalesce_expression = true:suggestion
66 | dotnet_style_collection_initializer = true:silent
67 | dotnet_style_explicit_tuple_names = true:suggestion
68 | dotnet_style_namespace_match_folder = true:silent
69 | dotnet_style_null_propagation = true:suggestion
70 | dotnet_style_object_initializer = true:silent
71 | dotnet_style_operator_placement_when_wrapping = beginning_of_line
72 | dotnet_style_prefer_auto_properties = true:silent
73 | dotnet_style_prefer_collection_expression = when_types_loosely_match:silent
74 | dotnet_style_prefer_compound_assignment = true:suggestion
75 | dotnet_style_prefer_conditional_expression_over_assignment = true:silent
76 | dotnet_style_prefer_conditional_expression_over_return = true:silent
77 | dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed
78 | dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
79 | dotnet_style_prefer_inferred_tuple_names = true:suggestion
80 | dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
81 | dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
82 | dotnet_style_prefer_simplified_interpolation = true:suggestion
83 |
84 | # Field preferences
85 | dotnet_style_readonly_field = true:suggestion
86 |
87 | # Parameter preferences
88 | dotnet_code_quality_unused_parameters = all:suggestion
89 |
90 | # Suppression preferences
91 | dotnet_remove_unnecessary_suppression_exclusions = none
92 |
93 | # New line preferences
94 | dotnet_style_allow_multiple_blank_lines_experimental = true:silent
95 | dotnet_style_allow_statement_immediately_after_block_experimental = true:silent
96 |
97 | #### Naming styles ####
98 |
99 | # Naming rules
100 |
101 | dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
102 | dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
103 | dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
104 |
105 | dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
106 | dotnet_naming_rule.types_should_be_pascal_case.symbols = types
107 | dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
108 |
109 | dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
110 | dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
111 | dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
112 |
113 | dotnet_naming_rule.private_or_internal_field_should_be__fieldname.severity = suggestion
114 | dotnet_naming_rule.private_or_internal_field_should_be__fieldname.symbols = private_or_internal_field
115 | dotnet_naming_rule.private_or_internal_field_should_be__fieldname.style = _fieldname
116 |
117 | dotnet_naming_rule.public_field_should_be_pascal_case.severity = suggestion
118 | dotnet_naming_rule.public_field_should_be_pascal_case.symbols = public_field
119 | dotnet_naming_rule.public_field_should_be_pascal_case.style = pascal_case
120 |
121 | # Symbol specifications
122 |
123 | dotnet_naming_symbols.interface.applicable_kinds = interface
124 | dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
125 | dotnet_naming_symbols.interface.required_modifiers =
126 |
127 | dotnet_naming_symbols.private_or_internal_field.applicable_kinds = field
128 | dotnet_naming_symbols.private_or_internal_field.applicable_accessibilities = internal, private, private_protected
129 | dotnet_naming_symbols.private_or_internal_field.required_modifiers =
130 |
131 | dotnet_naming_symbols.public_field.applicable_kinds = field
132 | dotnet_naming_symbols.public_field.applicable_accessibilities = public
133 | dotnet_naming_symbols.public_field.required_modifiers =
134 |
135 | dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
136 | dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
137 | dotnet_naming_symbols.types.required_modifiers =
138 |
139 | dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
140 | dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
141 | dotnet_naming_symbols.non_field_members.required_modifiers =
142 |
143 | # Naming styles
144 |
145 | dotnet_naming_style.pascal_case.required_prefix =
146 | dotnet_naming_style.pascal_case.required_suffix =
147 | dotnet_naming_style.pascal_case.word_separator =
148 | dotnet_naming_style.pascal_case.capitalization = pascal_case
149 |
150 | dotnet_naming_style.begins_with_i.required_prefix = I
151 | dotnet_naming_style.begins_with_i.required_suffix =
152 | dotnet_naming_style.begins_with_i.word_separator =
153 | dotnet_naming_style.begins_with_i.capitalization = pascal_case
154 |
155 | dotnet_naming_style._fieldname.required_prefix = _
156 | dotnet_naming_style._fieldname.required_suffix =
157 | dotnet_naming_style._fieldname.word_separator =
158 | dotnet_naming_style._fieldname.capitalization = camel_case
159 |
160 | # Analyzers
161 |
162 | dotnet_diagnostic.CA2211.severity = silent
163 |
164 | # C# files
165 | [*.cs]
166 |
167 | #### C# Coding Conventions ####
168 |
169 | # var preferences
170 | csharp_style_var_elsewhere = true:silent
171 | csharp_style_var_for_built_in_types = true:silent
172 | csharp_style_var_when_type_is_apparent = true:silent
173 |
174 | # Expression-bodied members
175 | csharp_style_expression_bodied_accessors = true:silent
176 | csharp_style_expression_bodied_constructors = false:silent
177 | csharp_style_expression_bodied_indexers = true:silent
178 | csharp_style_expression_bodied_lambdas = true:silent
179 | csharp_style_expression_bodied_local_functions = false:silent
180 | csharp_style_expression_bodied_methods = false:silent
181 | csharp_style_expression_bodied_operators = false:silent
182 | csharp_style_expression_bodied_properties = true:silent
183 |
184 | # Pattern matching preferences
185 | csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
186 | csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
187 | csharp_style_prefer_extended_property_pattern = true:suggestion
188 | csharp_style_prefer_not_pattern = true:suggestion
189 | csharp_style_prefer_pattern_matching = true:silent
190 | csharp_style_prefer_switch_expression = true:suggestion
191 |
192 | # Null-checking preferences
193 | csharp_style_conditional_delegate_call = true:suggestion
194 |
195 | # Modifier preferences
196 | csharp_prefer_static_anonymous_function = true:suggestion
197 | csharp_prefer_static_local_function = true:suggestion
198 | csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async
199 | csharp_style_prefer_readonly_struct = true:suggestion
200 | csharp_style_prefer_readonly_struct_member = true:suggestion
201 |
202 | # Code-block preferences
203 | csharp_prefer_braces = true:silent
204 | csharp_prefer_simple_using_statement = true:silent
205 | csharp_prefer_system_threading_lock = true:suggestion
206 | csharp_style_namespace_declarations = file_scoped:silent
207 | csharp_style_prefer_method_group_conversion = true:silent
208 | csharp_style_prefer_primary_constructors = true:silent
209 | csharp_style_prefer_top_level_statements = true:silent
210 |
211 | # Expression-level preferences
212 | csharp_prefer_simple_default_expression = true:suggestion
213 | csharp_style_deconstructed_variable_declaration = true:suggestion
214 | csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
215 | csharp_style_inlined_variable_declaration = true:suggestion
216 | csharp_style_prefer_index_operator = true:suggestion
217 | csharp_style_prefer_local_over_anonymous_function = true:suggestion
218 | csharp_style_prefer_null_check_over_type_check = true:suggestion
219 | csharp_style_prefer_range_operator = true:suggestion
220 | csharp_style_prefer_tuple_swap = true:suggestion
221 | csharp_style_prefer_utf8_string_literals = true:suggestion
222 | csharp_style_throw_expression = true:suggestion
223 | csharp_style_unused_value_assignment_preference = discard_variable:suggestion
224 | csharp_style_unused_value_expression_statement_preference = discard_variable:silent
225 |
226 | # 'using' directive preferences
227 | csharp_using_directive_placement = outside_namespace:silent
228 |
229 | # New line preferences
230 | csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true:silent
231 | csharp_style_allow_blank_line_after_token_in_arrow_expression_clause_experimental = true:silent
232 | csharp_style_allow_blank_line_after_token_in_conditional_expression_experimental = true:silent
233 | csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true:silent
234 | csharp_style_allow_embedded_statements_on_same_line_experimental = true:silent
235 |
236 | #### C# Formatting Rules ####
237 |
238 | # New line preferences
239 | csharp_new_line_before_catch = true
240 | csharp_new_line_before_else = true
241 | csharp_new_line_before_finally = true
242 | csharp_new_line_before_members_in_anonymous_types = true
243 | csharp_new_line_before_members_in_object_initializers = true
244 | csharp_new_line_before_open_brace = all
245 | csharp_new_line_between_query_expression_clauses = true
246 |
247 | # Indentation preferences
248 | csharp_indent_block_contents = true
249 | csharp_indent_braces = false
250 | csharp_indent_case_contents = true
251 | csharp_indent_case_contents_when_block = true
252 | csharp_indent_labels = one_less_than_current
253 | csharp_indent_switch_labels = true
254 |
255 | # Space preferences
256 | csharp_space_after_cast = false
257 | csharp_space_after_colon_in_inheritance_clause = true
258 | csharp_space_after_comma = true
259 | csharp_space_after_dot = false
260 | csharp_space_after_keywords_in_control_flow_statements = true
261 | csharp_space_after_semicolon_in_for_statement = true
262 | csharp_space_around_binary_operators = before_and_after
263 | csharp_space_around_declaration_statements = false
264 | csharp_space_before_colon_in_inheritance_clause = true
265 | csharp_space_before_comma = false
266 | csharp_space_before_dot = false
267 | csharp_space_before_open_square_brackets = false
268 | csharp_space_before_semicolon_in_for_statement = false
269 | csharp_space_between_empty_square_brackets = false
270 | csharp_space_between_method_call_empty_parameter_list_parentheses = false
271 | csharp_space_between_method_call_name_and_opening_parenthesis = false
272 | csharp_space_between_method_call_parameter_list_parentheses = false
273 | csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
274 | csharp_space_between_method_declaration_name_and_open_parenthesis = false
275 | csharp_space_between_method_declaration_parameter_list_parentheses = false
276 | csharp_space_between_parentheses = false
277 | csharp_space_between_square_brackets = false
278 |
279 | # Wrapping preferences
280 | csharp_preserve_single_line_blocks = true
281 | csharp_preserve_single_line_statements = true
282 |
283 |
--------------------------------------------------------------------------------