You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
so like Fable.Template.proj (note the .proj extension, neutral, not csproj, so doesnt mess with compiler targets)
<ProjectSdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- fill some nuget package props (optional) -->
<Description>Simple Fable App</Description>
<Authors>Alfonso Garcia-Caro</Authors>
<!-- fill nuget package version (optional) -->
<Version>0.2.1</Version>
<!-- this is a package -->
<PackageType>Template</PackageType>
<!-- cruft need to avoid building and making dotnet sdk happy -->
<PackProjectInputFile>$(MSBuildProjectFullPath)</PackProjectInputFile>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<TargetFramework>netstandard1.0</TargetFramework>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
</PropertyGroup>
<PropertyGroup>
<!-- simple way to exclude things (optional but nice) -->
<ExcludeFromPackage>
Content/node_modules/**/*;
Content/packages/**/*;
Content/public/bundle.js*;
Content/bin/**/*;
Content/obj/**/*;
</ExcludeFromPackage>
</PropertyGroup>
<ItemGroup>
<ContentInclude="Content/**/*"Exclude="$(ExcludeFromPackage)" >
<PackagePath>Content\</PackagePath>
</Content>
</ItemGroup>
</Project>
The text was updated successfully, but these errors were encountered:
Is possibile to create package the template in lot of ways (nuget, nuspec, csproj, prj)
The best one i know atm is doing just with a
.proj
(any extension is ok), like https://github.com/fable-compiler/Fable/blob/master/src/templates/simple/Fable.Template.projso like
Fable.Template.proj
(note the.proj
extension, neutral, not csproj, so doesnt mess with compiler targets)The text was updated successfully, but these errors were encountered: