comparison SilverlightValidation/SilverlightValidation.Tests/SilverlightValidation.Tests.csproj @ 96:188f8b366e87

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