Skip to content

Commit 4c7bcc2

Browse files
committed
vs2015
1 parent 67a377d commit 4c7bcc2

4 files changed

Lines changed: 13 additions & 6 deletions

File tree

ConvNetSharp.2015.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConvNetSharp.Flow.Tests.201
3737
EndProject
3838
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConvNetSharp.Utils.2015", "src\ConvNetSharp.Utils\ConvNetSharp.Utils.2015.csproj", "{64DB0F34-099A-41F8-A9D5-E58DD66A1276}"
3939
EndProject
40+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FlowDemo.2015", "Examples\FlowDemo\FlowDemo.2015.csproj", "{4DAFB991-F930-4E9C-9E87-CB22F526EE8D}"
41+
EndProject
4042
Global
4143
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4244
Debug|Any CPU = Debug|Any CPU
@@ -107,6 +109,10 @@ Global
107109
{64DB0F34-099A-41F8-A9D5-E58DD66A1276}.Debug|Any CPU.Build.0 = Debug|Any CPU
108110
{64DB0F34-099A-41F8-A9D5-E58DD66A1276}.Release|Any CPU.ActiveCfg = Release|Any CPU
109111
{64DB0F34-099A-41F8-A9D5-E58DD66A1276}.Release|Any CPU.Build.0 = Release|Any CPU
112+
{4DAFB991-F930-4E9C-9E87-CB22F526EE8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
113+
{4DAFB991-F930-4E9C-9E87-CB22F526EE8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
114+
{4DAFB991-F930-4E9C-9E87-CB22F526EE8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
115+
{4DAFB991-F930-4E9C-9E87-CB22F526EE8D}.Release|Any CPU.Build.0 = Release|Any CPU
110116
EndGlobalSection
111117
GlobalSection(SolutionProperties) = preSolution
112118
HideSolutionNode = FALSE
@@ -118,5 +124,6 @@ Global
118124
{C113E052-9096-45A6-82BC-DD82C5001CE5} = {52D65A64-6583-4C2B-A41B-009A739CCC80}
119125
{A8B66B25-6CE8-4B01-A622-D37D4A0029D0} = {52D65A64-6583-4C2B-A41B-009A739CCC80}
120126
{2DBFF0A4-0CB2-4B50-9695-BB37A5A5BCA2} = {52D65A64-6583-4C2B-A41B-009A739CCC80}
127+
{4DAFB991-F930-4E9C-9E87-CB22F526EE8D} = {52D65A64-6583-4C2B-A41B-009A739CCC80}
121128
EndGlobalSection
122129
EndGlobal

Examples/FlowDemo/App.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>
55
</startup>
66
</configuration>

Examples/FlowDemo/ExampleCPUSingle.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static void Example1()
5757
float currentCost;
5858
do
5959
{
60-
var dico = new Dictionary<string, Volume<float>> {{"x", -2.0f}, {"y", 1.0f}};
60+
var dico = new Dictionary<string, Volume<float>> { { "x", -2.0f }, { "y", 1.0f } };
6161

6262
currentCost = session.Run(cost, dico);
6363
Console.WriteLine($"cost: {currentCost}");
@@ -75,7 +75,7 @@ public static void Example1()
7575
// Display grpah
7676
var vm = new ViewModel<float>(cost);
7777
var app = new Application();
78-
app.Run(new GraphControl {DataContext = vm});
78+
app.Run(new GraphControl { DataContext = vm });
7979
}
8080

8181
Console.ReadKey();
@@ -99,7 +99,7 @@ public static void Example2()
9999
// Display grpah
100100
var vm = new ViewModel<float>(x.Derivate);
101101
var app = new Application();
102-
app.Run(new GraphControl {DataContext = vm});
102+
app.Run(new GraphControl { DataContext = vm });
103103
}
104104

105105
Console.ReadKey();

Examples/FlowDemo/FlowDemo.2015.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<OutputType>Exe</OutputType>
99
<RootNamespace>FlowDemo</RootNamespace>
1010
<AssemblyName>FlowDemo</AssemblyName>
11-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<TargetFrameworkProfile />
@@ -52,10 +52,10 @@
5252
</Reference>
5353
</ItemGroup>
5454
<ItemGroup>
55+
<Compile Include="Classify2DDemo.cs" />
5556
<Compile Include="ExampleCPUDouble.cs" />
5657
<Compile Include="ExampleCPUSingle.cs" />
5758
<Compile Include="ExampleGPUSingle.cs" />
58-
<Compile Include="NetExampleSingle.cs" />
5959
<Compile Include="Program.cs" />
6060
<Compile Include="Properties\AssemblyInfo.cs" />
6161
</ItemGroup>

0 commit comments

Comments
 (0)