From e4c007ad6a372075625219ab3080ad3a13486cfa Mon Sep 17 00:00:00 2001 From: "HOT-ROD\\craig" Date: Tue, 29 May 2018 22:05:07 +0100 Subject: [PATCH] Added library to solution. Added reference to the console project also. --- BFLib/AssemblyInfo.fs | 41 +++++++++++++++++ BFLib/BFLib.fsproj | 80 ++++++++++++++++++++++++++++++++++ BFLib/Library1.fs | 4 ++ BFLib/Script.fsx | 8 ++++ BFLib/packages.config | 4 ++ BrittleFish.sln | 6 +++ BrittleFish/BrittleFish.fsproj | 7 +++ 7 files changed, 150 insertions(+) create mode 100644 BFLib/AssemblyInfo.fs create mode 100644 BFLib/BFLib.fsproj create mode 100644 BFLib/Library1.fs create mode 100644 BFLib/Script.fsx create mode 100644 BFLib/packages.config diff --git a/BFLib/AssemblyInfo.fs b/BFLib/AssemblyInfo.fs new file mode 100644 index 0000000..60e654c --- /dev/null +++ b/BFLib/AssemblyInfo.fs @@ -0,0 +1,41 @@ +namespace BFLib.AssemblyInfo + +open System.Reflection +open System.Runtime.CompilerServices +open 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. +[] +[] +[] +[] +[] +[] +[] +[] + +// 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. +[] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[] + +// 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 Build and Revision Numbers +// by using the '*' as shown below: +// [] +[] +[] + +do + () \ No newline at end of file diff --git a/BFLib/BFLib.fsproj b/BFLib/BFLib.fsproj new file mode 100644 index 0000000..34c1fcd --- /dev/null +++ b/BFLib/BFLib.fsproj @@ -0,0 +1,80 @@ + + + + + Debug + AnyCPU + 2.0 + 4f3c02d5-e76c-4389-8779-02d06ee6af92 + Library + BFLib + BFLib + true + v4.7.1 + 4.4.3.0 + true + BFLib + + + true + full + false + false + bin\$(Configuration)\ + DEBUG;TRACE + 3 + bin\$(Configuration)\$(AssemblyName).XML + + + pdbonly + true + true + bin\$(Configuration)\ + TRACE + 3 + bin\$(Configuration)\$(AssemblyName).XML + + + 11 + + + + + $(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.FSharp.Targets + + + + + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\FSharp\Microsoft.FSharp.Targets + + + + + + + + + + + + + + FSharp.Core + FSharp.Core.dll + $(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll + + + + + + True + + + + \ No newline at end of file diff --git a/BFLib/Library1.fs b/BFLib/Library1.fs new file mode 100644 index 0000000..33da172 --- /dev/null +++ b/BFLib/Library1.fs @@ -0,0 +1,4 @@ +namespace BFLib + +type Class1() = + member this.X = "F#" diff --git a/BFLib/Script.fsx b/BFLib/Script.fsx new file mode 100644 index 0000000..8a130f8 --- /dev/null +++ b/BFLib/Script.fsx @@ -0,0 +1,8 @@ +// Learn more about F# at http://fsharp.org +// See the 'F# Tutorial' project for more help. + +#load "Library1.fs" +open BFLib + +// Define your library scripting code here + diff --git a/BFLib/packages.config b/BFLib/packages.config new file mode 100644 index 0000000..b4aca10 --- /dev/null +++ b/BFLib/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/BrittleFish.sln b/BrittleFish.sln index c1a207b..339c430 100644 --- a/BrittleFish.sln +++ b/BrittleFish.sln @@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.27703.2018 MinimumVisualStudioVersion = 10.0.40219.1 Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "BrittleFish", "BrittleFish\BrittleFish.fsproj", "{9D146C28-DEDE-4C70-BDC9-44B68925CA07}" EndProject +Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "BFLib", "BFLib\BFLib.fsproj", "{4F3C02D5-E76C-4389-8779-02D06EE6AF92}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ Global {9D146C28-DEDE-4C70-BDC9-44B68925CA07}.Debug|Any CPU.Build.0 = Debug|Any CPU {9D146C28-DEDE-4C70-BDC9-44B68925CA07}.Release|Any CPU.ActiveCfg = Release|Any CPU {9D146C28-DEDE-4C70-BDC9-44B68925CA07}.Release|Any CPU.Build.0 = Release|Any CPU + {4F3C02D5-E76C-4389-8779-02D06EE6AF92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4F3C02D5-E76C-4389-8779-02D06EE6AF92}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4F3C02D5-E76C-4389-8779-02D06EE6AF92}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4F3C02D5-E76C-4389-8779-02D06EE6AF92}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/BrittleFish/BrittleFish.fsproj b/BrittleFish/BrittleFish.fsproj index 8d88de2..263c9a3 100644 --- a/BrittleFish/BrittleFish.fsproj +++ b/BrittleFish/BrittleFish.fsproj @@ -78,6 +78,13 @@ True + + + BFLib + {4f3c02d5-e76c-4389-8779-02d06ee6af92} + True + +