Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/prepareProjectsForMono.sh @ 8652

Last change on this file since 8652 was 8633, checked in by ascheibe, 12 years ago

#1937 added a script that adds a HintPath for the DataVisualization assembly and removes projects that do not build

File size: 863 bytes
RevLine 
[8633]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# remove projects that do not build
12sed -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
13mv tmp HeuristicLab.ExtLibs.sln
14
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"
Note: See TracBrowser for help on using the repository browser.