Mercurial > silverbladetech
annotate SilverlightValidation/SilverlightValidation.Tests/SilverlightValidation.Tests.csproj @ 94:be4d751f6bff
Unit test project added
author | stevenhollidge <stevenhollidge@hotmail.com> |
---|---|
date | Sat, 05 May 2012 10:49:49 +0100 |
parents | |
children | 188f8b366e87 |
rev | line source |
---|---|
94
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
3 <PropertyGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
6 <ProductVersion>9.0.30729</ProductVersion> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
7 <SchemaVersion>2.0</SchemaVersion> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
8 <ProjectGuid>{12AE7560-AD64-4635-8A6B-772256FF0EDD}</ProjectGuid> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
9 <ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
10 <OutputType>Library</OutputType> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
11 <AppDesignerFolder>Properties</AppDesignerFolder> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
12 <RootNamespace>SilverlightValidation.Tests</RootNamespace> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
13 <AssemblyName>SilverlightValidation.Tests</AssemblyName> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
14 <TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
15 <TargetFrameworkVersion>v5.0</TargetFrameworkVersion> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
16 <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
17 <SilverlightApplication>true</SilverlightApplication> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
18 <SupportedCultures /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
19 <XapOutputs>true</XapOutputs> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
20 <GenerateSilverlightManifest>true</GenerateSilverlightManifest> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
21 <XapFilename>SilverlightValidation.Tests.xap</XapFilename> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
22 <SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
23 <SilverlightAppEntry>SilverlightValidation.Tests.App</SilverlightAppEntry> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
24 <TestPageFileName>TestPage.html</TestPageFileName> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
25 <CreateTestPage>true</CreateTestPage> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
26 <ValidateXaml>true</ValidateXaml> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
27 <EnableOutOfBrowser>false</EnableOutOfBrowser> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
28 <OutOfBrowserSettingsFile>Properties\OutOfBrowserSettings.xml</OutOfBrowserSettingsFile> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
29 <UsePlatformExtensions>false</UsePlatformExtensions> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
30 <ThrowErrorsInValidation>true</ThrowErrorsInValidation> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
31 <LinkedServerProject /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
32 </PropertyGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
33 <!-- |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
34 // |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
35 // Silverlight Code Coverage Instrumentation |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
36 // List any libraries or assemblies that you would like to instrument during |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
37 // a code coverage pass. An example, for ClassLibrary1, is provided, and |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
38 // commented out below as a starting point: |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
39 // |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
40 --> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
41 <!-- |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
42 <ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
43 <InstrumentSilverlightAssemblies Include="SilverlightClassLibrary1"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
44 <Visible>false</Visible> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
45 </InstrumentSilverlightAssemblies> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
46 </ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
47 --> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
48 <!-- This property group is only here to support building this project using the |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
49 MSBuild 3.5 toolset. In order to work correctly with this older toolset, it needs |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
50 to set the TargetFrameworkVersion to v3.5 --> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
51 <PropertyGroup Condition="'$(MSBuildToolsVersion)' == '3.5'"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
52 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
53 </PropertyGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
54 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
55 <DebugSymbols>true</DebugSymbols> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
56 <DebugType>full</DebugType> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
57 <Optimize>false</Optimize> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
58 <OutputPath>Bin\Debug</OutputPath> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
59 <DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
60 <NoStdLib>true</NoStdLib> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
61 <NoConfig>true</NoConfig> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
62 <ErrorReport>prompt</ErrorReport> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
63 <WarningLevel>4</WarningLevel> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
64 </PropertyGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
65 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
66 <DebugType>pdbonly</DebugType> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
67 <Optimize>true</Optimize> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
68 <OutputPath>Bin\Release</OutputPath> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
69 <DefineConstants>TRACE;SILVERLIGHT</DefineConstants> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
70 <NoStdLib>true</NoStdLib> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
71 <NoConfig>true</NoConfig> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
72 <ErrorReport>prompt</ErrorReport> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
73 <WarningLevel>4</WarningLevel> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
74 </PropertyGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
75 <ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
76 <Reference Include="Microsoft.Silverlight.Testing"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
77 <HintPath>..\Libs\Microsoft.Silverlight.Testing.dll</HintPath> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
78 </Reference> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
79 <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
80 <HintPath>..\Libs\Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll</HintPath> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
81 </Reference> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
82 <Reference Include="NUnit.Silverlight.Compatibility"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
83 <HintPath>..\Libs\NUnit.Silverlight.Compatibility.dll</HintPath> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
84 </Reference> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
85 <Reference Include="NUnit.Silverlight.Framework"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
86 <HintPath>..\Libs\NUnit.Silverlight.Framework.dll</HintPath> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
87 </Reference> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
88 <Reference Include="NUnit.Silverlight.Metadata"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
89 <HintPath>..\Libs\NUnit.Silverlight.Metadata.dll</HintPath> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
90 </Reference> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
91 <Reference Include="System.Windows" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
92 <Reference Include="mscorlib" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
93 <Reference Include="system" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
94 <Reference Include="System.Core" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
95 <Reference Include="System.Net" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
96 <Reference Include="System.Xml" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
97 <Reference Include="System.Windows.Browser" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
98 </ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
99 <ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
100 <Compile Include="Properties\AssemblyInfo.cs" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
101 <Compile Include="ViewModels\UserListViewModel.cs" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
102 <Compile Include="ViewModels\UserViewModel.cs" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
103 </ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
104 <ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
105 <None Include="Properties\AppManifest.xml" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
106 </ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
107 <ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
108 <ProjectReference Include="..\SilverlightValidation\SilverlightValidation.csproj"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
109 <Project>{0C1CC1FC-915A-4428-8952-CDC79EABC3F4}</Project> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
110 <Name>SilverlightValidation</Name> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
111 </ProjectReference> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
112 </ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
113 <ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
114 <Folder Include="Validators\" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
115 </ItemGroup> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
116 <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
117 <Import Condition="$(SilverlightVersion)=='v3.0'" Project="$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SilverlightToolkit\Tools\v3.0)Microsoft.Silverlight.Toolkit.Build.targets" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
118 <Import Condition="$(SilverlightVersion)=='v4.0'" Project="$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SilverlightToolkit\Tools\v4.0)Microsoft.Silverlight.Toolkit.Build.targets" /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
119 <ProjectExtensions> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
120 <VisualStudio> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
121 <FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
122 <SilverlightProjectProperties /> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
123 </FlavorProperties> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
124 </VisualStudio> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
125 </ProjectExtensions> |
be4d751f6bff
Unit test project added
stevenhollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
126 </Project> |