disable broken tests on net_4_0
[mcs.git] / class / Managed.Windows.Forms / build-csproj2k5
blob4e444186a454516e799facb9bba633a98b92e6a6
1 #!/bin/bash
3 # This script will generate SWF.cs.target from our System.Windows.Forms.dll.sources
7 exec > SWF2k5.csproj
9 Source=System.Windows.Forms.dll.sources
10 Resource=System.Windows.Forms.dll.resources
12 SWFhead()
14 cat <<EOF
15 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
16 <PropertyGroup>
17 <ProjectType>Local</ProjectType>
18 <ProductVersion>8.0.50727</ProductVersion>
19 <SchemaVersion>2.0</SchemaVersion>
20 <ProjectGuid>{5E6430B2-6B9F-4E76-802E-20207EF80391}</ProjectGuid>
21 <Configuration Condition=" '\$(Configuration)' == '' ">Debug</Configuration>
22 <Platform Condition=" '\$(Platform)' == '' ">AnyCPU</Platform>
23 <ApplicationIcon>
24 </ApplicationIcon>
25 <AssemblyKeyContainerName>
26 </AssemblyKeyContainerName>
27 <AssemblyName>System.Windows.Forms</AssemblyName>
28 <AssemblyOriginatorKeyFile>
29 </AssemblyOriginatorKeyFile>
30 <DefaultClientScript>JScript</DefaultClientScript>
31 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
32 <DefaultTargetSchema>IE50</DefaultTargetSchema>
33 <DelaySign>false</DelaySign>
34 <OutputType>Library</OutputType>
35 <RootNamespace>
36 </RootNamespace>
37 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
38 <StartupObject>
39 </StartupObject>
40 <FileUpgradeFlags>
41 </FileUpgradeFlags>
42 <UpgradeBackupLocation>
43 </UpgradeBackupLocation>
44 </PropertyGroup>
45 <PropertyGroup Condition=" '\$(Configuration)|\$(Platform)' == 'Debug|AnyCPU' ">
46 <OutputPath>bin\Debug\</OutputPath>
47 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
48 <BaseAddress>285212672</BaseAddress>
49 <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
50 <ConfigurationOverrideFile>
51 </ConfigurationOverrideFile>
52 <DefineConstants>NET_1_1 NET_2_0 MWF_ON_MSRUNTIME</DefineConstants>
53 <DocumentationFile>
54 </DocumentationFile>
55 <DebugSymbols>true</DebugSymbols>
56 <FileAlignment>4096</FileAlignment>
57 <NoStdLib>false</NoStdLib>
58 <NoWarn>612,618,3021</NoWarn>
59 <Optimize>false</Optimize>
60 <RegisterForComInterop>false</RegisterForComInterop>
61 <RemoveIntegerChecks>false</RemoveIntegerChecks>
62 <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
63 <WarningLevel>3</WarningLevel>
64 <DebugType>full</DebugType>
65 <ErrorReport>prompt</ErrorReport>
66 <OutputType>Library</OutputType>
67 <AssemblyName>System.Windows.Forms</AssemblyName>
68 </PropertyGroup>
69 <PropertyGroup Condition=" '\$(Configuration)|\$(Platform)' == 'Release|AnyCPU' ">
70 <OutputPath>bin\Release\</OutputPath>
71 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
72 <BaseAddress>285212672</BaseAddress>
73 <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
74 <ConfigurationOverrideFile>
75 </ConfigurationOverrideFile>
76 <DefineConstants>NET_1_1 NET_2_0 MWF_ON_MSRUNTIME</DefineConstants>
77 <DocumentationFile>
78 </DocumentationFile>
79 <DebugSymbols>false</DebugSymbols>
80 <FileAlignment>4096</FileAlignment>
81 <NoStdLib>false</NoStdLib>
82 <NoWarn>612,618,3021</NoWarn>
83 <Optimize>false</Optimize>
84 <RegisterForComInterop>false</RegisterForComInterop>
85 <RemoveIntegerChecks>false</RemoveIntegerChecks>
86 <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
87 <WarningLevel>3</WarningLevel>
88 <DebugType>none</DebugType>
89 <ErrorReport>prompt</ErrorReport>
90 <OutputType>Library</OutputType>
91 <AssemblyName>System.Windows.Forms</AssemblyName>
92 </PropertyGroup>
93 <PropertyGroup Condition=" '\$(Configuration)|\$(Platform)' == 'Debug 1.1|AnyCPU' ">
94 <OutputPath>bin\Debug\</OutputPath>
95 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
96 <BaseAddress>285212672</BaseAddress>
97 <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
98 <ConfigurationOverrideFile>
99 </ConfigurationOverrideFile>
100 <DefineConstants>NET_1_1 ONLY_1_1 MWF_ON_MSRUNTIME</DefineConstants>
101 <DocumentationFile>
102 </DocumentationFile>
103 <DebugSymbols>true</DebugSymbols>
104 <FileAlignment>4096</FileAlignment>
105 <NoStdLib>false</NoStdLib>
106 <NoWarn>612,618,3021</NoWarn>
107 <Optimize>false</Optimize>
108 <RegisterForComInterop>false</RegisterForComInterop>
109 <RemoveIntegerChecks>false</RemoveIntegerChecks>
110 <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
111 <WarningLevel>3</WarningLevel>
112 <DebugType>full</DebugType>
113 <ErrorReport>prompt</ErrorReport>
114 <OutputType>Library</OutputType>
115 <AssemblyName>System.Windows.Forms</AssemblyName>
116 </PropertyGroup>
117 <PropertyGroup Condition=" '\$(Configuration)|\$(Platform)' == 'Release 1.1|AnyCPU' ">
118 <OutputPath>bin\Release\</OutputPath>
119 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
120 <BaseAddress>285212672</BaseAddress>
121 <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
122 <ConfigurationOverrideFile>
123 </ConfigurationOverrideFile>
124 <DefineConstants>NET_1_1 ONLY_1_1 MWF_ON_MSRUNTIME</DefineConstants>
125 <DocumentationFile>
126 </DocumentationFile>
127 <DebugSymbols>false</DebugSymbols>
128 <FileAlignment>4096</FileAlignment>
129 <NoStdLib>false</NoStdLib>
130 <NoWarn>612,618,3021</NoWarn>
131 <Optimize>false</Optimize>
132 <RegisterForComInterop>false</RegisterForComInterop>
133 <RemoveIntegerChecks>false</RemoveIntegerChecks>
134 <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
135 <WarningLevel>3</WarningLevel>
136 <DebugType>none</DebugType>
137 <ErrorReport>prompt</ErrorReport>
138 <OutputType>Library</OutputType>
139 <AssemblyName>System.Windows.Forms</AssemblyName>
140 </PropertyGroup>
141 <ItemGroup>
142 <Reference Include="Accessibility">
143 <Name>Accessibility</Name>
144 </Reference>
145 <Reference Include="System">
146 <Name>System</Name>
147 </Reference>
148 <Reference Include="System.configuration" />
149 <Reference Include="System.Data">
150 <Name>System.Data</Name>
151 </Reference>
152 <Reference Include="System.Data">
153 <Name>System.Data</Name>
154 </Reference>
155 <Reference Include="System.Drawing">
156 <Name>System.Drawing</Name>
157 </Reference>
158 <Reference Include="System.Xml">
159 <Name>System.Xml</Name>
160 </Reference>
161 <Reference Include="Mono.WebBrowser2K5">
162 <Name>Mono.WebBrowser2K5</Name>
163 </Reference>
164 </ItemGroup>
165 <ItemGroup>
166 <ProjectReference Include="..\Mono.WebBrowser\Mono.WebBrowser2K5.csproj">
167 <Project>{5E6C996A-007F-40CE-B244-006EFCFB77D2}</Project>
168 <Name>Mono.WebBrowser2K5</Name>
169 </ProjectReference>
170 </ItemGroup>
174 SWFtail()
176 cat <<EOF
177 <ItemGroup>
178 <None Include="System.Windows.Forms\ChangeLog" />
179 </ItemGroup>
180 <ItemGroup>
181 <None Include="ChangeLog" />
182 </ItemGroup>
183 <Import Project="\$(MSBuildBinPath)\Microsoft.CSharp.targets" />
184 <PropertyGroup>
185 <PreBuildEvent>
186 </PreBuildEvent>
187 <PostBuildEvent>
188 </PostBuildEvent>
189 </PropertyGroup>
190 </Project>
194 SWFfilelist()
196 echo " <ItemGroup>"
197 cat $Source | while read SRC; do
198 # Don't do AssemblyInfo, it's got signing requests and such that we don't want
199 if [ "x$SRC" != "xAssembly/AssemblyInfo.cs" ] ; then
200 SRC=`echo $SRC | sed 's/..\/..\/build\///'`
201 SRC=`echo $SRC | tr '/' '\\\\'`
202 cat <<EOF
203 <Compile Include="$SRC" />
206 done
207 echo " </ItemGroup>"
210 SWFresourcelist()
212 echo " <ItemGroup>"
213 cat $Resource | while read SRC; do
214 CUSTOMTOOLNAMESPACE=""
216 # strip out that -resource:
217 SRC=`echo $SRC | sed 's/-resource://'`
219 CUSTOMTOOLNAMESPACE=`echo $SRC | awk -F, '{print $2}'`
221 INCLUDE=`echo $SRC | awk -F, '{print $1}'`
223 if test -f $INCLUDE.prebuilt; then
224 INCLUDE=$INCLUDE.prebuilt
227 # strip off the path from the name of the resource and the .prebuilt if there is one
228 LOGICALNAME=`echo $INCLUDE | sed 's/resources\///;s/.prebuilt//'`
230 # convert all /'s to \\'s
231 INCLUDE=`echo $INCLUDE | sed 's/\//\\\\/'`
233 echo " <EmbeddedResource Include=\"$INCLUDE\">"
234 if test "x$CUSTOMTOOLNAMESPACE" != "x"; then
235 echo " <LogicalName>$CUSTOMTOOLNAMESPACE</LogicalName>"
236 else
237 echo " <LogicalName>$LOGICALNAME</LogicalName>"
239 echo " </EmbeddedResource>"
240 done
241 echo " </ItemGroup>"
244 SWFhead
245 SWFfilelist
246 SWFresourcelist
247 SWFtail