Skip to content

Commit

Permalink
Disable Microsoft.NET.Sdk.WebAssembly for f# project, as it seems to …
Browse files Browse the repository at this point in the history
…not work
  • Loading branch information
maxkatz6 committed Mar 12, 2024
1 parent 926eb19 commit b4ddbc0
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
<!--#if (Avalonia11_1Chosen) -->
<Project Sdk="Microsoft.NET.Sdk.WebAssembly">
<!--#else -->
<Project Sdk="Microsoft.NET.Sdk">
<!--#endif -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>FrameworkParameter-browser</TargetFramework>
<!--#if (!Avalonia11_1Chosen) -->
<RuntimeIdentifier>browser-wasm</RuntimeIdentifier>
<WasmMainJSPath>wwwroot\main.js</WasmMainJSPath>
<WasmRuntimeAssetsLocation>./_framework</WasmRuntimeAssetsLocation>
<!--#endif -->
</PropertyGroup>

<!--#if (!Avalonia11_1Chosen) -->
<ItemGroup>
<Compile Include="Program.fs" />
</ItemGroup>
Expand All @@ -25,7 +18,6 @@
<ItemGroup>
<Content Include="runtimeconfig.template.json" />
</ItemGroup>
<!--#endif -->

<ItemGroup>
<PackageReference Include="Avalonia.Browser" Version="$(AvaloniaVersion)" />
Expand Down

0 comments on commit b4ddbc0

Please sign in to comment.