Skip to content

Commit 3a08cb9

Browse files
Oceania20189prady9
authored andcommitted
Upgrade ArrayFire to .NET Standard 2.0.
HelloWorld to .NET Core 2.2 Unified to .NET Core 2.2
1 parent 34622ef commit 3a08cb9

File tree

11 files changed

+108
-336
lines changed

11 files changed

+108
-336
lines changed

ArrayFire.sln

Lines changed: 37 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,63 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.23107.0
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.271
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArrayFire", "Wrapper\ArrayFire.csproj", "{C5F2B49F-6E49-4F37-B8FC-A70C9A061108}"
7-
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWorld (CSharp)", "Examples\HelloWorld\CSharp\HelloWorld (CSharp).csproj", "{3DDF07D8-2260-47D5-ABCF-2BF7B2818FAC}"
9-
EndProject
10-
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "HelloWorld (FSharp)", "Examples\HelloWorld\FSharp\HelloWorld (FSharp).fsproj", "{55144E61-0740-4116-8F43-A45F1A9909AB}"
11-
EndProject
126
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{45CBAB24-008E-4178-A16A-9FBBE040CDBE}"
137
EndProject
148
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "HelloWorld", "HelloWorld", "{AC341C39-59B7-4A22-B5E2-DD396C0D44AE}"
159
EndProject
1610
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Unified", "Unified", "{24457EBB-BD66-41D2-A49B-640ABE20D302}"
1711
EndProject
18-
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Unified (FSharp)", "Examples\Unified\FSharp\Unified (FSharp).fsproj", "{EC9265E4-314C-4BF4-B929-6BF419869B46}"
12+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ArrayFire", "Wrapper\ArrayFire.csproj", "{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}"
1913
EndProject
20-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unified (CSharp)", "Examples\Unified\CSharp\Unified (CSharp).csproj", "{37C673D3-0492-43CC-B1E4-B59F17E053BC}"
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloWorld (CSharp)", "Examples\HelloWorld\CSharp\HelloWorld (CSharp).csproj", "{6C9F655E-21DC-42B2-9138-F8BDDE62898A}"
15+
EndProject
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Unified (CSharp)", "Examples\Unified\CSharp\Unified (CSharp).csproj", "{099DF4F9-2607-4671-B908-2FE49C12A084}"
2117
EndProject
2218
Global
2319
GlobalSection(SolutionConfigurationPlatforms) = preSolution
20+
Debug|Any CPU = Debug|Any CPU
2421
Debug|x64 = Debug|x64
22+
Release|Any CPU = Release|Any CPU
2523
Release|x64 = Release|x64
2624
EndGlobalSection
2725
GlobalSection(ProjectConfigurationPlatforms) = postSolution
28-
{C5F2B49F-6E49-4F37-B8FC-A70C9A061108}.Debug|x64.ActiveCfg = Debug|x64
29-
{C5F2B49F-6E49-4F37-B8FC-A70C9A061108}.Debug|x64.Build.0 = Debug|x64
30-
{C5F2B49F-6E49-4F37-B8FC-A70C9A061108}.Release|x64.ActiveCfg = Release|x64
31-
{C5F2B49F-6E49-4F37-B8FC-A70C9A061108}.Release|x64.Build.0 = Release|x64
32-
{3DDF07D8-2260-47D5-ABCF-2BF7B2818FAC}.Debug|x64.ActiveCfg = Debug|x64
33-
{3DDF07D8-2260-47D5-ABCF-2BF7B2818FAC}.Debug|x64.Build.0 = Debug|x64
34-
{3DDF07D8-2260-47D5-ABCF-2BF7B2818FAC}.Release|x64.ActiveCfg = Release|x64
35-
{3DDF07D8-2260-47D5-ABCF-2BF7B2818FAC}.Release|x64.Build.0 = Release|x64
36-
{55144E61-0740-4116-8F43-A45F1A9909AB}.Debug|x64.ActiveCfg = Debug|x64
37-
{55144E61-0740-4116-8F43-A45F1A9909AB}.Debug|x64.Build.0 = Debug|x64
38-
{55144E61-0740-4116-8F43-A45F1A9909AB}.Release|x64.ActiveCfg = Release|x64
39-
{55144E61-0740-4116-8F43-A45F1A9909AB}.Release|x64.Build.0 = Release|x64
40-
{EC9265E4-314C-4BF4-B929-6BF419869B46}.Debug|x64.ActiveCfg = Debug|x64
41-
{EC9265E4-314C-4BF4-B929-6BF419869B46}.Debug|x64.Build.0 = Debug|x64
42-
{EC9265E4-314C-4BF4-B929-6BF419869B46}.Release|x64.ActiveCfg = Release|x64
43-
{EC9265E4-314C-4BF4-B929-6BF419869B46}.Release|x64.Build.0 = Release|x64
44-
{37C673D3-0492-43CC-B1E4-B59F17E053BC}.Debug|x64.ActiveCfg = Debug|x64
45-
{37C673D3-0492-43CC-B1E4-B59F17E053BC}.Debug|x64.Build.0 = Debug|x64
46-
{37C673D3-0492-43CC-B1E4-B59F17E053BC}.Release|x64.ActiveCfg = Release|x64
47-
{37C673D3-0492-43CC-B1E4-B59F17E053BC}.Release|x64.Build.0 = Release|x64
26+
{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}.Debug|x64.ActiveCfg = Debug|Any CPU
29+
{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}.Debug|x64.Build.0 = Debug|Any CPU
30+
{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}.Release|Any CPU.Build.0 = Release|Any CPU
32+
{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}.Release|x64.ActiveCfg = Release|Any CPU
33+
{CCF40342-16B0-4B9E-97D9-BBDD0F4E6870}.Release|x64.Build.0 = Release|Any CPU
34+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A}.Debug|Any CPU.Build.0 = Debug|Any CPU
36+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A}.Debug|x64.ActiveCfg = Debug|Any CPU
37+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A}.Debug|x64.Build.0 = Debug|Any CPU
38+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A}.Release|Any CPU.ActiveCfg = Release|Any CPU
39+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A}.Release|x64.ActiveCfg = Release|Any CPU
41+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A}.Release|x64.Build.0 = Release|Any CPU
42+
{099DF4F9-2607-4671-B908-2FE49C12A084}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
43+
{099DF4F9-2607-4671-B908-2FE49C12A084}.Debug|Any CPU.Build.0 = Debug|Any CPU
44+
{099DF4F9-2607-4671-B908-2FE49C12A084}.Debug|x64.ActiveCfg = Debug|Any CPU
45+
{099DF4F9-2607-4671-B908-2FE49C12A084}.Debug|x64.Build.0 = Debug|Any CPU
46+
{099DF4F9-2607-4671-B908-2FE49C12A084}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{099DF4F9-2607-4671-B908-2FE49C12A084}.Release|Any CPU.Build.0 = Release|Any CPU
48+
{099DF4F9-2607-4671-B908-2FE49C12A084}.Release|x64.ActiveCfg = Release|Any CPU
49+
{099DF4F9-2607-4671-B908-2FE49C12A084}.Release|x64.Build.0 = Release|Any CPU
4850
EndGlobalSection
4951
GlobalSection(SolutionProperties) = preSolution
5052
HideSolutionNode = FALSE
5153
EndGlobalSection
5254
GlobalSection(NestedProjects) = preSolution
53-
{3DDF07D8-2260-47D5-ABCF-2BF7B2818FAC} = {AC341C39-59B7-4A22-B5E2-DD396C0D44AE}
54-
{55144E61-0740-4116-8F43-A45F1A9909AB} = {AC341C39-59B7-4A22-B5E2-DD396C0D44AE}
5555
{AC341C39-59B7-4A22-B5E2-DD396C0D44AE} = {45CBAB24-008E-4178-A16A-9FBBE040CDBE}
5656
{24457EBB-BD66-41D2-A49B-640ABE20D302} = {45CBAB24-008E-4178-A16A-9FBBE040CDBE}
57-
{EC9265E4-314C-4BF4-B929-6BF419869B46} = {24457EBB-BD66-41D2-A49B-640ABE20D302}
58-
{37C673D3-0492-43CC-B1E4-B59F17E053BC} = {24457EBB-BD66-41D2-A49B-640ABE20D302}
57+
{6C9F655E-21DC-42B2-9138-F8BDDE62898A} = {AC341C39-59B7-4A22-B5E2-DD396C0D44AE}
58+
{099DF4F9-2607-4671-B908-2FE49C12A084} = {24457EBB-BD66-41D2-A49B-640ABE20D302}
59+
EndGlobalSection
60+
GlobalSection(ExtensibilityGlobals) = postSolution
61+
SolutionGuid = {E3A0DE14-88D3-4AEC-B6F6-97A6CA052C53}
5962
EndGlobalSection
6063
EndGlobal
Lines changed: 8 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,13 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
43
<PropertyGroup>
5-
<ProjectGuid>{3DDF07D8-2260-47D5-ABCF-2BF7B2818FAC}</ProjectGuid>
64
<OutputType>Exe</OutputType>
7-
<AppDesignerFolder>Properties</AppDesignerFolder>
8-
<RootNamespace>HelloWorld.CSharp</RootNamespace>
9-
<AssemblyName>HelloWorld.CSharp</AssemblyName>
10-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11-
<FileAlignment>512</FileAlignment>
5+
<TargetFramework>netcoreapp2.2</TargetFramework>
6+
<RootNamespace>HelloWorld__CSharp_</RootNamespace>
127
</PropertyGroup>
13-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
14-
<DebugSymbols>true</DebugSymbols>
15-
<OutputPath>bin\Debug\</OutputPath>
16-
<DefineConstants>DEBUG;TRACE</DefineConstants>
17-
<DebugType>full</DebugType>
18-
<PlatformTarget>x64</PlatformTarget>
19-
<ErrorReport>prompt</ErrorReport>
20-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
21-
<Prefer32Bit>true</Prefer32Bit>
22-
<EnableUnmanagedDebugging>true</EnableUnmanagedDebugging>
23-
</PropertyGroup>
24-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
25-
<OutputPath>bin\Release\</OutputPath>
26-
<DefineConstants>TRACE</DefineConstants>
27-
<Optimize>true</Optimize>
28-
<DebugType>pdbonly</DebugType>
29-
<PlatformTarget>x64</PlatformTarget>
30-
<ErrorReport>prompt</ErrorReport>
31-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
32-
<Prefer32Bit>true</Prefer32Bit>
33-
<EnableUnmanagedDebugging>true</EnableUnmanagedDebugging>
34-
</PropertyGroup>
35-
<ItemGroup>
36-
<Reference Include="System" />
37-
<Reference Include="System.Core" />
38-
<Reference Include="Microsoft.CSharp" />
39-
<Reference Include="System.Numerics" />
40-
</ItemGroup>
41-
<ItemGroup>
42-
<Compile Include="Program.cs" />
43-
</ItemGroup>
44-
<ItemGroup>
45-
<Folder Include="Properties\" />
46-
</ItemGroup>
8+
479
<ItemGroup>
48-
<ProjectReference Include="..\..\..\Wrapper\ArrayFire.csproj">
49-
<Project>{c5f2b49f-6e49-4f37-b8fc-a70c9a061108}</Project>
50-
<Name>ArrayFire</Name>
51-
</ProjectReference>
10+
<ProjectReference Include="..\..\..\Wrapper\ArrayFire.csproj" />
5211
</ItemGroup>
53-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
54-
<PropertyGroup>
55-
<PostBuildEvent>echo copy "$(CUDA_PATH)\nvvm\bin\nvvm64*.dll" "$(TargetDir)"
56-
copy "$(CUDA_PATH)\nvvm\bin\nvvm64*.dll" "$(TargetDir)"
57-
if errorlevel 1 (
58-
echo "CUDA NVVM DLLs copy failed due to missing files."
59-
exit /B 0
60-
)</PostBuildEvent>
61-
</PropertyGroup>
62-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
63-
Other similar extension points exist, see Microsoft.Common.targets.
64-
<Target Name="BeforeBuild">
65-
</Target>
66-
<Target Name="AfterBuild">
67-
</Target>
68-
-->
69-
</Project>
12+
13+
</Project>

Examples/HelloWorld/CSharp/Program.cs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1+
using ArrayFire;
12
using System;
2-
using System.Numerics;
3-
using System.Collections.Generic;
43

5-
using ArrayFire;
6-
7-
// If using Visual Studio 2015 you can uncomment the following lines and type Sin() instead of Arith.Sin(), Seq() instead of Util.Seq(), and so on.
8-
// using static ArrayFire.Arith;
9-
// using static ArrayFire.Util;
10-
11-
namespace CSharpTesting
4+
namespace HelloWorld__CSharp_
125
{
136
class Program
147
{
@@ -35,7 +28,6 @@ static void Main(string[] args)
3528
Util.Print(corner, "arr1's top-left 2x2 corner");
3629
arr2[Util.Seq(1, 2), Util.Seq(1, 2)] = corner;
3730
Util.Print(arr2, "arr2 with botton-right 2x2 corner ovewritten with the previous result");
38-
3931
}
4032
}
4133
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
5+
</startup>
6+
</configuration>

Examples/HelloWorld/FSharp/HelloWorld (FSharp).fsproj

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,12 @@
77
<OutputType>Exe</OutputType>
88
<RootNamespace>HelloWorld.FSharp</RootNamespace>
99
<AssemblyName>HelloWorld.FSharp</AssemblyName>
10-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
10+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1111
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1212
<TargetFSharpCoreVersion>4.4.0.0</TargetFSharpCoreVersion>
1313
<Name>HelloWorld (FSharp)</Name>
14+
<TargetFrameworkProfile />
1415
</PropertyGroup>
15-
<ItemGroup>
16-
<Reference Include="mscorlib" />
17-
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
18-
<Private>True</Private>
19-
</Reference>
20-
<Reference Include="System" />
21-
<Reference Include="System.Core" />
22-
<Reference Include="System.Numerics" />
23-
</ItemGroup>
24-
<ItemGroup>
25-
<Compile Include="Program.fs" />
26-
</ItemGroup>
27-
<ItemGroup>
28-
<ProjectReference Include="..\..\..\Wrapper\ArrayFire.csproj">
29-
<Name>ArrayFire</Name>
30-
<Project>{c5f2b49f-6e49-4f37-b8fc-a70c9a061108}</Project>
31-
<Private>True</Private>
32-
</ProjectReference>
33-
</ItemGroup>
3416
<PropertyGroup>
3517
<MinimumVisualStudioVersion Condition="'$(MinimumVisualStudioVersion)' == ''">11</MinimumVisualStudioVersion>
3618
</PropertyGroup>
@@ -81,6 +63,21 @@ if errorlevel 1 (
8163
exit /B 0
8264
)</PostBuildEvent>
8365
</PropertyGroup>
66+
<ItemGroup>
67+
<Compile Include="Program.fs" />
68+
<Content Include="App.config">
69+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
70+
</Content>
71+
</ItemGroup>
72+
<ItemGroup>
73+
<Reference Include="mscorlib" />
74+
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
75+
<Private>True</Private>
76+
</Reference>
77+
<Reference Include="System" />
78+
<Reference Include="System.Core" />
79+
<Reference Include="System.Numerics" />
80+
</ItemGroup>
8481
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8582
Other similar extension points exist, see Microsoft.Common.targets.
8683
<Target Name="BeforeBuild">

Examples/Unified/CSharp/Program.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1+
using ArrayFire;
12
using System;
2-
using System.Numerics;
3-
using System.Collections.Generic;
43

5-
using ArrayFire;
6-
7-
namespace CSharpTesting
4+
namespace Unified__CSharp_
85
{
96
class Program
107
{
Lines changed: 8 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,13 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
43
<PropertyGroup>
5-
<ProjectGuid>{37C673D3-0492-43CC-B1E4-B59F17E053BC}</ProjectGuid>
64
<OutputType>Exe</OutputType>
7-
<AppDesignerFolder>Properties</AppDesignerFolder>
8-
<RootNamespace>Unified.CSharp</RootNamespace>
9-
<AssemblyName>Unified.CSharp</AssemblyName>
10-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11-
<FileAlignment>512</FileAlignment>
5+
<TargetFramework>netcoreapp2.2</TargetFramework>
6+
<RootNamespace>Unified__CSharp_</RootNamespace>
127
</PropertyGroup>
13-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
14-
<DebugSymbols>true</DebugSymbols>
15-
<OutputPath>bin\Debug\</OutputPath>
16-
<DefineConstants>DEBUG;TRACE</DefineConstants>
17-
<DebugType>full</DebugType>
18-
<PlatformTarget>x64</PlatformTarget>
19-
<ErrorReport>prompt</ErrorReport>
20-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
21-
<Prefer32Bit>true</Prefer32Bit>
22-
<EnableUnmanagedDebugging>true</EnableUnmanagedDebugging>
23-
</PropertyGroup>
24-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
25-
<OutputPath>bin\Release\</OutputPath>
26-
<DefineConstants>TRACE</DefineConstants>
27-
<Optimize>true</Optimize>
28-
<DebugType>pdbonly</DebugType>
29-
<PlatformTarget>x64</PlatformTarget>
30-
<ErrorReport>prompt</ErrorReport>
31-
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
32-
<Prefer32Bit>true</Prefer32Bit>
33-
<EnableUnmanagedDebugging>true</EnableUnmanagedDebugging>
34-
</PropertyGroup>
35-
<ItemGroup>
36-
<Reference Include="System" />
37-
<Reference Include="System.Core" />
38-
<Reference Include="Microsoft.CSharp" />
39-
<Reference Include="System.Numerics" />
40-
</ItemGroup>
41-
<ItemGroup>
42-
<Compile Include="Program.cs" />
43-
</ItemGroup>
44-
<ItemGroup>
45-
<Folder Include="Properties\" />
46-
</ItemGroup>
8+
479
<ItemGroup>
48-
<ProjectReference Include="..\..\..\Wrapper\ArrayFire.csproj">
49-
<Project>{c5f2b49f-6e49-4f37-b8fc-a70c9a061108}</Project>
50-
<Name>ArrayFire</Name>
51-
</ProjectReference>
10+
<ProjectReference Include="..\..\..\Wrapper\ArrayFire.csproj" />
5211
</ItemGroup>
53-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
54-
<PropertyGroup>
55-
<PostBuildEvent>echo copy "$(CUDA_PATH)\nvvm\bin\nvvm64*.dll" "$(TargetDir)"
56-
copy "$(CUDA_PATH)\nvvm\bin\nvvm64*.dll" "$(TargetDir)"
57-
if errorlevel 1 (
58-
echo "CUDA NVVM DLLs copy failed due to missing files."
59-
exit /B 0
60-
)</PostBuildEvent>
61-
</PropertyGroup>
62-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
63-
Other similar extension points exist, see Microsoft.Common.targets.
64-
<Target Name="BeforeBuild">
65-
</Target>
66-
<Target Name="AfterBuild">
67-
</Target>
68-
-->
69-
</Project>
12+
13+
</Project>

Examples/Unified/FSharp/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
5+
</startup>
6+
</configuration>

0 commit comments

Comments
 (0)