|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + <PropertyGroup> |
| 3 | + <TargetFramework>netstandard2.1</TargetFramework> |
| 4 | + <AssemblyName>com.sigurd.csync.example-plugin</AssemblyName> |
| 5 | + <RestoreAdditionalProjectSources> |
| 6 | + https://api.nuget.org/v3/index.json; |
| 7 | + https://nuget.bepinex.dev/v3/index.json; |
| 8 | + https://nuget.samboy.dev/v3/index.json |
| 9 | + </RestoreAdditionalProjectSources> |
| 10 | + <RootNamespace>CSync.ExamplePlugin</RootNamespace> |
| 11 | + <Title>ExamplePlugin</Title> |
| 12 | + <Product>$(Title)</Product> |
| 13 | + <NeutralLanguage>en-GB</NeutralLanguage> |
| 14 | + </PropertyGroup> |
2 | 15 |
|
3 | | - <PropertyGroup> |
4 | | - <OutputType>Exe</OutputType> |
5 | | - <TargetFramework>net8.0</TargetFramework> |
6 | | - <ImplicitUsings>enable</ImplicitUsings> |
7 | | - <Nullable>enable</Nullable> |
8 | | - </PropertyGroup> |
| 16 | + <PropertyGroup> |
| 17 | + <IsThunderstorePackable>true</IsThunderstorePackable> |
| 18 | + <ThunderstoreName>CSync.ExamplePlugin</ThunderstoreName> |
| 19 | + <ThunderstoreDescription>Example plugin for CSync.</ThunderstoreDescription> |
| 20 | + <ThunderstoreIconPath>$(ProjectDir)assets/icons/icon.png</ThunderstoreIconPath> |
| 21 | + <HasBepInPlugin>true</HasBepInPlugin> |
| 22 | + <PluginRootNamespace>CSync.ExamplePlugin</PluginRootNamespace> |
| 23 | + </PropertyGroup> |
| 24 | + |
| 25 | + <ItemGroup> |
| 26 | + <ThunderstoreBuildCopyPath Include="$(TargetPath)" Destination="BepInEx/plugins/$(ProjectName)/"/> |
| 27 | + <ThunderstoreDependency Include="Sigurd-CSync" Version="5.0.0" /> |
| 28 | + </ItemGroup> |
| 29 | + |
| 30 | + <ItemGroup> |
| 31 | + <PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all"/> |
| 32 | + <PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.2" PrivateAssets="all"/> |
| 33 | + <PackageReference Include="PolySharp" Version="1.14.1" PrivateAssets="all"/> |
| 34 | + </ItemGroup> |
| 35 | + |
| 36 | + <ItemGroup> |
| 37 | + <PackageReference Include="BepInEx.Core" Version="5.*"/> |
| 38 | + <PackageReference Include="UnityEngine.Modules" Version="2022.3.9" IncludeAssets="compile"/> |
| 39 | + <ProjectReference Include="$(ProjectDir)../CSync/CSync.csproj" /> |
| 40 | + </ItemGroup> |
9 | 41 |
|
10 | 42 | </Project> |
0 commit comments