File tree Expand file tree Collapse file tree 4 files changed +15
-1
lines changed
Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1212
1313 "settings" : {
1414 // Loading projects on demand is better for larger codebases
15- "omnisharp.enableMsBuildLoadProjectsOnDemand" : true
15+ "omnisharp.enableMsBuildLoadProjectsOnDemand" : true ,
16+ "omnisharp.enableRoslynAnalyzers" : true ,
17+ "omnisharp.enableEditorConfigSupport" : true ,
18+ "omnisharp.enableAsyncCompletion" : true ,
19+ "omnisharp.testRunSettings" : " ${containerWorkspaceFolder}/artifacts/obj/vscode/.runsettings"
1620 },
1721
1822 // Add the IDs of extensions you want installed when the container is created.
Original file line number Diff line number Diff line change 44
55# prebuild the repo, so it is ready for development
66./build.sh libs+clr -rc Release
7+ # restore libs tests so that the project is ready to be loaded by OmniSharp
8+ ./build.sh libs.tests -restore
79
810# save the commit hash of the currently built assemblies, so developers know which version was built
911git rev-parse HEAD > ./artifacts/prebuild.sha
Original file line number Diff line number Diff line change 77 <CreateIntermediateRunSettingsFile Condition =" '$(CreateIntermediateRunSettingsFile)' == ''" >false</CreateIntermediateRunSettingsFile >
88 <RunSettingsOutputFilePath Condition =" '$(CreateIntermediateRunSettingsFile)' == 'true'" >$(RunSettingsIntermediateOutputFilePath)</RunSettingsOutputFilePath >
99 <RunSettingsOutputFilePath Condition =" '$(CreateIntermediateRunSettingsFile)' != 'true'" >$(RunSettingsAppOutputFilePath)</RunSettingsOutputFilePath >
10+ <VsCodeRunSettingsOutputFilePath >$(ArtifactsObjDir)vscode/.runsettings</VsCodeRunSettingsOutputFilePath >
1011
1112 <!-- Set RunSettingsFilePath property which is read by VSTest. -->
1213 <RunSettingsFilePath Condition =" Exists('$(RunSettingsAppOutputFilePath)')" >$(RunSettingsAppOutputFilePath)</RunSettingsFilePath >
4647 WriteOnlyWhenDifferent =" true"
4748 Overwrite =" true" />
4849
50+ <WriteLinesToFile File =" $(VsCodeRunSettingsOutputFilePath)"
51+ Lines =" $(RunSettingsFileContent)"
52+ WriteOnlyWhenDifferent =" true"
53+ Overwrite =" true"
54+ Condition =" '$(CreateVsCodeRunSettingsFile)' == 'true'" />
55+
4956 <!-- Set RunSettingsFilePath property which is read by VSTest. -->
5057 <PropertyGroup >
5158 <RunSettingsFilePath >$(RunSettingsOutputFilePath)</RunSettingsFilePath >
Original file line number Diff line number Diff line change 55 <!-- Create an intermediate runsettings file to enable VSTest discovery. -->
66 <EnableRunSettingsSupport >true</EnableRunSettingsSupport >
77 <CreateIntermediateRunSettingsFile >true</CreateIntermediateRunSettingsFile >
8+ <CreateVsCodeRunSettingsFile >true</CreateVsCodeRunSettingsFile >
89 </PropertyGroup >
910
1011 <PropertyGroup >
You can’t perform that action at this time.
0 commit comments