Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/prepareProjectsForMono.sh @ 12064

Last change on this file since 12064 was 9363, checked in by spimming, 12 years ago

#1888:

  • Merged revisions from trunk
File size: 1.3 KB
Line 
1# add hint path for DataVisualization assembly
2ORIG="<Reference Include=\"System.Windows.Forms.DataVisualization\" \/>"
3REP="<Reference Include=\"System.Windows.Forms.DataVisualization\" > \n <HintPath>..\/..\/bin\/System.Windows.Forms.DataVisualization.dll<\/HintPath> \n <\/Reference>"
4
5for filename in $(find -name '*.csproj')
6do   
7    sed "s/$ORIG/$REP/g" $filename > tmp
8    mv tmp $filename
9done;
10
11
12# remove projects that do not build
13sed -e '/ProtocolBuffers-2.4.1.473/,+1d' -e '/ProtoGen-2.4.1.473/,+1d' -e '/HeuristicLab.ProtobufCS-2.4.1.473/,+1d' HeuristicLab.ExtLibs.sln > tmp
14mv tmp HeuristicLab.ExtLibs.sln
15
16sed -e '/HeuristicLab.Problems.ExternalEvaluation-3.3/,+1d' -e '/HeuristicLab.Problems.ExternalEvaluation.GP-3.4/,+1d' -e '/HeuristicLab.Problems.ExternalEvaluation.Views-3.3/,+1d' "HeuristicLab 3.3.sln" > tmp
17mv tmp "HeuristicLab 3.3.sln"
18
19
20# switch to MultiDocument MainForm type as Docking doesn't properly work on Linux
21sed "s/DockingMainForm/MultipleDocumentMainForm/g" HeuristicLab.Optimizer/3.3/Properties/Settings.settings > tmp
22mv tmp HeuristicLab.Optimizer/3.3/Properties/Settings.settings
23
24sed "s/DockingMainForm/MultipleDocumentMainForm/g" HeuristicLab.Optimizer/3.3/Properties/Settings.Designer.cs > tmp
25mv tmp HeuristicLab.Optimizer/3.3/Properties/Settings.Designer.cs
Note: See TracBrowser for help on using the repository browser.