├── SpaceMarineCoreFix
├── module.def
├── SpaceMarineCoreFix.vcxproj.filters
├── dllmain.cpp
└── SpaceMarineCoreFix.vcxproj
├── .gitmodules
├── DetoursBuild
├── DetoursBuild.vcxproj.filters
└── DetoursBuild.vcxproj
├── LICENSE
├── README.md
├── SpaceMarineCoreFix.sln
└── .gitignore
/SpaceMarineCoreFix/module.def:
--------------------------------------------------------------------------------
1 | LIBRARY DINPUT8
2 | EXPORTS
3 | DirectInput8Create
4 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "External/Detours"]
2 | path = External/Detours
3 | url = https://github.com/microsoft/Detours.git
4 |
--------------------------------------------------------------------------------
/DetoursBuild/DetoursBuild.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 Adrian Lebioda
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 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Space Marine Core Fix
2 |
3 | Project inspired by similar fix for Dawn of War 2 ([maximumgame/DOW2CoreFix](https://github.com/maximumgame/DOW2CoreFix)).
4 |
5 | This one however impersonates DirectInput8 DLL to install detours on Windows API functions for querying number of cores and forwards call to original DLL.
6 |
7 | ## Download
8 |
9 | Download **DINPUT8.dll** from [releases](https://github.com/adrian-lebioda/SpaceMarineCoreFix/releases).
10 |
11 | ## Installation
12 |
13 | 1. Download and install [x86 Visual Studio 2022 Redistributable](https://aka.ms/vs/17/release/vc_redist.x86.exe)
14 | 2. Copy **DINPUT8.dll** to the install directory of Space Marine (next to **SpaceMarine.exe**)
15 | 3. Launch game
16 |
17 | ## Limitations
18 |
19 | - This will work only for standard Windows installation in C:\Windows path.
20 | - Tested only on 64bit Windows altough in theory it should work on 32bit too
21 | - Tested only with Space Marine Aniversary Edition from Steam
22 |
23 | ## Building
24 |
25 | Open SpaceMarineCoreFix.sln in Visual Studio 2022 Community and build Release version. Built DLL should be in Release folder in root project directory.
26 |
--------------------------------------------------------------------------------
/SpaceMarineCoreFix/SpaceMarineCoreFix.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 |
23 |
24 | Source Files
25 |
26 |
27 |
--------------------------------------------------------------------------------
/SpaceMarineCoreFix.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.2.32630.192
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SpaceMarineCoreFix", "SpaceMarineCoreFix\SpaceMarineCoreFix.vcxproj", "{494BA35C-823E-4F3D-9AC3-18D1A1CC9480}"
7 | ProjectSection(ProjectDependencies) = postProject
8 | {8B3528B4-2293-413A-8AE3-BBC2F040FF3E} = {8B3528B4-2293-413A-8AE3-BBC2F040FF3E}
9 | EndProjectSection
10 | EndProject
11 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DetoursBuild", "DetoursBuild\DetoursBuild.vcxproj", "{8B3528B4-2293-413A-8AE3-BBC2F040FF3E}"
12 | EndProject
13 | Global
14 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
15 | Debug|x86 = Debug|x86
16 | Release|x86 = Release|x86
17 | EndGlobalSection
18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
19 | {494BA35C-823E-4F3D-9AC3-18D1A1CC9480}.Debug|x86.ActiveCfg = Debug|Win32
20 | {494BA35C-823E-4F3D-9AC3-18D1A1CC9480}.Debug|x86.Build.0 = Debug|Win32
21 | {494BA35C-823E-4F3D-9AC3-18D1A1CC9480}.Release|x86.ActiveCfg = Release|Win32
22 | {494BA35C-823E-4F3D-9AC3-18D1A1CC9480}.Release|x86.Build.0 = Release|Win32
23 | {8B3528B4-2293-413A-8AE3-BBC2F040FF3E}.Debug|x86.ActiveCfg = Debug|Win32
24 | {8B3528B4-2293-413A-8AE3-BBC2F040FF3E}.Debug|x86.Build.0 = Debug|Win32
25 | {8B3528B4-2293-413A-8AE3-BBC2F040FF3E}.Release|x86.ActiveCfg = Release|Win32
26 | {8B3528B4-2293-413A-8AE3-BBC2F040FF3E}.Release|x86.Build.0 = Release|Win32
27 | EndGlobalSection
28 | GlobalSection(SolutionProperties) = preSolution
29 | HideSolutionNode = FALSE
30 | EndGlobalSection
31 | GlobalSection(ExtensibilityGlobals) = postSolution
32 | SolutionGuid = {8F3B8CAD-D372-4A3F-B51D-E0D206CCCAAF}
33 | EndGlobalSection
34 | EndGlobal
35 |
--------------------------------------------------------------------------------
/SpaceMarineCoreFix/dllmain.cpp:
--------------------------------------------------------------------------------
1 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
2 | #define NOMINMAX
3 | #include
4 | #include
5 |
6 | #include
7 |
8 | // Detoured WINAPI methods for checking number of cores
9 | static constexpr DWORD MAX_SUPPORTED_CORES = 12;
10 |
11 | static void(WINAPI* RealGetSystemInfo)(LPSYSTEM_INFO lpSystemInfo) = GetSystemInfo;
12 | static BOOL(WINAPI* RealGetLogicalProcessorInformation)(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION Buffer, PDWORD ReturnedLength) = GetLogicalProcessorInformation;
13 | static FARPROC(WINAPI* RealGetProcAddress)(HMODULE hModule, LPCSTR lpProcName) = GetProcAddress;
14 |
15 | void WINAPI GetSystemInfoDetour(LPSYSTEM_INFO info)
16 | {
17 | RealGetSystemInfo(info);
18 |
19 | //Space Marine will crash if greater than 12 cores
20 | if (info->dwNumberOfProcessors > MAX_SUPPORTED_CORES)
21 | info->dwNumberOfProcessors = MAX_SUPPORTED_CORES;
22 | }
23 |
24 | // GetLogicalProcessorInformation is loaded dynamically trough GetProcAddress GetProcAddress however this is added for consistency
25 | BOOL WINAPI GetLogicalProcessorInformationDetour(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION Buffer, PDWORD ReturnedLength)
26 | {
27 | const auto result = RealGetLogicalProcessorInformation(Buffer, ReturnedLength);
28 | if (result == TRUE && *ReturnedLength > MAX_SUPPORTED_CORES)
29 | {
30 | *ReturnedLength = MAX_SUPPORTED_CORES;
31 | }
32 | return result;
33 | }
34 |
35 | FARPROC WINAPI GetProcAddressDetour(HMODULE hModule, LPCSTR lpProcName)
36 | {
37 | using namespace std::literals;
38 |
39 | // Primitive check if one of our interesting functions is being dynamically loaded from dll
40 | if ("GetSystemInfo"sv == lpProcName)
41 | {
42 | return reinterpret_cast(&GetSystemInfoDetour);
43 | }
44 | else if ("GetLogicalProcessorInformation"sv == lpProcName)
45 | {
46 | return reinterpret_cast(&GetLogicalProcessorInformationDetour);
47 | }
48 | else
49 | {
50 | return RealGetProcAddress(hModule, lpProcName);
51 | }
52 | }
53 |
54 | // Detour initialization
55 | BOOL Init(HINSTANCE hModule)
56 | {
57 | DisableThreadLibraryCalls(hModule);
58 |
59 | DetourTransactionBegin();
60 | DetourUpdateThread(GetCurrentThread());
61 | DetourAttach(&RealGetSystemInfo, &GetSystemInfoDetour);
62 | DetourAttach(&RealGetLogicalProcessorInformation, &GetLogicalProcessorInformationDetour);
63 | DetourTransactionCommit();
64 |
65 | return TRUE;
66 | }
67 |
68 | BOOL APIENTRY DllMain(HMODULE hModule,
69 | DWORD ul_reason_for_call,
70 | LPVOID
71 | )
72 | {
73 | switch (ul_reason_for_call)
74 | {
75 | case DLL_PROCESS_ATTACH:
76 | return Init(hModule);
77 | case DLL_THREAD_ATTACH:
78 | case DLL_THREAD_DETACH:
79 | case DLL_PROCESS_DETACH:
80 | break;
81 | }
82 | return TRUE;
83 | }
84 |
85 | // Export function to impersonate DirectInput8 library
86 | // Original library paths, it will break in case of non standard windows install
87 | #define ORIGINAL_DLL_PATH_64BIT_SYSTEM "C:\\Windows\\SysWOW64\\DINPUT8.dll"
88 | #define ORIGINAL_DLL_PATH_32BIT_SYSTEM "C:\\Windows\\DINPUT8.dll"
89 |
90 | static BOOL Is64BitOS()
91 | {
92 | using IsWow64ProcessFunctionType = BOOL(WINAPI*)(HANDLE, PBOOL);
93 |
94 | const auto isWow64Process = reinterpret_cast(RealGetProcAddress(
95 | GetModuleHandle(TEXT("kernel32")), "IsWow64Process"));
96 |
97 | BOOL is64Bit = FALSE;
98 | if (isWow64Process != NULL)
99 | {
100 | if (!isWow64Process(GetCurrentProcess(), &is64Bit))
101 | {
102 | // Ignore error, it will be propagated later
103 | }
104 | }
105 | return is64Bit;
106 | }
107 |
108 | static const BOOL IS_64BIT_OS = Is64BitOS();
109 |
110 | #include "Unknwn.h"
111 |
112 | using DirectInput8CreateFunctionType = HRESULT(WINAPI*)(HINSTANCE, DWORD, REFIID, LPVOID*, LPUNKNOWN);
113 |
114 | extern "C" HRESULT WINAPI DirectInput8Create(HINSTANCE hinst,
115 | DWORD dwVersion,
116 | REFIID riidltf,
117 | LPVOID * ppvOut,
118 | LPUNKNOWN punkOuter)
119 | {
120 | // Load original DINPUT8.dll and then call DirectInput8Create from it
121 | static HMODULE moduleHandle = LoadLibrary(
122 | IS_64BIT_OS ? TEXT(ORIGINAL_DLL_PATH_64BIT_SYSTEM) : TEXT(ORIGINAL_DLL_PATH_32BIT_SYSTEM)
123 | );
124 |
125 | if (moduleHandle == NULL)
126 | {
127 | if (moduleHandle == NULL)
128 | {
129 | RaiseException(EXCEPTION_INVALID_HANDLE, EXCEPTION_NONCONTINUABLE, 0, NULL);
130 | return E_INVALIDARG;
131 | }
132 | }
133 |
134 | const auto directInput8Create = reinterpret_cast(RealGetProcAddress(moduleHandle, "DirectInput8Create"));
135 | if (directInput8Create == NULL)
136 | {
137 | RaiseException(EXCEPTION_INVALID_HANDLE, EXCEPTION_NONCONTINUABLE, 0, NULL);
138 | return E_INVALIDARG;
139 | }
140 |
141 | return directInput8Create(hinst, dwVersion, riidltf, ppvOut, punkOuter);
142 | }
143 |
--------------------------------------------------------------------------------
/DetoursBuild/DetoursBuild.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 17.0
23 | {8B3528B4-2293-413A-8AE3-BBC2F040FF3E}
24 | Win32Proj
25 | DetoursBuild
26 |
27 |
28 |
29 | Makefile
30 | true
31 | v143
32 |
33 |
34 | Makefile
35 | false
36 | v143
37 |
38 |
39 | Makefile
40 | true
41 | v143
42 |
43 |
44 | Makefile
45 | false
46 | v143
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 | Detours.exe
68 | WIN32;NDEBUG;$(NMakePreprocessorDefinitions)
69 | $(SolutionDir)\External\Detours\include;$(PublicIncludeDirectories)
70 | SET DETOURS_TARGET_PROCESSOR=$(PlatformTarget)
71 | cd ../External/Detours
72 | nmake
73 | SET DETOURS_TARGET_PROCESSOR=$(PlatformTarget)
74 | cd ../External/Detours
75 | nmake clean
76 | nmake
77 | SET DETOURS_TARGET_PROCESSOR=$(PlatformTarget)
78 | cd ../External/Detours
79 | nmake clean
80 |
81 |
82 | Detours.exe
83 | WIN32;_DEBUG;$(NMakePreprocessorDefinitions)
84 | $(SolutionDir)\External\Detours\include;$(PublicIncludeDirectories)
85 | SET DETOURS_TARGET_PROCESSOR=$(PlatformTarget)
86 | cd ../External/Detours
87 | nmake
88 | SET DETOURS_TARGET_PROCESSOR=$(PlatformTarget)
89 | cd ../External/Detours
90 | nmake clean
91 | nmake
92 | SET DETOURS_TARGET_PROCESSOR=$(PlatformTarget)
93 | cd ../External/Detours
94 | nmake clean
95 |
96 |
97 | Detours.exe
98 | _DEBUG;$(NMakePreprocessorDefinitions)
99 |
100 |
101 | Detours.exe
102 | NDEBUG;$(NMakePreprocessorDefinitions)
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
--------------------------------------------------------------------------------
/SpaceMarineCoreFix/SpaceMarineCoreFix.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 16.0
23 | Win32Proj
24 | {494ba35c-823e-4f3d-9ac3-18d1a1cc9480}
25 | SpaceMarineCoreFix
26 | 10.0
27 |
28 |
29 |
30 | DynamicLibrary
31 | true
32 | v143
33 | Unicode
34 |
35 |
36 | DynamicLibrary
37 | false
38 | v143
39 | true
40 | Unicode
41 |
42 |
43 | DynamicLibrary
44 | true
45 | v143
46 | Unicode
47 |
48 |
49 | DynamicLibrary
50 | false
51 | v143
52 | true
53 | Unicode
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | DINPUT8
75 | $(SolutionDir)\External\Detours\include;$(IncludePath)
76 | $(SolutionDir)\External\Detours\lib.X86;$(LibraryPath)
77 |
78 |
79 | DINPUT8
80 | $(SolutionDir)\External\Detours\include;$(IncludePath)
81 | $(SolutionDir)\External\Detours\lib.X86;$(LibraryPath)
82 |
83 |
84 |
85 | Level3
86 | true
87 | WIN32;_DEBUG;SPACEMARINECOREFIX_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
88 | true
89 | NotUsing
90 | pch.h
91 | stdcpp20
92 |
93 |
94 | Windows
95 | true
96 | false
97 | detours.lib;Kernel32.lib;%(AdditionalDependencies)
98 | module.def
99 |
100 |
101 |
102 |
103 | Level3
104 | true
105 | true
106 | true
107 | WIN32;NDEBUG;SPACEMARINECOREFIX_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
108 | true
109 | NotUsing
110 | pch.h
111 | stdcpp20
112 |
113 |
114 | Windows
115 | true
116 | true
117 | true
118 | false
119 | detours.lib;Kernel32.lib;%(AdditionalDependencies)
120 | module.def
121 |
122 |
123 |
124 |
125 | Level3
126 | true
127 | _DEBUG;SPACEMARINECOREFIX_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
128 | true
129 | Use
130 | pch.h
131 |
132 |
133 | Windows
134 | true
135 | false
136 | module.def
137 |
138 |
139 |
140 |
141 | Level3
142 | true
143 | true
144 | true
145 | NDEBUG;SPACEMARINECOREFIX_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
146 | true
147 | Use
148 | pch.h
149 |
150 |
151 | Windows
152 | true
153 | true
154 | true
155 | false
156 | module.def
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudio,c++
2 | # Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudio,c++
3 |
4 | ### C++ ###
5 | # Prerequisites
6 | *.d
7 |
8 | # Compiled Object files
9 | *.slo
10 | *.lo
11 | *.o
12 | *.obj
13 |
14 | # Precompiled Headers
15 | *.gch
16 | *.pch
17 |
18 | # Compiled Dynamic libraries
19 | *.so
20 | *.dylib
21 | *.dll
22 |
23 | # Fortran module files
24 | *.mod
25 | *.smod
26 |
27 | # Compiled Static libraries
28 | *.lai
29 | *.la
30 | *.a
31 | *.lib
32 |
33 | # Executables
34 | *.exe
35 | *.out
36 | *.app
37 |
38 | ### Windows ###
39 | # Windows thumbnail cache files
40 | Thumbs.db
41 | Thumbs.db:encryptable
42 | ehthumbs.db
43 | ehthumbs_vista.db
44 |
45 | # Dump file
46 | *.stackdump
47 |
48 | # Folder config file
49 | [Dd]esktop.ini
50 |
51 | # Recycle Bin used on file shares
52 | $RECYCLE.BIN/
53 |
54 | # Windows Installer files
55 | *.cab
56 | *.msi
57 | *.msix
58 | *.msm
59 | *.msp
60 |
61 | # Windows shortcuts
62 | *.lnk
63 |
64 | ### VisualStudio ###
65 | ## Ignore Visual Studio temporary files, build results, and
66 | ## files generated by popular Visual Studio add-ons.
67 | ##
68 | ## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
69 |
70 | # User-specific files
71 | *.rsuser
72 | *.suo
73 | *.user
74 | *.userosscache
75 | *.sln.docstates
76 |
77 | # User-specific files (MonoDevelop/Xamarin Studio)
78 | *.userprefs
79 |
80 | # Mono auto generated files
81 | mono_crash.*
82 |
83 | # Build results
84 | [Dd]ebug/
85 | [Dd]ebugPublic/
86 | [Rr]elease/
87 | [Rr]eleases/
88 | x64/
89 | x86/
90 | [Ww][Ii][Nn]32/
91 | [Aa][Rr][Mm]/
92 | [Aa][Rr][Mm]64/
93 | bld/
94 | [Bb]in/
95 | [Oo]bj/
96 | [Ll]og/
97 | [Ll]ogs/
98 |
99 | # Visual Studio 2015/2017 cache/options directory
100 | .vs/
101 | # Uncomment if you have tasks that create the project's static files in wwwroot
102 | #wwwroot/
103 |
104 | # Visual Studio 2017 auto generated files
105 | Generated\ Files/
106 |
107 | # MSTest test Results
108 | [Tt]est[Rr]esult*/
109 | [Bb]uild[Ll]og.*
110 |
111 | # NUnit
112 | *.VisualState.xml
113 | TestResult.xml
114 | nunit-*.xml
115 |
116 | # Build Results of an ATL Project
117 | [Dd]ebugPS/
118 | [Rr]eleasePS/
119 | dlldata.c
120 |
121 | # Benchmark Results
122 | BenchmarkDotNet.Artifacts/
123 |
124 | # .NET Core
125 | project.lock.json
126 | project.fragment.lock.json
127 | artifacts/
128 |
129 | # ASP.NET Scaffolding
130 | ScaffoldingReadMe.txt
131 |
132 | # StyleCop
133 | StyleCopReport.xml
134 |
135 | # Files built by Visual Studio
136 | *_i.c
137 | *_p.c
138 | *_h.h
139 | *.ilk
140 | *.meta
141 | *.iobj
142 | *.pdb
143 | *.ipdb
144 | *.pgc
145 | *.pgd
146 | *.rsp
147 | *.sbr
148 | *.tlb
149 | *.tli
150 | *.tlh
151 | *.tmp
152 | *.tmp_proj
153 | *_wpftmp.csproj
154 | *.log
155 | *.tlog
156 | *.vspscc
157 | *.vssscc
158 | .builds
159 | *.pidb
160 | *.svclog
161 | *.scc
162 |
163 | # Chutzpah Test files
164 | _Chutzpah*
165 |
166 | # Visual C++ cache files
167 | ipch/
168 | *.aps
169 | *.ncb
170 | *.opendb
171 | *.opensdf
172 | *.sdf
173 | *.cachefile
174 | *.VC.db
175 | *.VC.VC.opendb
176 |
177 | # Visual Studio profiler
178 | *.psess
179 | *.vsp
180 | *.vspx
181 | *.sap
182 |
183 | # Visual Studio Trace Files
184 | *.e2e
185 |
186 | # TFS 2012 Local Workspace
187 | $tf/
188 |
189 | # Guidance Automation Toolkit
190 | *.gpState
191 |
192 | # ReSharper is a .NET coding add-in
193 | _ReSharper*/
194 | *.[Rr]e[Ss]harper
195 | *.DotSettings.user
196 |
197 | # TeamCity is a build add-in
198 | _TeamCity*
199 |
200 | # DotCover is a Code Coverage Tool
201 | *.dotCover
202 |
203 | # AxoCover is a Code Coverage Tool
204 | .axoCover/*
205 | !.axoCover/settings.json
206 |
207 | # Coverlet is a free, cross platform Code Coverage Tool
208 | coverage*.json
209 | coverage*.xml
210 | coverage*.info
211 |
212 | # Visual Studio code coverage results
213 | *.coverage
214 | *.coveragexml
215 |
216 | # NCrunch
217 | _NCrunch_*
218 | .*crunch*.local.xml
219 | nCrunchTemp_*
220 |
221 | # MightyMoose
222 | *.mm.*
223 | AutoTest.Net/
224 |
225 | # Web workbench (sass)
226 | .sass-cache/
227 |
228 | # Installshield output folder
229 | [Ee]xpress/
230 |
231 | # DocProject is a documentation generator add-in
232 | DocProject/buildhelp/
233 | DocProject/Help/*.HxT
234 | DocProject/Help/*.HxC
235 | DocProject/Help/*.hhc
236 | DocProject/Help/*.hhk
237 | DocProject/Help/*.hhp
238 | DocProject/Help/Html2
239 | DocProject/Help/html
240 |
241 | # Click-Once directory
242 | publish/
243 |
244 | # Publish Web Output
245 | *.[Pp]ublish.xml
246 | *.azurePubxml
247 | # Note: Comment the next line if you want to checkin your web deploy settings,
248 | # but database connection strings (with potential passwords) will be unencrypted
249 | *.pubxml
250 | *.publishproj
251 |
252 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
253 | # checkin your Azure Web App publish settings, but sensitive information contained
254 | # in these scripts will be unencrypted
255 | PublishScripts/
256 |
257 | # NuGet Packages
258 | *.nupkg
259 | # NuGet Symbol Packages
260 | *.snupkg
261 | # The packages folder can be ignored because of Package Restore
262 | **/[Pp]ackages/*
263 | # except build/, which is used as an MSBuild target.
264 | !**/[Pp]ackages/build/
265 | # Uncomment if necessary however generally it will be regenerated when needed
266 | #!**/[Pp]ackages/repositories.config
267 | # NuGet v3's project.json files produces more ignorable files
268 | *.nuget.props
269 | *.nuget.targets
270 |
271 | # Microsoft Azure Build Output
272 | csx/
273 | *.build.csdef
274 |
275 | # Microsoft Azure Emulator
276 | ecf/
277 | rcf/
278 |
279 | # Windows Store app package directories and files
280 | AppPackages/
281 | BundleArtifacts/
282 | Package.StoreAssociation.xml
283 | _pkginfo.txt
284 | *.appx
285 | *.appxbundle
286 | *.appxupload
287 |
288 | # Visual Studio cache files
289 | # files ending in .cache can be ignored
290 | *.[Cc]ache
291 | # but keep track of directories ending in .cache
292 | !?*.[Cc]ache/
293 |
294 | # Others
295 | ClientBin/
296 | ~$*
297 | *~
298 | *.dbmdl
299 | *.dbproj.schemaview
300 | *.jfm
301 | *.pfx
302 | *.publishsettings
303 | orleans.codegen.cs
304 |
305 | # Including strong name files can present a security risk
306 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
307 | #*.snk
308 |
309 | # Since there are multiple workflows, uncomment next line to ignore bower_components
310 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
311 | #bower_components/
312 |
313 | # RIA/Silverlight projects
314 | Generated_Code/
315 |
316 | # Backup & report files from converting an old project file
317 | # to a newer Visual Studio version. Backup files are not needed,
318 | # because we have git ;-)
319 | _UpgradeReport_Files/
320 | Backup*/
321 | UpgradeLog*.XML
322 | UpgradeLog*.htm
323 | ServiceFabricBackup/
324 | *.rptproj.bak
325 |
326 | # SQL Server files
327 | *.mdf
328 | *.ldf
329 | *.ndf
330 |
331 | # Business Intelligence projects
332 | *.rdl.data
333 | *.bim.layout
334 | *.bim_*.settings
335 | *.rptproj.rsuser
336 | *- [Bb]ackup.rdl
337 | *- [Bb]ackup ([0-9]).rdl
338 | *- [Bb]ackup ([0-9][0-9]).rdl
339 |
340 | # Microsoft Fakes
341 | FakesAssemblies/
342 |
343 | # GhostDoc plugin setting file
344 | *.GhostDoc.xml
345 |
346 | # Node.js Tools for Visual Studio
347 | .ntvs_analysis.dat
348 | node_modules/
349 |
350 | # Visual Studio 6 build log
351 | *.plg
352 |
353 | # Visual Studio 6 workspace options file
354 | *.opt
355 |
356 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
357 | *.vbw
358 |
359 | # Visual Studio 6 auto-generated project file (contains which files were open etc.)
360 | *.vbp
361 |
362 | # Visual Studio 6 workspace and project file (working project files containing files to include in project)
363 | *.dsw
364 | *.dsp
365 |
366 | # Visual Studio 6 technical files
367 |
368 | # Visual Studio LightSwitch build output
369 | **/*.HTMLClient/GeneratedArtifacts
370 | **/*.DesktopClient/GeneratedArtifacts
371 | **/*.DesktopClient/ModelManifest.xml
372 | **/*.Server/GeneratedArtifacts
373 | **/*.Server/ModelManifest.xml
374 | _Pvt_Extensions
375 |
376 | # Paket dependency manager
377 | .paket/paket.exe
378 | paket-files/
379 |
380 | # FAKE - F# Make
381 | .fake/
382 |
383 | # CodeRush personal settings
384 | .cr/personal
385 |
386 | # Python Tools for Visual Studio (PTVS)
387 | __pycache__/
388 | *.pyc
389 |
390 | # Cake - Uncomment if you are using it
391 | # tools/**
392 | # !tools/packages.config
393 |
394 | # Tabs Studio
395 | *.tss
396 |
397 | # Telerik's JustMock configuration file
398 | *.jmconfig
399 |
400 | # BizTalk build output
401 | *.btp.cs
402 | *.btm.cs
403 | *.odx.cs
404 | *.xsd.cs
405 |
406 | # OpenCover UI analysis results
407 | OpenCover/
408 |
409 | # Azure Stream Analytics local run output
410 | ASALocalRun/
411 |
412 | # MSBuild Binary and Structured Log
413 | *.binlog
414 |
415 | # NVidia Nsight GPU debugger configuration file
416 | *.nvuser
417 |
418 | # MFractors (Xamarin productivity tool) working folder
419 | .mfractor/
420 |
421 | # Local History for Visual Studio
422 | .localhistory/
423 |
424 | # Visual Studio History (VSHistory) files
425 | .vshistory/
426 |
427 | # BeatPulse healthcheck temp database
428 | healthchecksdb
429 |
430 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
431 | MigrationBackup/
432 |
433 | # Ionide (cross platform F# VS Code tools) working folder
434 | .ionide/
435 |
436 | # Fody - auto-generated XML schema
437 | FodyWeavers.xsd
438 |
439 | # VS Code files for those working on multiple tools
440 | .vscode/*
441 | !.vscode/settings.json
442 | !.vscode/tasks.json
443 | !.vscode/launch.json
444 | !.vscode/extensions.json
445 | *.code-workspace
446 |
447 | # Local History for Visual Studio Code
448 | .history/
449 |
450 | # Windows Installer files from build outputs
451 |
452 | # JetBrains Rider
453 | *.sln.iml
454 |
455 | ### VisualStudio Patch ###
456 | # Additional files built by Visual Studio
457 |
458 | # End of https://www.toptal.com/developers/gitignore/api/windows,visualstudio,c++
459 |
--------------------------------------------------------------------------------