forked from tsai/mathnet-numerics
20 changed files with 628 additions and 0 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,35 @@ |
|||
using System.Reflection; |
|||
using System.Runtime.CompilerServices; |
|||
using System.Runtime.InteropServices; |
|||
|
|||
// General Information about an assembly is controlled through the following
|
|||
// set of attributes. Change these attribute values to modify the information
|
|||
// associated with an assembly.
|
|||
[assembly: AssemblyTitle("SilverlightUnitTests.Web")] |
|||
[assembly: AssemblyDescription("")] |
|||
[assembly: AssemblyConfiguration("")] |
|||
[assembly: AssemblyCompany("Microsoft")] |
|||
[assembly: AssemblyProduct("SilverlightUnitTests.Web")] |
|||
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] |
|||
[assembly: AssemblyTrademark("")] |
|||
[assembly: AssemblyCulture("")] |
|||
|
|||
// Setting ComVisible to false makes the types in this assembly not visible
|
|||
// to COM components. If you need to access a type in this assembly from
|
|||
// COM, set the ComVisible attribute to true on that type.
|
|||
[assembly: ComVisible(false)] |
|||
|
|||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|||
[assembly: Guid("cee99d65-c54b-464d-b9fa-da07dc31e36c")] |
|||
|
|||
// Version information for an assembly consists of the following four values:
|
|||
//
|
|||
// Major Version
|
|||
// Minor Version
|
|||
// Build Number
|
|||
// Revision
|
|||
//
|
|||
// You can specify all the values or you can default the Revision and Build Numbers
|
|||
// by using the '*' as shown below:
|
|||
[assembly: AssemblyVersion("1.0.0.0")] |
|||
[assembly: AssemblyFileVersion("1.0.0.0")] |
|||
File diff suppressed because one or more lines are too long
@ -0,0 +1,98 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<PropertyGroup> |
|||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|||
<ProductVersion> |
|||
</ProductVersion> |
|||
<SchemaVersion>2.0</SchemaVersion> |
|||
<ProjectGuid>{A77DE4BB-7893-40C6-B408-DACB6C895976}</ProjectGuid> |
|||
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> |
|||
<OutputType>Library</OutputType> |
|||
<AppDesignerFolder>Properties</AppDesignerFolder> |
|||
<RootNamespace>SilverlightUnitTests.Web</RootNamespace> |
|||
<AssemblyName>SilverlightUnitTests.Web</AssemblyName> |
|||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
|||
<SilverlightApplicationList>{2121F1D8-8E6E-4C2D-89DD-48D6295A6F7A}|..\SilverlightUnitTests\SilverlightUnitTests.csproj|ClientBin|False</SilverlightApplicationList> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|||
<DebugSymbols>true</DebugSymbols> |
|||
<DebugType>full</DebugType> |
|||
<Optimize>false</Optimize> |
|||
<OutputPath>bin\</OutputPath> |
|||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|||
<DebugType>pdbonly</DebugType> |
|||
<Optimize>true</Optimize> |
|||
<OutputPath>bin\</OutputPath> |
|||
<DefineConstants>TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<Reference Include="Microsoft.CSharp" /> |
|||
<Reference Include="System.Web.DynamicData" /> |
|||
<Reference Include="System.Web.Entity" /> |
|||
<Reference Include="System.Web.ApplicationServices" /> |
|||
<Reference Include="System" /> |
|||
<Reference Include="System.Data" /> |
|||
<Reference Include="System.Core" /> |
|||
<Reference Include="System.Data.DataSetExtensions" /> |
|||
<Reference Include="System.Web.Extensions" /> |
|||
<Reference Include="System.Xml.Linq" /> |
|||
<Reference Include="System.Drawing" /> |
|||
<Reference Include="System.Web" /> |
|||
<Reference Include="System.Xml" /> |
|||
<Reference Include="System.Configuration" /> |
|||
<Reference Include="System.Web.Services" /> |
|||
<Reference Include="System.EnterpriseServices" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Content Include="ClientBin\SilverlightUnitTests.xap" /> |
|||
<Content Include="Silverlight.js" /> |
|||
<Content Include="SilverlightUnitTestsTestPage.aspx" /> |
|||
<Content Include="SilverlightUnitTestsTestPage.html" /> |
|||
<Content Include="Web.config" /> |
|||
<Content Include="Web.Debug.config"> |
|||
<DependentUpon>Web.config</DependentUpon> |
|||
</Content> |
|||
<Content Include="Web.Release.config"> |
|||
<DependentUpon>Web.config</DependentUpon> |
|||
</Content> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Compile Include="Properties\AssemblyInfo.cs" /> |
|||
</ItemGroup> |
|||
<ItemGroup /> |
|||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
|||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" /> |
|||
<ProjectExtensions> |
|||
<VisualStudio> |
|||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> |
|||
<WebProjectProperties> |
|||
<UseIIS>False</UseIIS> |
|||
<AutoAssignPort>True</AutoAssignPort> |
|||
<DevelopmentServerPort>54740</DevelopmentServerPort> |
|||
<DevelopmentServerVPath>/</DevelopmentServerVPath> |
|||
<IISUrl> |
|||
</IISUrl> |
|||
<NTLMAuthentication>False</NTLMAuthentication> |
|||
<UseCustomServer>False</UseCustomServer> |
|||
<CustomServerUrl> |
|||
</CustomServerUrl> |
|||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> |
|||
</WebProjectProperties> |
|||
</FlavorProperties> |
|||
</VisualStudio> |
|||
</ProjectExtensions> |
|||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
|||
Other similar extension points exist, see Microsoft.Common.targets. |
|||
<Target Name="BeforeBuild"> |
|||
</Target> |
|||
<Target Name="AfterBuild"> |
|||
</Target> |
|||
--> |
|||
</Project> |
|||
@ -0,0 +1,74 @@ |
|||
<%@ Page Language="C#" AutoEventWireup="true" %> |
|||
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|||
<html xmlns="http://www.w3.org/1999/xhtml" > |
|||
<head runat="server"> |
|||
<title>SilverlightUnitTests</title> |
|||
<style type="text/css"> |
|||
html, body { |
|||
height: 100%; |
|||
overflow: auto; |
|||
} |
|||
body { |
|||
padding: 0; |
|||
margin: 0; |
|||
} |
|||
#silverlightControlHost { |
|||
height: 100%; |
|||
text-align:center; |
|||
} |
|||
</style> |
|||
<script type="text/javascript" src="Silverlight.js"></script> |
|||
<script type="text/javascript"> |
|||
function onSilverlightError(sender, args) { |
|||
var appSource = ""; |
|||
if (sender != null && sender != 0) { |
|||
appSource = sender.getHost().Source; |
|||
} |
|||
|
|||
var errorType = args.ErrorType; |
|||
var iErrorCode = args.ErrorCode; |
|||
|
|||
if (errorType == "ImageError" || errorType == "MediaError") { |
|||
return; |
|||
} |
|||
|
|||
var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n" ; |
|||
|
|||
errMsg += "Code: "+ iErrorCode + " \n"; |
|||
errMsg += "Category: " + errorType + " \n"; |
|||
errMsg += "Message: " + args.ErrorMessage + " \n"; |
|||
|
|||
if (errorType == "ParserError") { |
|||
errMsg += "File: " + args.xamlFile + " \n"; |
|||
errMsg += "Line: " + args.lineNumber + " \n"; |
|||
errMsg += "Position: " + args.charPosition + " \n"; |
|||
} |
|||
else if (errorType == "RuntimeError") { |
|||
if (args.lineNumber != 0) { |
|||
errMsg += "Line: " + args.lineNumber + " \n"; |
|||
errMsg += "Position: " + args.charPosition + " \n"; |
|||
} |
|||
errMsg += "MethodName: " + args.methodName + " \n"; |
|||
} |
|||
|
|||
throw new Error(errMsg); |
|||
} |
|||
</script> |
|||
</head> |
|||
<body> |
|||
<form id="form1" runat="server" style="height:100%"> |
|||
<div id="silverlightControlHost"> |
|||
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"> |
|||
<param name="source" value="ClientBin/SilverlightUnitTests.xap"/> |
|||
<param name="onError" value="onSilverlightError" /> |
|||
<param name="background" value="white" /> |
|||
<param name="minRuntimeVersion" value="4.0.50401.0" /> |
|||
<param name="autoUpgrade" value="true" /> |
|||
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none"> |
|||
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/> |
|||
</a> |
|||
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div> |
|||
</form> |
|||
</body> |
|||
</html> |
|||
@ -0,0 +1,73 @@ |
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|||
<html xmlns="http://www.w3.org/1999/xhtml" > |
|||
|
|||
<head> |
|||
<title>SilverlightUnitTests</title> |
|||
<style type="text/css"> |
|||
html, body { |
|||
height: 100%; |
|||
overflow: auto; |
|||
} |
|||
body { |
|||
padding: 0; |
|||
margin: 0; |
|||
} |
|||
#silverlightControlHost { |
|||
height: 100%; |
|||
text-align:center; |
|||
} |
|||
</style> |
|||
<script type="text/javascript" src="Silverlight.js"></script> |
|||
<script type="text/javascript"> |
|||
function onSilverlightError(sender, args) { |
|||
var appSource = ""; |
|||
if (sender != null && sender != 0) { |
|||
appSource = sender.getHost().Source; |
|||
} |
|||
|
|||
var errorType = args.ErrorType; |
|||
var iErrorCode = args.ErrorCode; |
|||
|
|||
if (errorType == "ImageError" || errorType == "MediaError") { |
|||
return; |
|||
} |
|||
|
|||
var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n" ; |
|||
|
|||
errMsg += "Code: "+ iErrorCode + " \n"; |
|||
errMsg += "Category: " + errorType + " \n"; |
|||
errMsg += "Message: " + args.ErrorMessage + " \n"; |
|||
|
|||
if (errorType == "ParserError") { |
|||
errMsg += "File: " + args.xamlFile + " \n"; |
|||
errMsg += "Line: " + args.lineNumber + " \n"; |
|||
errMsg += "Position: " + args.charPosition + " \n"; |
|||
} |
|||
else if (errorType == "RuntimeError") { |
|||
if (args.lineNumber != 0) { |
|||
errMsg += "Line: " + args.lineNumber + " \n"; |
|||
errMsg += "Position: " + args.charPosition + " \n"; |
|||
} |
|||
errMsg += "MethodName: " + args.methodName + " \n"; |
|||
} |
|||
|
|||
throw new Error(errMsg); |
|||
} |
|||
</script> |
|||
</head> |
|||
<body> |
|||
<form id="form1" runat="server" style="height:100%"> |
|||
<div id="silverlightControlHost"> |
|||
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"> |
|||
<param name="source" value="ClientBin/SilverlightUnitTests.xap"/> |
|||
<param name="onError" value="onSilverlightError" /> |
|||
<param name="background" value="white" /> |
|||
<param name="minRuntimeVersion" value="4.0.50401.0" /> |
|||
<param name="autoUpgrade" value="true" /> |
|||
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none"> |
|||
<img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/> |
|||
</a> |
|||
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div> |
|||
</form> |
|||
</body> |
|||
</html> |
|||
@ -0,0 +1,30 @@ |
|||
<?xml version="1.0"?> |
|||
|
|||
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> |
|||
|
|||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> |
|||
<!-- |
|||
In the example below, the "SetAttributes" transform will change the value of |
|||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator |
|||
finds an atrribute "name" that has a value of "MyDB". |
|||
|
|||
<connectionStrings> |
|||
<add name="MyDB" |
|||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" |
|||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> |
|||
</connectionStrings> |
|||
--> |
|||
<system.web> |
|||
<!-- |
|||
In the example below, the "Replace" transform will replace the entire |
|||
<customErrors> section of your web.config file. |
|||
Note that because there is only one customErrors section under the |
|||
<system.web> node, there is no need to use the "xdt:Locator" attribute. |
|||
|
|||
<customErrors defaultRedirect="GenericError.htm" |
|||
mode="RemoteOnly" xdt:Transform="Replace"> |
|||
<error statusCode="500" redirect="InternalError.htm"/> |
|||
</customErrors> |
|||
--> |
|||
</system.web> |
|||
</configuration> |
|||
@ -0,0 +1,31 @@ |
|||
<?xml version="1.0"?> |
|||
|
|||
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 --> |
|||
|
|||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> |
|||
<!-- |
|||
In the example below, the "SetAttributes" transform will change the value of |
|||
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator |
|||
finds an atrribute "name" that has a value of "MyDB". |
|||
|
|||
<connectionStrings> |
|||
<add name="MyDB" |
|||
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" |
|||
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> |
|||
</connectionStrings> |
|||
--> |
|||
<system.web> |
|||
<compilation xdt:Transform="RemoveAttributes(debug)" /> |
|||
<!-- |
|||
In the example below, the "Replace" transform will replace the entire |
|||
<customErrors> section of your web.config file. |
|||
Note that because there is only one customErrors section under the |
|||
<system.web> node, there is no need to use the "xdt:Locator" attribute. |
|||
|
|||
<customErrors defaultRedirect="GenericError.htm" |
|||
mode="RemoteOnly" xdt:Transform="Replace"> |
|||
<error statusCode="500" redirect="InternalError.htm"/> |
|||
</customErrors> |
|||
--> |
|||
</system.web> |
|||
</configuration> |
|||
@ -0,0 +1,13 @@ |
|||
<?xml version="1.0"?> |
|||
|
|||
<!-- |
|||
For more information on how to configure your ASP.NET application, please visit |
|||
http://go.microsoft.com/fwlink/?LinkId=169433 |
|||
--> |
|||
|
|||
<configuration> |
|||
<system.web> |
|||
<compilation debug="true" targetFramework="4.0" /> |
|||
</system.web> |
|||
|
|||
</configuration> |
|||
@ -0,0 +1,26 @@ |
|||
|
|||
Microsoft Visual Studio Solution File, Format Version 11.00 |
|||
# Visual Studio 2010 |
|||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SilverlightUnitTests", "SilverlightUnitTests\SilverlightUnitTests.csproj", "{2121F1D8-8E6E-4C2D-89DD-48D6295A6F7A}" |
|||
EndProject |
|||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SilverlightUnitTests.Web", "SilverlightUnitTests.Web\SilverlightUnitTests.Web.csproj", "{A77DE4BB-7893-40C6-B408-DACB6C895976}" |
|||
EndProject |
|||
Global |
|||
GlobalSection(SolutionConfigurationPlatforms) = preSolution |
|||
Debug|Any CPU = Debug|Any CPU |
|||
Release|Any CPU = Release|Any CPU |
|||
EndGlobalSection |
|||
GlobalSection(ProjectConfigurationPlatforms) = postSolution |
|||
{2121F1D8-8E6E-4C2D-89DD-48D6295A6F7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|||
{2121F1D8-8E6E-4C2D-89DD-48D6295A6F7A}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|||
{2121F1D8-8E6E-4C2D-89DD-48D6295A6F7A}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|||
{2121F1D8-8E6E-4C2D-89DD-48D6295A6F7A}.Release|Any CPU.Build.0 = Release|Any CPU |
|||
{A77DE4BB-7893-40C6-B408-DACB6C895976}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
|||
{A77DE4BB-7893-40C6-B408-DACB6C895976}.Debug|Any CPU.Build.0 = Debug|Any CPU |
|||
{A77DE4BB-7893-40C6-B408-DACB6C895976}.Release|Any CPU.ActiveCfg = Release|Any CPU |
|||
{A77DE4BB-7893-40C6-B408-DACB6C895976}.Release|Any CPU.Build.0 = Release|Any CPU |
|||
EndGlobalSection |
|||
GlobalSection(SolutionProperties) = preSolution |
|||
HideSolutionNode = FALSE |
|||
EndGlobalSection |
|||
EndGlobal |
|||
@ -0,0 +1,8 @@ |
|||
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
x:Class="SilverlightUnitTests.App" |
|||
> |
|||
<Application.Resources> |
|||
|
|||
</Application.Resources> |
|||
</Application> |
|||
@ -0,0 +1,60 @@ |
|||
using System; |
|||
using System.Windows; |
|||
using Microsoft.Silverlight.Testing; |
|||
|
|||
namespace SilverlightUnitTests |
|||
{ |
|||
public partial class App : Application |
|||
{ |
|||
|
|||
private void Application_Startup(object sender, StartupEventArgs e) |
|||
{ |
|||
UnitTestSystem.RegisterUnitTestProvider( |
|||
new Microsoft.Silverlight.Testing.UnitTesting.Metadata.NUnit.NUnitProvider()); |
|||
RootVisual = UnitTestSystem.CreateTestPage(); |
|||
} |
|||
|
|||
public App() |
|||
{ |
|||
this.Startup += this.Application_Startup; |
|||
this.Exit += this.Application_Exit; |
|||
this.UnhandledException += this.Application_UnhandledException; |
|||
|
|||
InitializeComponent(); |
|||
} |
|||
|
|||
private void Application_Exit(object sender, EventArgs e) |
|||
{ |
|||
|
|||
} |
|||
private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) |
|||
{ |
|||
// If the app is running outside of the debugger then report the exception using
|
|||
// the browser's exception mechanism. On IE this will display it a yellow alert
|
|||
// icon in the status bar and Firefox will display a script error.
|
|||
if (!System.Diagnostics.Debugger.IsAttached) |
|||
{ |
|||
|
|||
// NOTE: This will allow the application to continue running after an exception has been thrown
|
|||
// but not handled.
|
|||
// For production applications this error handling should be replaced with something that will
|
|||
// report the error to the website and stop the application.
|
|||
e.Handled = true; |
|||
Deployment.Current.Dispatcher.BeginInvoke(delegate { ReportErrorToDOM(e); }); |
|||
} |
|||
} |
|||
private void ReportErrorToDOM(ApplicationUnhandledExceptionEventArgs e) |
|||
{ |
|||
try |
|||
{ |
|||
string errorMsg = e.ExceptionObject.Message + e.ExceptionObject.StackTrace; |
|||
errorMsg = errorMsg.Replace('"', '\'').Replace("\r\n", @"\n"); |
|||
|
|||
System.Windows.Browser.HtmlPage.Window.Eval("throw new Error(\"Unhandled Error in Silverlight Application " + errorMsg + "\");"); |
|||
} |
|||
catch (Exception) |
|||
{ |
|||
} |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,7 @@ |
|||
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
> |
|||
<Deployment.Parts> |
|||
</Deployment.Parts> |
|||
|
|||
</Deployment> |
|||
@ -0,0 +1,37 @@ |
|||
// Copyright © Microsoft 2010
|
|||
|
|||
using System.Reflection; |
|||
using System.Runtime.CompilerServices; |
|||
using System.Runtime.InteropServices; |
|||
|
|||
// General Information about an assembly is controlled through the following
|
|||
// set of attributes. Change these attribute values to modify the information
|
|||
// associated with an assembly.
|
|||
[assembly: AssemblyTitle("SilverlightUnitTests")] |
|||
[assembly: AssemblyDescription("")] |
|||
[assembly: AssemblyConfiguration("")] |
|||
[assembly: AssemblyCompany("Microsoft")] |
|||
[assembly: AssemblyProduct("SilverlightUnitTests")] |
|||
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] |
|||
[assembly: AssemblyTrademark("")] |
|||
[assembly: AssemblyCulture("")] |
|||
|
|||
// Setting ComVisible to false makes the types in this assembly not visible
|
|||
// to COM components. If you need to access a type in this assembly from
|
|||
// COM, set the ComVisible attribute to true on that type.
|
|||
[assembly: ComVisible(false)] |
|||
|
|||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|||
[assembly: Guid("4b9a3ed5-3241-4cf1-aac2-3fb6336d48c0")] |
|||
|
|||
// Version information for an assembly consists of the following four values:
|
|||
//
|
|||
// Major Version
|
|||
// Minor Version
|
|||
// Build Number
|
|||
// Revision
|
|||
//
|
|||
// You can specify all the values or you can default the Revision and Build Numbers
|
|||
// by using the '*' as shown below:
|
|||
[assembly: AssemblyVersion("1.0.0.0")] |
|||
[assembly: AssemblyFileVersion("1.0.0.0")] |
|||
@ -0,0 +1,134 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<PropertyGroup> |
|||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|||
<ProductVersion>9.0.30729</ProductVersion> |
|||
<SchemaVersion>2.0</SchemaVersion> |
|||
<ProjectGuid>{2121F1D8-8E6E-4C2D-89DD-48D6295A6F7A}</ProjectGuid> |
|||
<ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> |
|||
<OutputType>Library</OutputType> |
|||
<AppDesignerFolder>Properties</AppDesignerFolder> |
|||
<RootNamespace>SilverlightUnitTests</RootNamespace> |
|||
<AssemblyName>SilverlightUnitTests</AssemblyName> |
|||
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier> |
|||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
|||
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> |
|||
<SilverlightApplication>true</SilverlightApplication> |
|||
<SupportedCultures /> |
|||
<XapOutputs>true</XapOutputs> |
|||
<GenerateSilverlightManifest>true</GenerateSilverlightManifest> |
|||
<XapFilename>SilverlightUnitTests.xap</XapFilename> |
|||
<SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate> |
|||
<SilverlightAppEntry>SilverlightUnitTests.App</SilverlightAppEntry> |
|||
<TestPageFileName>TestPage.html</TestPageFileName> |
|||
<CreateTestPage>true</CreateTestPage> |
|||
<ValidateXaml>true</ValidateXaml> |
|||
<EnableOutOfBrowser>false</EnableOutOfBrowser> |
|||
<OutOfBrowserSettingsFile>Properties\OutOfBrowserSettings.xml</OutOfBrowserSettingsFile> |
|||
<UsePlatformExtensions>false</UsePlatformExtensions> |
|||
<ThrowErrorsInValidation>true</ThrowErrorsInValidation> |
|||
<LinkedServerProject /> |
|||
</PropertyGroup> |
|||
<!-- |
|||
// |
|||
// Silverlight Code Coverage Instrumentation |
|||
// List any libraries or assemblies that you would like to instrument during |
|||
// a code coverage pass. An example, for ClassLibrary1, is provided, and |
|||
// commented out below as a starting point: |
|||
// |
|||
--> |
|||
<!-- |
|||
<ItemGroup> |
|||
<InstrumentSilverlightAssemblies Include="SilverlightClassLibrary1"> |
|||
<Visible>false</Visible> |
|||
</InstrumentSilverlightAssemblies> |
|||
</ItemGroup> |
|||
--> |
|||
<!-- This property group is only here to support building this project using the |
|||
MSBuild 3.5 toolset. In order to work correctly with this older toolset, it needs |
|||
to set the TargetFrameworkVersion to v3.5 --> |
|||
<PropertyGroup Condition="'$(MSBuildToolsVersion)' == '3.5'"> |
|||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|||
<DebugSymbols>true</DebugSymbols> |
|||
<DebugType>full</DebugType> |
|||
<Optimize>false</Optimize> |
|||
<OutputPath>Bin\Debug</OutputPath> |
|||
<DefineConstants>DEBUG;TRACE;SILVERLIGHT</DefineConstants> |
|||
<NoStdLib>true</NoStdLib> |
|||
<NoConfig>true</NoConfig> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|||
<DebugType>pdbonly</DebugType> |
|||
<Optimize>true</Optimize> |
|||
<OutputPath>Bin\Release</OutputPath> |
|||
<DefineConstants>TRACE;SILVERLIGHT</DefineConstants> |
|||
<NoStdLib>true</NoStdLib> |
|||
<NoConfig>true</NoConfig> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<Reference Include="MathNet.Numerics"> |
|||
<HintPath>..\..\..\out\debug\SL4\MathNet.Numerics.dll</HintPath> |
|||
</Reference> |
|||
<Reference Include="Microsoft.Silverlight.Testing"> |
|||
<HintPath>$(MSBuildExtensionsPath)\..\Microsoft SDKs\Silverlight\v4.0\Toolkit\Apr10\Testing\Microsoft.Silverlight.Testing.dll</HintPath> |
|||
</Reference> |
|||
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight"> |
|||
<HintPath>$(MSBuildExtensionsPath)\..\Microsoft SDKs\Silverlight\v4.0\Toolkit\Apr10\Testing\Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll</HintPath> |
|||
</Reference> |
|||
<Reference Include="NUnit.Silverlight.Compatibility"> |
|||
<HintPath>..\..\..\lib\NUnit.Silverlight.2.5.8\NUnit.Silverlight.Compatibility.dll</HintPath> |
|||
</Reference> |
|||
<Reference Include="NUnit.Silverlight.Framework"> |
|||
<HintPath>..\..\..\lib\NUnit.Silverlight.2.5.8\NUnit.Silverlight.Framework.dll</HintPath> |
|||
</Reference> |
|||
<Reference Include="NUnit.Silverlight.Metadata"> |
|||
<HintPath>..\..\..\lib\NUnit.Silverlight.2.5.8\NUnit.Silverlight.Metadata.dll</HintPath> |
|||
</Reference> |
|||
<Reference Include="System.Numerics, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> |
|||
<Reference Include="System.Windows" /> |
|||
<Reference Include="mscorlib" /> |
|||
<Reference Include="system" /> |
|||
<Reference Include="System.Core" /> |
|||
<Reference Include="System.Net" /> |
|||
<Reference Include="System.Xml" /> |
|||
<Reference Include="System.Windows.Browser" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Compile Include="..\..\NUnitTests\AssertHelpers.cs"> |
|||
<Link>AssertHelpers.cs</Link> |
|||
</Compile> |
|||
<Compile Include="..\..\NUnitTests\LinearAlgebraProviderTests\Double\LinearAlgebraProviderTests.cs"> |
|||
<Link>LinearAlgebraProviderTests\Double\LinearAlgebraProviderTests.cs</Link> |
|||
</Compile> |
|||
<Compile Include="App.xaml.cs"> |
|||
<DependentUpon>App.xaml</DependentUpon> |
|||
</Compile> |
|||
<Compile Include="Properties\AssemblyInfo.cs" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<ApplicationDefinition Include="App.xaml"> |
|||
<SubType>Designer</SubType> |
|||
<Generator>MSBuild:Compile</Generator> |
|||
</ApplicationDefinition> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<None Include="Properties\AppManifest.xml" /> |
|||
</ItemGroup> |
|||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" /> |
|||
<Import Condition="$(SilverlightVersion)=='v3.0'" Project="$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SilverlightToolkit\Tools\v3.0)Microsoft.Silverlight.Toolkit.Build.targets" /> |
|||
<Import Condition="$(SilverlightVersion)=='v4.0'" Project="$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SilverlightToolkit\Tools\v4.0)Microsoft.Silverlight.Toolkit.Build.targets" /> |
|||
<ProjectExtensions> |
|||
<VisualStudio> |
|||
<FlavorProperties GUID="{A1591282-1198-4647-A2B1-27E5FF5F6F3B}"> |
|||
<SilverlightProjectProperties /> |
|||
</FlavorProperties> |
|||
</VisualStudio> |
|||
</ProjectExtensions> |
|||
</Project> |
|||
Loading…
Reference in new issue