├── CrossCompileProject ├── images │ ├── SolutionProperties.PNG │ ├── ConfigurationManager.PNG │ ├── CrossCompileProjectPostBuild.PNG │ ├── CrossCompileProjectProperitesCpp.PNG │ ├── CopyFilesProjectProperitesGeneral.PNG │ ├── CopyFilesProjectProperitesPreBuild.PNG │ ├── CrossCompileProjectProperitesGeneral.PNG │ ├── CrossCompileProjectProperitesLinker.PNG │ ├── CrossCompileProjectProperitesGeneralARM.PNG │ └── CopyFilesProjectProperitesRemotePostBuild.PNG ├── CrossCompileProject │ ├── main.cpp │ └── CrossCompileProject.vcxproj ├── CrossCompileProject.sln ├── CopyFiles │ └── CopyFiles.vcxproj └── readme.md ├── VSCodeExample ├── main.cpp ├── makefile ├── .vscode │ ├── tasks.json │ └── launch.json └── readme.md ├── readme.md └── .gitignore /CrossCompileProject/images/SolutionProperties.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/SolutionProperties.PNG -------------------------------------------------------------------------------- /CrossCompileProject/CrossCompileProject/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() 4 | { 5 | printf("Hello from cross compiled code!\n"); 6 | return 0; 7 | } -------------------------------------------------------------------------------- /CrossCompileProject/images/ConfigurationManager.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/ConfigurationManager.PNG -------------------------------------------------------------------------------- /VSCodeExample/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | int main() 4 | { 5 | cout << "Hi from cross compiled code on the Pi!" << endl; 6 | return 0; 7 | } -------------------------------------------------------------------------------- /CrossCompileProject/images/CrossCompileProjectPostBuild.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/CrossCompileProjectPostBuild.PNG -------------------------------------------------------------------------------- /CrossCompileProject/images/CrossCompileProjectProperitesCpp.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/CrossCompileProjectProperitesCpp.PNG -------------------------------------------------------------------------------- /CrossCompileProject/images/CopyFilesProjectProperitesGeneral.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/CopyFilesProjectProperitesGeneral.PNG -------------------------------------------------------------------------------- /CrossCompileProject/images/CopyFilesProjectProperitesPreBuild.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/CopyFilesProjectProperitesPreBuild.PNG -------------------------------------------------------------------------------- /CrossCompileProject/images/CrossCompileProjectProperitesGeneral.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/CrossCompileProjectProperitesGeneral.PNG -------------------------------------------------------------------------------- /CrossCompileProject/images/CrossCompileProjectProperitesLinker.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/CrossCompileProjectProperitesLinker.PNG -------------------------------------------------------------------------------- /CrossCompileProject/images/CrossCompileProjectProperitesGeneralARM.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/CrossCompileProjectProperitesGeneralARM.PNG -------------------------------------------------------------------------------- /CrossCompileProject/images/CopyFilesProjectProperitesRemotePostBuild.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robotdad/LinuxCrossCompile/HEAD/CrossCompileProject/images/CopyFilesProjectProperitesRemotePostBuild.PNG -------------------------------------------------------------------------------- /VSCodeExample/makefile: -------------------------------------------------------------------------------- 1 | all: hello 2 | 3 | hello: hello.o 4 | arm-linux-gnueabihf-g++ -o "hello" hello.o 5 | 6 | hello.o: main.cpp 7 | arm-linux-gnueabihf-g++ -O3 -g3 -Wall -c -fPIC -o "hello.o" "main.cpp" 8 | 9 | clean: 10 | rm *.o hello 11 | -------------------------------------------------------------------------------- /VSCodeExample/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | // See https://go.microsoft.com/fwlink/?LinkId=733558 3 | // for the documentation about the tasks.json format 4 | "version": "0.1.0", 5 | "command": "make", 6 | "isShellCommand": true, 7 | "args": [], 8 | "showOutput": "always" 9 | } -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Cross compile on Linux with VS or VS Code 3 | This repo is for protoyping some samples on how to cross compile for ARM on Linux using Visual Studio and VS Code. 4 | 5 | To setup your Linux enviornment for cross compiling targetting a Raspberry Pi follow [this guide](http://hackaday.com/2016/02/03/code-craft-cross-compiling-for-the-raspberry-pi/) by @rud-had. 6 | 7 | For the Visual Studio sample, CrossCompileProject, you can setup using Windows Subsystem for Linux on Windows 10 or connect to another Linux system for running the cross compilers. The VSCodeExample does require to be run on Linux. Remote connections from Windows to Linux are not supported in VS Code. -------------------------------------------------------------------------------- /VSCodeExample/readme.md: -------------------------------------------------------------------------------- 1 | # Cross compile on Linux with VS Code 2 | 3 | This example requires running VS Code on a Linux host. Remote connections from Windows to Linux are not supported in VS Code. 4 | 5 | To setup your Linux enviornment for cross compiling targetting a Raspberry Pi follow [this guide](http://hackaday.com/2016/02/03/code-craft-cross-compiling-for-the-raspberry-pi/) by @rud-had. 6 | 7 | This example shows you how to map the necessary commands to connect to a gdbserver running on your ARM target board in the launch.json file. It is up to you to launch gdbserver on your ARM target, see the guide above. This example has a simple makefile and tasks.json to run make for building the example. You will need to get the binary produced onto your ARM target via scp etc. That is not shown here. -------------------------------------------------------------------------------- /VSCodeExample/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | 5 | { 6 | "name": "C++ Launch", 7 | "type": "cppdbg", 8 | "request": "launch", 9 | "program": "${workspaceRoot}/hello", 10 | "args": [], 11 | "stopAtEntry": false, 12 | "cwd": "${workspaceRoot}", 13 | "environment": [], 14 | "externalConsole": true, 15 | "linux": { 16 | "MIMode": "gdb", 17 | "setupCommands": [ 18 | { 19 | "description": "Enable pretty-printing for gdb", 20 | "text": "-enable-pretty-printing", 21 | "ignoreFailures": true 22 | }, 23 | { 24 | "description": "Setup remote", 25 | "text": "target extended-remote jinx-2017", 26 | "ignoreFailures": true 27 | }, 28 | { 29 | "description": "Set remote binary for debugging", 30 | "text": "set remote exec-file hello", 31 | "ignoreFailures": true 32 | }, 33 | { 34 | "description": "Load file", 35 | "text": "file hello", 36 | "ignoreFailures": true 37 | } 38 | ] 39 | }, 40 | "miDebuggerPath": "/usr/bin/gdb-multiarch" 41 | } 42 | ] 43 | } -------------------------------------------------------------------------------- /CrossCompileProject/CrossCompileProject.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 15 4 | VisualStudioVersion = 15.0.26014.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CrossCompileProject", "CrossCompileProject\CrossCompileProject.vcxproj", "{D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}" 7 | EndProject 8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CopyFiles", "CopyFiles\CopyFiles.vcxproj", "{350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}" 9 | ProjectSection(ProjectDependencies) = postProject 10 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9} = {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9} 11 | EndProjectSection 12 | EndProject 13 | Global 14 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 15 | Debug|ARM = Debug|ARM 16 | Debug|x64 = Debug|x64 17 | Debug|x86 = Debug|x86 18 | Release|ARM = Release|ARM 19 | Release|x64 = Release|x64 20 | Release|x86 = Release|x86 21 | EndGlobalSection 22 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 23 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Debug|ARM.ActiveCfg = Debug|ARM 24 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Debug|x64.ActiveCfg = Debug|x64 25 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Debug|x64.Build.0 = Debug|x64 26 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Debug|x86.ActiveCfg = Debug|x86 27 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Debug|x86.Build.0 = Debug|x86 28 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Release|ARM.ActiveCfg = Release|ARM 29 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Release|ARM.Build.0 = Release|ARM 30 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Release|x64.ActiveCfg = Release|x64 31 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Release|x64.Build.0 = Release|x64 32 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Release|x86.ActiveCfg = Release|x86 33 | {D220BFC7-A45A-4DF1-88C1-AB36FFBA8BB9}.Release|x86.Build.0 = Release|x86 34 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Debug|ARM.ActiveCfg = Debug|ARM 35 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Debug|x64.ActiveCfg = Debug|ARM 36 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Debug|x64.Build.0 = Debug|ARM 37 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Debug|x86.ActiveCfg = Debug|x86 38 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Debug|x86.Build.0 = Debug|x86 39 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Release|ARM.ActiveCfg = Release|ARM 40 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Release|ARM.Build.0 = Release|ARM 41 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Release|x64.ActiveCfg = Release|x64 42 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Release|x64.Build.0 = Release|x64 43 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Release|x86.ActiveCfg = Release|x86 44 | {350DF4AA-9D0B-4CC5-B729-67AAE51BD28B}.Release|x86.Build.0 = Release|x86 45 | EndGlobalSection 46 | GlobalSection(SolutionProperties) = preSolution 47 | HideSolutionNode = FALSE 48 | EndGlobalSection 49 | EndGlobal 50 | -------------------------------------------------------------------------------- /CrossCompileProject/CrossCompileProject/CrossCompileProject.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | ARM 7 | 8 | 9 | Release 10 | ARM 11 | 12 | 13 | Debug 14 | x86 15 | 16 | 17 | Release 18 | x86 19 | 20 | 21 | Debug 22 | x64 23 | 24 | 25 | Release 26 | x64 27 | 28 | 29 | 30 | {d220bfc7-a45a-4df1-88c1-ab36ffba8bb9} 31 | Linux 32 | CrossCompileProject 33 | 15.0 34 | Linux 35 | 1.0 36 | Generic 37 | {D51BCBC9-82E9-4017-911E-C93873C4EA2B} 38 | 39 | 40 | 41 | true 42 | 43 | 44 | false 45 | 46 | 47 | true 48 | 49 | 50 | false 51 | 52 | 53 | true 54 | 55 | 56 | false 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | arm-linux-gnueabihf-g++ 65 | arm-linux-gnueabihf-g++ 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | Disabled 75 | 76 | 77 | 78 | 79 | true 80 | 81 | 82 | copy "$(ProjectDir)bin\$(Platform)\$(Configuration)\CrossCompileProject.out" "$(ProjectDir)bin\ARM\$(Configuration)\CrossCompileProject.out" 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /CrossCompileProject/CopyFiles/CopyFiles.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | ARM 7 | 8 | 9 | Release 10 | ARM 11 | 12 | 13 | Debug 14 | x86 15 | 16 | 17 | Release 18 | x86 19 | 20 | 21 | Debug 22 | x64 23 | 24 | 25 | Release 26 | x64 27 | 28 | 29 | 30 | {350df4aa-9d0b-4cc5-b729-67aae51bd28b} 31 | Linux 32 | CopyFiles 33 | 15.0 34 | Linux 35 | 1.0 36 | Generic 37 | {FC1A4D80-50E9-41DA-9192-61C0DBAA00D2} 38 | 39 | 40 | 41 | true 42 | Makefile 43 | 44 | 45 | false 46 | Makefile 47 | 48 | 49 | true 50 | Makefile 51 | 52 | 53 | false 54 | Makefile 55 | 56 | 57 | true 58 | Makefile 59 | 60 | 61 | false 62 | Makefile 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | chmod 777 /home/pi/projects/CrossCompileProject/bin/ARM/Debug/CrossCompileProject.out 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | ..\CrossCompileProject\bin\x64\Debug\CrossCompileProject.out:=/home/pi/projects/CrossCompileProject/bin/ARM/Debug/CrossCompileProject.out 93 | 94 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /CrossCompileProject/readme.md: -------------------------------------------------------------------------------- 1 | # Cross compile on Linux with Visual Studio 2 | This example requires Visual Studio 2017 with the Linux Workload selected or Visual Studio 2015 with the Visual C++ for Linux extension installed. You can find out more about these components on the [C++ team blog](http://aka.ms/vslinux). 3 | 4 | You need a Linux system with ARM cross compilers installed for this project. On Windows 10 you can use the Windows Subsystem for Linux instead of a remote Linux machine or VM, that is how I prepared this project. To setup your Linux enviornment for cross compiling targetting a Raspberry Pi follow [this guide](http://hackaday.com/2016/02/03/code-craft-cross-compiling-for-the-raspberry-pi/) by @rud-had. 5 | 6 | This solution is organized such that there is a project used for building and debugging source (CrossCompileProject), and another (CopyFiles) to copy outputs to a remote ARM target. The trick here is that we use the x64 configuration for build and ARM for debug. In the solution properties under Project Dependencies we have set the project CopyFiles to depend on CrossCompileProject. 7 | 8 | ![Project properties picture](images/SolutionProperties.PNG "") 9 | 10 | Next in Configuration Manager we have set for Debug x64 that CopyFiles is to build for ARM and CrossCompileProject builds for x64. 11 | 12 | ![Project properties picture](images/ConfigurationManager.PNG "") 13 | 14 | For the CrossCompileProject project properties under General the Remote Build Machine is set to our x64 Linux enviornment with cross compilers installed. Here I am using localhost to connect to my local WSL enviornment. 15 | 16 | ![Project properties picture](images/CrossCompileProjectProperitesGeneral.PNG "") 17 | 18 | Looking under C/C++ All Options you can see the switches that correspond to the above guide in bold. Note especially the C++ Compiler override to use the cross compiler. Also, contrary to the guide we've set optimization to disabled so we get debugging symbols. 19 | 20 | ![Project properties picture](images/CrossCompileProjectProperitesCpp.PNG "") 21 | 22 | Note under Linker you also need to override the default linker value so the cross compiler is used. 23 | 24 | ![Project properties picture](images/CrossCompileProjectProperitesLinker.PNG "") 25 | 26 | Now, under Build Events, Post-Build Event we are going to copy the x64 build output to the ARM build output directory for use in debugging. An example command line for this is: 27 | 28 | ``` 29 | copy "$(ProjectDir)bin\$(Platform)\$(Configuration)\CrossCompileProject.out" "$(ProjectDir)bin\ARM\$(Configuration)\CrossCompileProject.out" 30 | ``` 31 | 32 | ![Project properties picture](images/CrossCompileProjectPostBuild.PNG "") 33 | 34 | We can't copy this output to an ARM Linux machine as part of this build as the project is configured to connect to an x64 Linux machine. That is why we have the CopyFiles makefile project configured to build for ARM after the CrossCompileProject builds for x64. CopyFiles has the project properties set so the Remote Build Machine is our ARM debug target. 35 | 36 | ![Project properties picture](images/CopyFilesProjectProperitesGeneral.PNG "") 37 | 38 | Under Build Events, Pre-Build Event we have set Additional Files to copy to take the cross compile output from the x64 project and copy it to our remote ARM Linux target: 39 | 40 | ``` 41 | ..\CrossCompileProject\bin\ARM\Debug\CrossCompileProject.out:=/home/pi/projects/CrossCompileProject/bin/ARM/Debug/CrossCompileProject.out 42 | ``` 43 | 44 | ![Project properties picture](images/CopyFilesProjectProperitesPreBuild.PNG "") 45 | 46 | We have also specified a Remote Post-Build Event to execute a command on the remote Linux target to ensure our output is executable. 47 | 48 | ``` 49 | chmod 777 /home/pi/projects/CrossCompileProject/bin/ARM/Debug/CrossCompileProject.out 50 | ``` 51 | 52 | ![Project properties picture](images/CopyFilesProjectProperitesRemotePostBuild.PNG "") 53 | 54 | With the above configuration we can now build the solution which will produce ARM binaries on our x64 target using cross compilers, then it will copy them to our ARM target. 55 | 56 | To debug change your configuration to ARM. Now on back on the CrossCompileProject project properties under General the Remote Build Machine should be set to the same ARM target used above. 57 | 58 | ![Project properties picture](images/CrossCompileProjectProperitesGeneralARM.PNG "") 59 | 60 | Set a breakpoint and hit F5 and you should be able to debug on your ARM target board. 61 | 62 | Note that the above configuration is tailored to use output locations expected by the VS Linux build system. You can use other output values, but you may need to make some further configuration changes to get it to work. Of note on the project properties for the ARM debug target you may need to modify the value for program to match your output rather than the expected default value. 63 | 64 | -------------------------------------------------------------------------------- /.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 | *.suo 8 | *.user 9 | *.userosscache 10 | *.sln.docstates 11 | 12 | # User-specific files (MonoDevelop/Xamarin Studio) 13 | *.userprefs 14 | 15 | # Build results 16 | [Dd]ebug/ 17 | [Dd]ebugPublic/ 18 | [Rr]elease/ 19 | [Rr]eleases/ 20 | x64/ 21 | x86/ 22 | bld/ 23 | [Bb]in/ 24 | [Oo]bj/ 25 | [Ll]og/ 26 | 27 | # Visual Studio 2015 cache/options directory 28 | .vs/ 29 | # Uncomment if you have tasks that create the project's static files in wwwroot 30 | #wwwroot/ 31 | 32 | # MSTest test Results 33 | [Tt]est[Rr]esult*/ 34 | [Bb]uild[Ll]og.* 35 | 36 | # NUNIT 37 | *.VisualState.xml 38 | TestResult.xml 39 | 40 | # Build Results of an ATL Project 41 | [Dd]ebugPS/ 42 | [Rr]eleasePS/ 43 | dlldata.c 44 | 45 | # .NET Core 46 | project.lock.json 47 | project.fragment.lock.json 48 | artifacts/ 49 | **/Properties/launchSettings.json 50 | 51 | *_i.c 52 | *_p.c 53 | *_i.h 54 | *.ilk 55 | *.meta 56 | *.obj 57 | *.pch 58 | *.pdb 59 | *.pgc 60 | *.pgd 61 | *.rsp 62 | *.sbr 63 | *.tlb 64 | *.tli 65 | *.tlh 66 | *.tmp 67 | *.tmp_proj 68 | *.log 69 | *.vspscc 70 | *.vssscc 71 | .builds 72 | *.pidb 73 | *.svclog 74 | *.scc 75 | 76 | # Chutzpah Test files 77 | _Chutzpah* 78 | 79 | # Visual C++ cache files 80 | ipch/ 81 | *.aps 82 | *.ncb 83 | *.opendb 84 | *.opensdf 85 | *.sdf 86 | *.cachefile 87 | *.VC.db 88 | *.VC.VC.opendb 89 | 90 | # Visual Studio profiler 91 | *.psess 92 | *.vsp 93 | *.vspx 94 | *.sap 95 | 96 | # TFS 2012 Local Workspace 97 | $tf/ 98 | 99 | # Guidance Automation Toolkit 100 | *.gpState 101 | 102 | # ReSharper is a .NET coding add-in 103 | _ReSharper*/ 104 | *.[Rr]e[Ss]harper 105 | *.DotSettings.user 106 | 107 | # JustCode is a .NET coding add-in 108 | .JustCode 109 | 110 | # TeamCity is a build add-in 111 | _TeamCity* 112 | 113 | # DotCover is a Code Coverage Tool 114 | *.dotCover 115 | 116 | # Visual Studio code coverage results 117 | *.coverage 118 | *.coveragexml 119 | 120 | # NCrunch 121 | _NCrunch_* 122 | .*crunch*.local.xml 123 | nCrunchTemp_* 124 | 125 | # MightyMoose 126 | *.mm.* 127 | AutoTest.Net/ 128 | 129 | # Web workbench (sass) 130 | .sass-cache/ 131 | 132 | # Installshield output folder 133 | [Ee]xpress/ 134 | 135 | # DocProject is a documentation generator add-in 136 | DocProject/buildhelp/ 137 | DocProject/Help/*.HxT 138 | DocProject/Help/*.HxC 139 | DocProject/Help/*.hhc 140 | DocProject/Help/*.hhk 141 | DocProject/Help/*.hhp 142 | DocProject/Help/Html2 143 | DocProject/Help/html 144 | 145 | # Click-Once directory 146 | publish/ 147 | 148 | # Publish Web Output 149 | *.[Pp]ublish.xml 150 | *.azurePubxml 151 | # TODO: Comment the next line if you want to checkin your web deploy settings 152 | # but database connection strings (with potential passwords) will be unencrypted 153 | *.pubxml 154 | *.publishproj 155 | 156 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 157 | # checkin your Azure Web App publish settings, but sensitive information contained 158 | # in these scripts will be unencrypted 159 | PublishScripts/ 160 | 161 | # NuGet Packages 162 | *.nupkg 163 | # The packages folder can be ignored because of Package Restore 164 | **/packages/* 165 | # except build/, which is used as an MSBuild target. 166 | !**/packages/build/ 167 | # Uncomment if necessary however generally it will be regenerated when needed 168 | #!**/packages/repositories.config 169 | # NuGet v3's project.json files produces more ignoreable files 170 | *.nuget.props 171 | *.nuget.targets 172 | 173 | # Microsoft Azure Build Output 174 | csx/ 175 | *.build.csdef 176 | 177 | # Microsoft Azure Emulator 178 | ecf/ 179 | rcf/ 180 | 181 | # Windows Store app package directories and files 182 | AppPackages/ 183 | BundleArtifacts/ 184 | Package.StoreAssociation.xml 185 | _pkginfo.txt 186 | 187 | # Visual Studio cache files 188 | # files ending in .cache can be ignored 189 | *.[Cc]ache 190 | # but keep track of directories ending in .cache 191 | !*.[Cc]ache/ 192 | 193 | # Others 194 | ClientBin/ 195 | ~$* 196 | *~ 197 | *.dbmdl 198 | *.dbproj.schemaview 199 | *.jfm 200 | *.pfx 201 | *.publishsettings 202 | node_modules/ 203 | orleans.codegen.cs 204 | 205 | # Since there are multiple workflows, uncomment next line to ignore bower_components 206 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 207 | #bower_components/ 208 | 209 | # RIA/Silverlight projects 210 | Generated_Code/ 211 | 212 | # Backup & report files from converting an old project file 213 | # to a newer Visual Studio version. Backup files are not needed, 214 | # because we have git ;-) 215 | _UpgradeReport_Files/ 216 | Backup*/ 217 | UpgradeLog*.XML 218 | UpgradeLog*.htm 219 | 220 | # SQL Server files 221 | *.mdf 222 | *.ldf 223 | 224 | # Business Intelligence projects 225 | *.rdl.data 226 | *.bim.layout 227 | *.bim_*.settings 228 | 229 | # Microsoft Fakes 230 | FakesAssemblies/ 231 | 232 | # GhostDoc plugin setting file 233 | *.GhostDoc.xml 234 | 235 | # Node.js Tools for Visual Studio 236 | .ntvs_analysis.dat 237 | 238 | # Visual Studio 6 build log 239 | *.plg 240 | 241 | # Visual Studio 6 workspace options file 242 | *.opt 243 | 244 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 245 | *.vbw 246 | 247 | # Visual Studio LightSwitch build output 248 | **/*.HTMLClient/GeneratedArtifacts 249 | **/*.DesktopClient/GeneratedArtifacts 250 | **/*.DesktopClient/ModelManifest.xml 251 | **/*.Server/GeneratedArtifacts 252 | **/*.Server/ModelManifest.xml 253 | _Pvt_Extensions 254 | 255 | # Paket dependency manager 256 | .paket/paket.exe 257 | paket-files/ 258 | 259 | # FAKE - F# Make 260 | .fake/ 261 | 262 | # JetBrains Rider 263 | .idea/ 264 | *.sln.iml 265 | 266 | # CodeRush 267 | .cr/ 268 | 269 | # Python Tools for Visual Studio (PTVS) 270 | __pycache__/ 271 | *.pyc 272 | 273 | # Cake - Uncomment if you are using it 274 | # tools/ --------------------------------------------------------------------------------