Skip to content

Commit 45371cc

Browse files
committed
Add F# library project
1 parent 11db9b8 commit 45371cc

File tree

5 files changed

+28
-1
lines changed

5 files changed

+28
-1
lines changed

R7.Webmate.Fs/Library.fs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
namespace R7.Webmate
2+
3+
module Say =
4+
let hello name =
5+
printfn "Hello %s" name

R7.Webmate.Fs/R7.Webmate.Fs.fsproj

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netstandard2.0</TargetFramework>
5+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<Compile Include="Library.fs" />
10+
</ItemGroup>
11+
12+
</Project>

R7.Webmate.Tests/R7.Webmate.Tests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<!-- Fix for CS0017 Program has more than one entry point defined... https://andrewlock.net/fixing-the-error-program-has-more-than-one-entry-point-defined-for-console-apps-containing-xunit-tests/ -->
77
<GenerateProgramFile>false</GenerateProgramFile>

R7.Webmate.Xwt/R7.Webmate.Xwt.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@
163163
<Project>{C97EAFDF-3190-4A13-B1DC-A033C45228B8}</Project>
164164
<Name>R7.Webmate</Name>
165165
</ProjectReference>
166+
<ProjectReference Include="..\R7.Webmate.Fs\R7.Webmate.Fs.fsproj">
167+
<Project>{73C8C014-A9CB-44C0-8C38-32B7FDBF9FCC}</Project>
168+
<Name>R7.Webmate.Fs</Name>
169+
</ProjectReference>
166170
</ItemGroup>
167171
<ItemGroup>
168172
<Content Include="resources\app-icons\r7-webmate-64px.png">

R7.Webmate.sln

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R7.Webmate.Xwt", "R7.Webmat
55
EndProject
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R7.Webmate", "R7.Webmate\R7.Webmate.csproj", "{C97EAFDF-3190-4A13-B1DC-A033C45228B8}"
77
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R7.Webmate.Fs", "R7.Webmate.Fs\R7.Webmate.Fs.fsproj", "{73C8C014-A9CB-44C0-8C38-32B7FDBF9FCC}"
9+
EndProject
810
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R7.Webmate.Tests", "R7.Webmate.Tests\R7.Webmate.Tests.csproj", "{DA075051-D5E0-445D-8826-F683F89494E0}"
911
EndProject
1012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "R7.Webmate.Xwt.DependencyHelper", "R7.Webmate.Xwt.DependencyHelper\R7.Webmate.Xwt.DependencyHelper.csproj", "{B801B613-7219-4C07-9340-A33451516F68}"
@@ -27,6 +29,10 @@ Global
2729
{DA075051-D5E0-445D-8826-F683F89494E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
2830
{DA075051-D5E0-445D-8826-F683F89494E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
2931
{DA075051-D5E0-445D-8826-F683F89494E0}.Release|Any CPU.Build.0 = Release|Any CPU
32+
{73C8C014-A9CB-44C0-8C38-32B7FDBF9FCC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33+
{73C8C014-A9CB-44C0-8C38-32B7FDBF9FCC}.Debug|Any CPU.Build.0 = Debug|Any CPU
34+
{73C8C014-A9CB-44C0-8C38-32B7FDBF9FCC}.Release|Any CPU.ActiveCfg = Release|Any CPU
35+
{73C8C014-A9CB-44C0-8C38-32B7FDBF9FCC}.Release|Any CPU.Build.0 = Release|Any CPU
3036
EndGlobalSection
3137
GlobalSection(MonoDevelopProperties) = preSolution
3238
Policies = $0

0 commit comments

Comments
 (0)