Skip to content

Commit 8a7ce22

Browse files
committed
Clean up packages; adjust package version targets
1 parent 88bd01f commit 8a7ce22

7 files changed

Lines changed: 15 additions & 14 deletions

File tree

BepInEx.PluginInfoProps/BepInEx.PluginInfoProps.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata minClientVersion="2.5">
44
<id>BepInEx.PluginInfoProps</id>
5-
<version>1.0.0</version>
5+
<version>1.1.0</version>
66
<authors>BepInEx</authors>
77
<projectUrl>https://github.com/BepInEx</projectUrl>
88
<license type="expression">MIT</license>

BepInEx.PluginInfoProps/build/BepInEx.PluginInfoProps.props

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@
55
<BepInExPluginName Condition="'$(BepInExPluginName)' == ''">$(Product)</BepInExPluginName>
66
<BepInExPluginVersion Condition="'$(BepInExPluginVersion)' == ''">$(Version)</BepInExPluginVersion>
77
<GeneratedText><![CDATA[
8-
using System%3B
9-
internal static class PluginInfo
8+
namespace $(RootNamespace)
109
{
11-
public const string PLUGIN_GUID = "$(BepInExPluginGuid)"%3B
12-
public const string PLUGIN_NAME = "$(BepInExPluginName)"%3B
13-
public const string PLUGIN_VERSION = "$(BepInExPluginVersion)"%3B
10+
public static class PluginInfo
11+
{
12+
public const string PLUGIN_GUID = "$(BepInExPluginGuid)"%3B
13+
public const string PLUGIN_NAME = "$(BepInExPluginName)"%3B
14+
public const string PLUGIN_VERSION = "$(BepInExPluginVersion)"%3B
15+
}
1416
}
1517
]]></GeneratedText>
16-
<GeneratedFilePath>$(IntermediateOutputPath)GeneratedFile.cs</GeneratedFilePath>
18+
<GeneratedFilePath>$(IntermediateOutputPath)PluginInfo.cs</GeneratedFilePath>
1719
</PropertyGroup>
1820
<ItemGroup>
1921
<Compile Include="$(GeneratedFilePath)" />

BepInEx.Templates.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<PackageType>Template</PackageType>
5-
<PackageVersion>1.0.0</PackageVersion>
5+
<PackageVersion>1.1.0</PackageVersion>
66
<PackageId>BepInEx.Templates</PackageId>
77
<Title>BepInEx Plugin Templates</Title>
88
<Authors>BepInEx</Authors>

templates/BepInEx5.PluginTemplate/BepInEx5.PluginTemplate.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="BepInEx.Analyzers" Version="1.0.4" PrivateAssets="all" />
14-
<PackageReference Include="BepInEx.Core" Version="5.4.15" />
15-
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.0.0" />
14+
<PackageReference Include="BepInEx.Core" Version="5.*" />
15+
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
1616
<PackageReference Include="UnityEngine" Version="5.6.1" IncludeAssets="compile" />
1717
</ItemGroup>
1818

templates/BepInEx6.PluginTemplate.Il2Cpp/BepInEx6.PluginTemplate.Il2Cpp.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="BepInEx.IL2CPP" Version="6.0.0-*" IncludeAssets="compile" />
14-
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.0.0" />
15-
<PackageReference Include="UnityEngine" Version="5.6.1" IncludeAssets="compile" />
14+
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
1615
</ItemGroup>
1716
</Project>

templates/BepInEx6.PluginTemplate.NET/BepInEx6.PluginTemplate.NET.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="BepInEx.NetLauncher" Version="6.0.0-*" IncludeAssets="compile" />
14-
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.0.0" />
14+
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
1515
</ItemGroup>
1616

1717
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">

templates/BepInEx6.PluginTemplate.UnityMono/BepInEx6.PluginTemplate.UnityMono.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<ItemGroup>
1313
<PackageReference Include="BepInEx.Analyzers" Version="1.0.4" PrivateAssets="all" />
1414
<PackageReference Include="BepInEx.Unity" Version="6.0.0-*" IncludeAssets="compile" />
15-
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.0.0" />
15+
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*" />
1616
</ItemGroup>
1717

1818
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">

0 commit comments

Comments
 (0)