├── README.md
├── Blazm.VSIX
├── Resources
│ └── RoutingToolWindowCommand.png
├── Routing
│ ├── RoutingItem.cs
│ ├── RoutingWindow.cs
│ ├── RoutingWindowControl.xaml
│ ├── ProvideToolboxControlAttribute.cs
│ ├── RoutingWindowControl.xaml.cs
│ └── RoutingWindowCommand.cs
├── Properties
│ └── AssemblyInfo.cs
├── source.extension.vsixmanifest
├── BlazmVSIX.sln
├── BlazmVSIXPackage.cs
├── BlazmVSIXPackage.vsct
└── BlazmVSIX.csproj
└── .gitignore
/README.md:
--------------------------------------------------------------------------------
1 | # Blazm.VSIX
2 | VS Extension
3 |
--------------------------------------------------------------------------------
/Blazm.VSIX/Resources/RoutingToolWindowCommand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/EngstromJimmy/Blazm.VSIX/main/Blazm.VSIX/Resources/RoutingToolWindowCommand.png
--------------------------------------------------------------------------------
/Blazm.VSIX/Routing/RoutingItem.cs:
--------------------------------------------------------------------------------
1 | namespace BlazmVSIX
2 | {
3 | public partial class RoutingWindowControl
4 | {
5 | public class RoutingItem
6 | {
7 | public string Name { get; set; }
8 | public string Content { get; set; }
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/Blazm.VSIX/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("BlazmVSIX")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("BlazmVSIX")]
13 | [assembly: AssemblyCopyright("")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // Version information for an assembly consists of the following four values:
23 | //
24 | // Major Version
25 | // Minor Version
26 | // Build Number
27 | // Revision
28 | //
29 | // You can specify all the values or you can default the Build and Revision Numbers
30 | // by using the '*' as shown below:
31 | // [assembly: AssemblyVersion("1.0.*")]
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/Blazm.VSIX/Routing/RoutingWindow.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.VisualStudio.Shell;
2 | using System;
3 | using System.Runtime.InteropServices;
4 |
5 | namespace BlazmVSIX
6 | {
7 | ///
8 | /// This class implements the tool window exposed by this package and hosts a user control.
9 | ///
10 | ///
11 | /// In Visual Studio tool windows are composed of a frame (implemented by the shell) and a pane,
12 | /// usually implemented by the package implementer.
13 | ///
14 | /// This class derives from the ToolWindowPane class provided from the MPF in order to use its
15 | /// implementation of the IVsUIElementPane interface.
16 | ///
17 | ///
18 | [Guid("eb70ef4f-9898-4e9d-91c3-419ef679d727")]
19 | public class RoutingWindow : ToolWindowPane
20 | {
21 | ///
22 | /// Initializes a new instance of the class.
23 | ///
24 | public RoutingWindow() : base(null)
25 | {
26 | this.Caption = "Blazm - Routing";
27 |
28 | // This is the user control hosted by the tool window; Note that, even if this class implements IDisposable,
29 | // we are not calling Dispose on this object. This is because ToolWindowPane calls Dispose on
30 | // the object returned by the Content property.
31 | this.Content = new RoutingWindowControl();
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Blazm.VSIX/source.extension.vsixmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Blazm Extensions
6 | Extensions for Blazor development
7 |
8 |
9 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Blazm.VSIX/BlazmVSIX.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.0.31521.260
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazmVSIX", "BlazmVSIX.csproj", "{DE01275C-F8A7-40AF-AAA3-F77CDE045D62}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Debug|x86 = Debug|x86
12 | Release|Any CPU = Release|Any CPU
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}.Debug|x86.ActiveCfg = Debug|x86
19 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}.Debug|x86.Build.0 = Debug|x86
20 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}.Release|x86.ActiveCfg = Release|x86
23 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}.Release|x86.Build.0 = Release|x86
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {270E9D5F-8F71-470C-934A-F2109B7F0A5C}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/Blazm.VSIX/Routing/RoutingWindowControl.xaml:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | Blazm - Routing
19 |
20 |
21 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/Blazm.VSIX/BlazmVSIXPackage.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.VisualStudio.Shell;
2 | using System;
3 | using System.Runtime.InteropServices;
4 | using System.Threading;
5 | using Task = System.Threading.Tasks.Task;
6 |
7 | namespace BlazmVSIX
8 | {
9 | ///
10 | /// This is the class that implements the package exposed by this assembly.
11 | ///
12 | ///
13 | ///
14 | /// The minimum requirement for a class to be considered a valid package for Visual Studio
15 | /// is to implement the IVsPackage interface and register itself with the shell.
16 | /// This package uses the helper classes defined inside the Managed Package Framework (MPF)
17 | /// to do it: it derives from the Package class that provides the implementation of the
18 | /// IVsPackage interface and uses the registration attributes defined in the framework to
19 | /// register itself and its components with the shell. These attributes tell the pkgdef creation
20 | /// utility what data to put into .pkgdef file.
21 | ///
22 | ///
23 | /// To get loaded into VS, the package must be referred by <Asset Type="Microsoft.VisualStudio.VsPackage" ...> in .vsixmanifest file.
24 | ///
25 | ///
26 | [PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
27 | [Guid(BlazmVSIXPackage.PackageGuidString)]
28 | [ProvideMenuResource("Menus.ctmenu", 1)]
29 | [ProvideToolWindow(typeof(RoutingWindow))]
30 | public sealed class BlazmVSIXPackage : AsyncPackage
31 | {
32 | ///
33 | /// BlazmVSIXPackage GUID string.
34 | ///
35 | public const string PackageGuidString = "e0e3ae8f-2521-42c7-b145-9a46df34f9bc";
36 |
37 | #region Package Members
38 |
39 | ///
40 | /// Initialization of the package; this method is called right after the package is sited, so this is the place
41 | /// where you can put all the initialization code that rely on services provided by VisualStudio.
42 | ///
43 | /// A cancellation token to monitor for initialization cancellation, which can occur when VS is shutting down.
44 | /// A provider for progress updates.
45 | /// A task representing the async work of package initialization, or an already completed task if there is none. Do not return null from this method.
46 | protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress progress)
47 | {
48 | // When initialized asynchronously, the current thread may be a background thread at this point.
49 | // Do any initialization that requires the UI thread after switching to the UI thread.
50 | await this.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
51 | await RoutingWindowCommand.InitializeAsync(this);
52 | }
53 |
54 | #endregion
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/Blazm.VSIX/Routing/ProvideToolboxControlAttribute.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.VisualStudio.Shell;
2 | using System;
3 | using System.Globalization;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace BlazmVSIX
7 | {
8 | ///
9 | /// This attribute adds a ToolboxControlsInstaller key for the assembly to install toolbox controls from the assembly.
10 | ///
11 | ///
12 | /// For example
13 | /// [$(Rootkey)\ToolboxControlsInstaller\$FullAssemblyName$]
14 | /// "Codebase"="$path$"
15 | /// "WpfControls"="1"
16 | ///
17 | [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
18 | [ComVisible(false)]
19 | public sealed class ProvideToolboxControlAttribute : RegistrationAttribute
20 | {
21 | private const string ToolboxControlsInstallerPath = "ToolboxControlsInstaller";
22 | private readonly string name;
23 | private readonly bool areWPFControls;
24 |
25 | ///
26 | /// Creates a new ProvideToolboxControl attribute to register the assembly for toolbox controls installer.
27 | ///
28 | /// The name of the toolbox controls.
29 | /// Indicates whether the toolbox controls are WPF controls.
30 | public ProvideToolboxControlAttribute(string name, bool areWPFControls)
31 | {
32 | this.name = name ?? throw new ArgumentNullException(nameof(name));
33 | this.areWPFControls = areWPFControls;
34 | }
35 |
36 | ///
37 | /// Called to register this attribute with the given context. The context
38 | /// contains the location where the registration information should be placed.
39 | /// It also contains other information such as the type being registered and path information.
40 | ///
41 | /// Given context to register in.
42 | public override void Register(RegistrationContext context)
43 | {
44 | if (context == null)
45 | {
46 | throw new ArgumentNullException(nameof(context));
47 | }
48 |
49 | using (Key key = context.CreateKey(string.Format(CultureInfo.InvariantCulture, "{0}\\{1}",
50 | ToolboxControlsInstallerPath,
51 | context.ComponentType.Assembly.FullName)))
52 | {
53 | key.SetValue(string.Empty, this.name);
54 | key.SetValue("Codebase", context.CodeBase);
55 | if (this.areWPFControls)
56 | {
57 | key.SetValue("WPFControls", "1");
58 | }
59 | }
60 | }
61 |
62 | ///
63 | /// Called to unregister this attribute with the given context.
64 | ///
65 | /// A registration context provided by an external registration tool.
66 | /// The context can be used to remove registry keys, log registration activity, and obtain information
67 | /// about the component being registered.
68 | public override void Unregister(RegistrationContext context)
69 | {
70 | if (context != null)
71 | {
72 | context.RemoveKey(string.Format(CultureInfo.InvariantCulture, "{0}\\{1}",
73 | ToolboxControlsInstallerPath,
74 | context.ComponentType.Assembly.FullName));
75 | }
76 | }
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/Blazm.VSIX/Routing/RoutingWindowControl.xaml.cs:
--------------------------------------------------------------------------------
1 | using EnvDTE;
2 | using Microsoft.VisualStudio.Package;
3 | using Microsoft.VisualStudio.Shell;
4 | using Microsoft.VisualStudio.Shell.Interop;
5 | using System;
6 | using System.Collections.Generic;
7 | using System.Collections.ObjectModel;
8 | using System.Diagnostics.CodeAnalysis;
9 | using System.IO;
10 | using System.Windows;
11 | using System.Windows.Controls;
12 |
13 | namespace BlazmVSIX
14 | {
15 | public partial class RoutingWindowControl : UserControl
16 | {
17 | public RoutingWindowControl()
18 | {
19 | InitializeComponent();
20 | ThreadHelper.ThrowIfNotOnUIThread();
21 | if (ServiceProvider.GlobalProvider.GetService(typeof(DTE)) is DTE service)
22 | {
23 | dte = service;
24 | Load();
25 | }
26 | }
27 |
28 | private readonly DTE dte;
29 |
30 | private void Load()
31 | {
32 | ThreadHelper.ThrowIfNotOnUIThread();
33 | Array _projects = dte.ActiveSolutionProjects as Array;
34 | RoutingDataList.Clear();
35 | if (_projects.Length != 0 && _projects != null)
36 | {
37 | foreach (Project project in _projects)
38 | {
39 | //get the project path
40 | string _directoryPath = new FileInfo(project.FullName).DirectoryName;
41 | string rowText;
42 | string[] razorFiles = Directory.GetFiles(_directoryPath,"*.razor", SearchOption.AllDirectories);
43 |
44 | foreach (string file in razorFiles)
45 | {
46 | using (StreamReader sr = new StreamReader(file))
47 | {
48 | int row = 0;
49 | while (sr.Peek() >= 0)
50 | {
51 | rowText = sr.ReadLine();
52 |
53 | if (rowText.Contains("@page") && !rowText.StartsWith("@*"))
54 | {
55 | string content = rowText.Replace("@page", "").Replace("\"", "").Trim();
56 | RoutingDataList.Add(new RoutingItem() { Name = file, Content = content });
57 | }
58 | else if (row > 5)
59 | {
60 | break;
61 | }
62 |
63 | row++;
64 | }
65 | }
66 |
67 | }
68 | }
69 | }
70 | else
71 | {
72 | RoutingDataList.Add(new RoutingItem() { Name = "No Project in solution or selected" });
73 | }
74 | RoutingGrid.ItemsSource = RoutingDataList;
75 | }
76 |
77 | public ObservableCollection RoutingDataList { get; set; } = new ObservableCollection();
78 |
79 | private void RefreshButton_Click(object sender, RoutedEventArgs e)
80 | {
81 | Load();
82 | }
83 |
84 | private void RoutingGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
85 | {
86 | if (!(ItemsControl.ContainerFromElement((DataGrid)sender, e.OriginalSource as DependencyObject) is DataGridRow row))
87 | {
88 | return;
89 | }
90 |
91 | RoutingItem item = (RoutingItem)row.DataContext;
92 | ThreadHelper.ThrowIfNotOnUIThread();
93 | _ = dte.ItemOperations.OpenFile(item.Name);
94 | }
95 | }
96 | }
--------------------------------------------------------------------------------
/Blazm.VSIX/Routing/RoutingWindowCommand.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.VisualStudio.Shell;
2 | using Microsoft.VisualStudio.Shell.Interop;
3 | using System;
4 | using System.ComponentModel.Design;
5 | using System.Globalization;
6 | using System.Threading;
7 | using System.Threading.Tasks;
8 | using Task = System.Threading.Tasks.Task;
9 |
10 | namespace BlazmVSIX
11 | {
12 | ///
13 | /// Command handler
14 | ///
15 | internal sealed class RoutingWindowCommand
16 | {
17 | ///
18 | /// Command ID.
19 | ///
20 | public const int CommandId = 0x0100;
21 |
22 | ///
23 | /// Command menu group (command set GUID).
24 | ///
25 | public static readonly Guid CommandSet = new Guid("17f2c6c7-f807-45b9-95a2-8340b71128c4");
26 |
27 | ///
28 | /// VS Package that provides this command, not null.
29 | ///
30 | private readonly AsyncPackage package;
31 |
32 | ///
33 | /// Initializes a new instance of the class.
34 | /// Adds our command handlers for menu (commands must exist in the command table file)
35 | ///
36 | /// Owner package, not null.
37 | /// Command service to add command to, not null.
38 | private RoutingWindowCommand(AsyncPackage package, OleMenuCommandService commandService)
39 | {
40 | this.package = package ?? throw new ArgumentNullException(nameof(package));
41 | commandService = commandService ?? throw new ArgumentNullException(nameof(commandService));
42 |
43 | var menuCommandID = new CommandID(CommandSet, CommandId);
44 | var menuItem = new MenuCommand(this.Execute, menuCommandID);
45 | commandService.AddCommand(menuItem);
46 | }
47 |
48 | ///
49 | /// Gets the instance of the command.
50 | ///
51 | public static RoutingWindowCommand Instance
52 | {
53 | get;
54 | private set;
55 | }
56 |
57 | ///
58 | /// Gets the service provider from the owner package.
59 | ///
60 | private Microsoft.VisualStudio.Shell.IAsyncServiceProvider ServiceProvider
61 | {
62 | get
63 | {
64 | return this.package;
65 | }
66 | }
67 |
68 | ///
69 | /// Initializes the singleton instance of the command.
70 | ///
71 | /// Owner package, not null.
72 | public static async Task InitializeAsync(AsyncPackage package)
73 | {
74 | // Switch to the main thread - the call to AddCommand in ToolWindow1Command's constructor requires
75 | // the UI thread.
76 | await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(package.DisposalToken);
77 |
78 | OleMenuCommandService commandService = await package.GetServiceAsync(typeof(IMenuCommandService)) as OleMenuCommandService;
79 | Instance = new RoutingWindowCommand(package, commandService);
80 | }
81 |
82 | ///
83 | /// Shows the tool window when the menu item is clicked.
84 | ///
85 | /// The event sender.
86 | /// The event args.
87 | private void Execute(object sender, EventArgs e)
88 | {
89 | ThreadHelper.ThrowIfNotOnUIThread();
90 |
91 | // Get the instance number 0 of this tool window. This window is single instance so this instance
92 | // is actually the only one.
93 | // The last flag is set to true so that if the tool window does not exists it will be created.
94 | ToolWindowPane window = this.package.FindToolWindow(typeof(RoutingWindow), 0, true);
95 | if ((null == window) || (null == window.Frame))
96 | {
97 | throw new NotSupportedException("Cannot create tool window");
98 | }
99 |
100 | IVsWindowFrame windowFrame = (IVsWindowFrame)window.Frame;
101 | Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(windowFrame.Show());
102 | }
103 | }
104 | }
105 |
--------------------------------------------------------------------------------
/Blazm.VSIX/BlazmVSIXPackage.vsct:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
25 |
26 |
27 |
28 |
35 |
36 |
37 |
38 |
41 |
42 |
43 |
44 |
46 |
47 |
54 |
55 |
56 |
57 |
58 |
59 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/Blazm.VSIX/BlazmVSIX.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 17.0
5 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
6 |
7 |
8 |
9 | Debug
10 | AnyCPU
11 | 2.0
12 | {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
13 | {DE01275C-F8A7-40AF-AAA3-F77CDE045D62}
14 | Library
15 | Properties
16 | BlazmVSIX
17 | BlazmVSIX
18 | v4.7.2
19 | true
20 | true
21 | true
22 | false
23 | false
24 | true
25 | true
26 | Program
27 | $(DevEnvDir)devenv.exe
28 | /rootsuffix Exp
29 |
30 |
31 | true
32 | full
33 | false
34 | bin\Debug\
35 | DEBUG;TRACE
36 | prompt
37 | 4
38 |
39 |
40 | pdbonly
41 | true
42 | bin\Release\
43 | TRACE
44 | prompt
45 | 4
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | RoutingWindowControl.xaml
56 |
57 |
58 |
59 |
60 | Designer
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 | Designer
84 | MSBuild:Compile
85 |
86 |
87 |
88 |
89 | Menus.ctmenu
90 |
91 |
92 |
93 |
94 |
95 |
102 |
--------------------------------------------------------------------------------
/.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 | [Aa][Rr][Mm]/
27 | [Aa][Rr][Mm]64/
28 | bld/
29 | [Bb]in/
30 | [Oo]bj/
31 | [Ll]og/
32 | [Ll]ogs/
33 |
34 | # Visual Studio 2015/2017 cache/options directory
35 | .vs/
36 | # Uncomment if you have tasks that create the project's static files in wwwroot
37 | #wwwroot/
38 |
39 | # Visual Studio 2017 auto generated files
40 | Generated\ Files/
41 |
42 | # MSTest test Results
43 | [Tt]est[Rr]esult*/
44 | [Bb]uild[Ll]og.*
45 |
46 | # NUnit
47 | *.VisualState.xml
48 | TestResult.xml
49 | nunit-*.xml
50 |
51 | # Build Results of an ATL Project
52 | [Dd]ebugPS/
53 | [Rr]eleasePS/
54 | dlldata.c
55 |
56 | # Benchmark Results
57 | BenchmarkDotNet.Artifacts/
58 |
59 | # .NET Core
60 | project.lock.json
61 | project.fragment.lock.json
62 | artifacts/
63 |
64 | # StyleCop
65 | StyleCopReport.xml
66 |
67 | # Files built by Visual Studio
68 | *_i.c
69 | *_p.c
70 | *_h.h
71 | *.ilk
72 | *.meta
73 | *.obj
74 | *.iobj
75 | *.pch
76 | *.pdb
77 | *.ipdb
78 | *.pgc
79 | *.pgd
80 | *.rsp
81 | *.sbr
82 | *.tlb
83 | *.tli
84 | *.tlh
85 | *.tmp
86 | *.tmp_proj
87 | *_wpftmp.csproj
88 | *.log
89 | *.vspscc
90 | *.vssscc
91 | .builds
92 | *.pidb
93 | *.svclog
94 | *.scc
95 |
96 | # Chutzpah Test files
97 | _Chutzpah*
98 |
99 | # Visual C++ cache files
100 | ipch/
101 | *.aps
102 | *.ncb
103 | *.opendb
104 | *.opensdf
105 | *.sdf
106 | *.cachefile
107 | *.VC.db
108 | *.VC.VC.opendb
109 |
110 | # Visual Studio profiler
111 | *.psess
112 | *.vsp
113 | *.vspx
114 | *.sap
115 |
116 | # Visual Studio Trace Files
117 | *.e2e
118 |
119 | # TFS 2012 Local Workspace
120 | $tf/
121 |
122 | # Guidance Automation Toolkit
123 | *.gpState
124 |
125 | # ReSharper is a .NET coding add-in
126 | _ReSharper*/
127 | *.[Rr]e[Ss]harper
128 | *.DotSettings.user
129 |
130 | # TeamCity is a build add-in
131 | _TeamCity*
132 |
133 | # DotCover is a Code Coverage Tool
134 | *.dotCover
135 |
136 | # AxoCover is a Code Coverage Tool
137 | .axoCover/*
138 | !.axoCover/settings.json
139 |
140 | # Visual Studio code coverage results
141 | *.coverage
142 | *.coveragexml
143 |
144 | # NCrunch
145 | _NCrunch_*
146 | .*crunch*.local.xml
147 | nCrunchTemp_*
148 |
149 | # MightyMoose
150 | *.mm.*
151 | AutoTest.Net/
152 |
153 | # Web workbench (sass)
154 | .sass-cache/
155 |
156 | # Installshield output folder
157 | [Ee]xpress/
158 |
159 | # DocProject is a documentation generator add-in
160 | DocProject/buildhelp/
161 | DocProject/Help/*.HxT
162 | DocProject/Help/*.HxC
163 | DocProject/Help/*.hhc
164 | DocProject/Help/*.hhk
165 | DocProject/Help/*.hhp
166 | DocProject/Help/Html2
167 | DocProject/Help/html
168 |
169 | # Click-Once directory
170 | publish/
171 |
172 | # Publish Web Output
173 | *.[Pp]ublish.xml
174 | *.azurePubxml
175 | # Note: Comment the next line if you want to checkin your web deploy settings,
176 | # but database connection strings (with potential passwords) will be unencrypted
177 | *.pubxml
178 | *.publishproj
179 |
180 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
181 | # checkin your Azure Web App publish settings, but sensitive information contained
182 | # in these scripts will be unencrypted
183 | PublishScripts/
184 |
185 | # NuGet Packages
186 | *.nupkg
187 | # NuGet Symbol Packages
188 | *.snupkg
189 | # The packages folder can be ignored because of Package Restore
190 | **/[Pp]ackages/*
191 | # except build/, which is used as an MSBuild target.
192 | !**/[Pp]ackages/build/
193 | # Uncomment if necessary however generally it will be regenerated when needed
194 | #!**/[Pp]ackages/repositories.config
195 | # NuGet v3's project.json files produces more ignorable files
196 | *.nuget.props
197 | *.nuget.targets
198 |
199 | # Microsoft Azure Build Output
200 | csx/
201 | *.build.csdef
202 |
203 | # Microsoft Azure Emulator
204 | ecf/
205 | rcf/
206 |
207 | # Windows Store app package directories and files
208 | AppPackages/
209 | BundleArtifacts/
210 | Package.StoreAssociation.xml
211 | _pkginfo.txt
212 | *.appx
213 | *.appxbundle
214 | *.appxupload
215 |
216 | # Visual Studio cache files
217 | # files ending in .cache can be ignored
218 | *.[Cc]ache
219 | # but keep track of directories ending in .cache
220 | !?*.[Cc]ache/
221 |
222 | # Others
223 | ClientBin/
224 | ~$*
225 | *~
226 | *.dbmdl
227 | *.dbproj.schemaview
228 | *.jfm
229 | *.pfx
230 | *.publishsettings
231 | orleans.codegen.cs
232 |
233 | # Including strong name files can present a security risk
234 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
235 | #*.snk
236 |
237 | # Since there are multiple workflows, uncomment next line to ignore bower_components
238 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
239 | #bower_components/
240 |
241 | # RIA/Silverlight projects
242 | Generated_Code/
243 |
244 | # Backup & report files from converting an old project file
245 | # to a newer Visual Studio version. Backup files are not needed,
246 | # because we have git ;-)
247 | _UpgradeReport_Files/
248 | Backup*/
249 | UpgradeLog*.XML
250 | UpgradeLog*.htm
251 | ServiceFabricBackup/
252 | *.rptproj.bak
253 |
254 | # SQL Server files
255 | *.mdf
256 | *.ldf
257 | *.ndf
258 |
259 | # Business Intelligence projects
260 | *.rdl.data
261 | *.bim.layout
262 | *.bim_*.settings
263 | *.rptproj.rsuser
264 | *- [Bb]ackup.rdl
265 | *- [Bb]ackup ([0-9]).rdl
266 | *- [Bb]ackup ([0-9][0-9]).rdl
267 |
268 | # Microsoft Fakes
269 | FakesAssemblies/
270 |
271 | # GhostDoc plugin setting file
272 | *.GhostDoc.xml
273 |
274 | # Node.js Tools for Visual Studio
275 | .ntvs_analysis.dat
276 | node_modules/
277 |
278 | # Visual Studio 6 build log
279 | *.plg
280 |
281 | # Visual Studio 6 workspace options file
282 | *.opt
283 |
284 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
285 | *.vbw
286 |
287 | # Visual Studio LightSwitch build output
288 | **/*.HTMLClient/GeneratedArtifacts
289 | **/*.DesktopClient/GeneratedArtifacts
290 | **/*.DesktopClient/ModelManifest.xml
291 | **/*.Server/GeneratedArtifacts
292 | **/*.Server/ModelManifest.xml
293 | _Pvt_Extensions
294 |
295 | # Paket dependency manager
296 | .paket/paket.exe
297 | paket-files/
298 |
299 | # FAKE - F# Make
300 | .fake/
301 |
302 | # CodeRush personal settings
303 | .cr/personal
304 |
305 | # Python Tools for Visual Studio (PTVS)
306 | __pycache__/
307 | *.pyc
308 |
309 | # Cake - Uncomment if you are using it
310 | # tools/**
311 | # !tools/packages.config
312 |
313 | # Tabs Studio
314 | *.tss
315 |
316 | # Telerik's JustMock configuration file
317 | *.jmconfig
318 |
319 | # BizTalk build output
320 | *.btp.cs
321 | *.btm.cs
322 | *.odx.cs
323 | *.xsd.cs
324 |
325 | # OpenCover UI analysis results
326 | OpenCover/
327 |
328 | # Azure Stream Analytics local run output
329 | ASALocalRun/
330 |
331 | # MSBuild Binary and Structured Log
332 | *.binlog
333 |
334 | # NVidia Nsight GPU debugger configuration file
335 | *.nvuser
336 |
337 | # MFractors (Xamarin productivity tool) working folder
338 | .mfractor/
339 |
340 | # Local History for Visual Studio
341 | .localhistory/
342 |
343 | # BeatPulse healthcheck temp database
344 | healthchecksdb
345 |
346 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
347 | MigrationBackup/
348 |
349 | # Ionide (cross platform F# VS Code tools) working folder
350 | .ionide/
351 |
--------------------------------------------------------------------------------