Skip to content

Commit

Permalink
Merge pull request #346 from fsbolero/enable-refasm
Browse files Browse the repository at this point in the history
Re-enable ProduceReferenceAssembly
  • Loading branch information
Tarmil authored Dec 16, 2023
2 parents faf7b05 + 45ca059 commit 0ad0b1f
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/Bolero.Build/Bolero.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<Project>
<PropertyGroup Condition="'$(BoleroTaskAssemblyPath)' == ''">
<BoleroTaskAssemblyPath>$(MSBuildThisFileDirectory)..\tools\Bolero.Build.dll</BoleroTaskAssemblyPath>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly><!-- See https://github.com/fsbolero/Bolero/issues/279 -->
</PropertyGroup>
<PropertyGroup>
<_BoleroScopedCssSourceFile>$(BaseIntermediateOutputPath)CssScopes.fs</_BoleroScopedCssSourceFile>
Expand Down
1 change: 1 addition & 0 deletions src/Bolero.Html/Bolero.Html.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<OutputType>Library</OutputType>
<RootNamespace>Bolero</RootNamespace>
<IsTrimmable>true</IsTrimmable>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Trimmable.fs" Link="Trimmable.fs" />
Expand Down
1 change: 1 addition & 0 deletions src/Bolero.Server/Bolero.Server.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
Expand Down
5 changes: 4 additions & 1 deletion src/Bolero.Server/paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ description
Server-side component of Bolero: a set of tools and libraries to run F# applications in WebAssembly using Blazor
authors
Loic Denuziere
include-referenced-projects true
interproject-references fix
excludeddependencies
nerdbank.gitversioning
include-pdbs true
files
obj\Release\net6.0\ref\Bolero.Server.dll ==> ref/net6.0
obj\Release\net7.0\ref\Bolero.Server.dll ==> ref/net7.0
obj\Release\net8.0\ref\Bolero.Server.dll ==> ref/net8.0
dependencies
framework: net6.0
framework: net7.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
<OutputPath>..\Bolero\bin\$(Configuration)\typeproviders\fsharp41\netstandard2.0</OutputPath>
<OutputPath>..\Bolero\obj\$(Configuration)\typeproviders\fsharp41\netstandard2.0</OutputPath>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<DefineConstants>IS_DESIGNTIME</DefineConstants>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
Expand Down
2 changes: 1 addition & 1 deletion src/Bolero/Bolero.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<OutputType>Library</OutputType>
<IsTrimmable>true</IsTrimmable>
<!-- <DefineConstants>DEBUG_RENDERER;$(DefineConstants)</DefineConstants> -->
Expand Down
12 changes: 8 additions & 4 deletions src/Bolero/paket.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ description
authors
Loic Denuziere
files
bin/Release/typeproviders/fsharp41/netstandard2.0/Bolero.Templating.Provider.dll ==> typeproviders/fsharp41/netstandard2.0
bin/Release/typeproviders/fsharp41/netstandard2.0/HtmlAgilityPack.dll ==> typeproviders/fsharp41/netstandard2.0
bin/Release/typeproviders/fsharp41/netstandard2.0/Microsoft.AspNetCore.Components.dll ==> typeproviders/fsharp41/netstandard2.0
bin/Release/typeproviders/fsharp41/netstandard2.0/Microsoft.AspNetCore.Components.Web.dll ==> typeproviders/fsharp41/netstandard2.0
obj/Release/typeproviders/fsharp41/netstandard2.0/Bolero.Templating.Provider.dll ==> typeproviders/fsharp41/netstandard2.0
obj/Release/typeproviders/fsharp41/netstandard2.0/HtmlAgilityPack.dll ==> typeproviders/fsharp41/netstandard2.0
obj/Release/typeproviders/fsharp41/netstandard2.0/Microsoft.AspNetCore.Components.dll ==> typeproviders/fsharp41/netstandard2.0
obj/Release/typeproviders/fsharp41/netstandard2.0/Microsoft.AspNetCore.Components.Web.dll ==> typeproviders/fsharp41/netstandard2.0
../Bolero.Html/bin/Release/net6.0/Bolero.Html.dll ==> lib/net6.0
../Bolero.Html/bin/Release/net6.0/Bolero.Html.xml ==> lib/net6.0
../Bolero.Html/bin/Release/net8.0/Bolero.Html.dll ==> lib/net8.0
../Bolero.Html/bin/Release/net8.0/Bolero.Html.xml ==> lib/net8.0
obj/Release/net6.0/ref/Bolero.dll ==> ref/net6.0
../Bolero.Html/obj/Release/net6.0/ref/Bolero.Html.dll ==> ref/net6.0
obj/Release/net8.0/ref/Bolero.dll ==> ref/net8.0
../Bolero.Html/obj/Release/net8.0/ref/Bolero.Html.dll ==> ref/net8.0
Bolero.targets ==> build
roots.xml ==> build
excludeddependencies
Expand Down

0 comments on commit 0ad0b1f

Please sign in to comment.