Skip to content

Commit

Permalink
fix: removed BepInEx.AssemblyPublicizer.MSBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
MSchmoecker committed Dec 2, 2023
1 parent 72b571b commit 00f3dc6
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 36 deletions.
7 changes: 0 additions & 7 deletions JotunnDoc/JotunnDoc.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props" Condition="Exists('..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -105,10 +104,4 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)JotunnLib\BuildProps\Paths.props" />
<Import Project="$(SolutionDir)JotunnLib\BuildProps\JotunnLibRefsCorlib.props" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props'))" />
</Target>
</Project>
1 change: 0 additions & 1 deletion JotunnDoc/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BepInEx.AssemblyPublicizer.MSBuild" version="0.4.1" targetFramework="net462" developmentDependency="true" />
<package id="HarmonyX" version="2.9.0" targetFramework="net462" />
<package id="Mono.Cecil" version="0.11.4" targetFramework="net462" />
<package id="MonoMod.RuntimeDetour" version="22.1.29.1" targetFramework="net462" />
Expand Down
27 changes: 18 additions & 9 deletions JotunnLib/BuildProps/JotunnLibRefsCorlib.props
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_googleanalytics.dll" Publicize="true">
<Reference Include="assembly_googleanalytics_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_googleanalytics_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_guiutils.dll" Publicize="true">
<Reference Include="assembly_guiutils_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_guiutils_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_lux.dll" Publicize="true">
<Reference Include="assembly_lux_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_lux_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_postprocessing.dll" Publicize="true">
<Reference Include="assembly_postprocessing_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_postprocessing_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_simplemeshcombine.dll" Publicize="true">
<Reference Include="assembly_simplemeshcombine_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_simplemeshcombine_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_steamworks.dll" Publicize="true">
<Reference Include="assembly_steamworks_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_steamworks_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_sunshafts.dll" Publicize="true">
<Reference Include="assembly_sunshafts_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_sunshafts_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_utils.dll" Publicize="true">
<Reference Include="assembly_utils_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_utils_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="$(VALHEIM_INSTALL)/valheim_Data/Managed/assembly_valheim.dll" Publicize="true">
<Reference Include="assembly_valheim_publicized">
<HintPath>$(VALHEIM_INSTALL)\valheim_Data\Managed\publicized_assemblies\assembly_valheim_publicized.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="BepInEx">
Expand Down
3 changes: 0 additions & 3 deletions JotunnLib/JotunnLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@
<None Remove="Unity\AssetBundles\minimapmanager" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="HarmonyX" Version="2.9.0" />
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="5.10.0">
<PrivateAssets>all</PrivateAssets>
Expand Down
7 changes: 0 additions & 7 deletions JotunnTests/JotunnTests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props" Condition="Exists('..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -71,12 +70,6 @@
<Import Project="$(SolutionDir)JotunnLib\BuildProps\Paths.props" />
<Import Project="$(SolutionDir)JotunnLib\BuildProps\JotunnLibRefsCorlib.props" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
1 change: 0 additions & 1 deletion JotunnTests/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BepInEx.AssemblyPublicizer.MSBuild" version="0.4.1" targetFramework="net462" developmentDependency="true" />
<package id="xunit" version="2.1.0" targetFramework="net45" />
<package id="xunit.abstractions" version="2.0.0" targetFramework="net45" />
<package id="xunit.assert" version="2.1.0" targetFramework="net45" />
Expand Down
7 changes: 0 additions & 7 deletions TestMod/TestMod.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props" Condition="Exists('..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -133,10 +132,4 @@
</Target>
<Import Project="$(SolutionDir)JotunnLib\BuildProps\Paths.props" />
<Import Project="$(SolutionDir)JotunnLib\BuildProps\JotunnLibRefsCorlib.props" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105.The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\BepInEx.AssemblyPublicizer.MSBuild.0.4.1\build\BepInEx.AssemblyPublicizer.MSBuild.props'))" />
</Target>
</Project>
1 change: 0 additions & 1 deletion TestMod/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="BepInEx.AssemblyPublicizer.MSBuild" version="0.4.1" targetFramework="net462" developmentDependency="true" />
<package id="HarmonyX" version="2.9.0" targetFramework="net462" />
<package id="Mono.Cecil" version="0.11.4" targetFramework="net462" />
<package id="MonoMod.RuntimeDetour" version="22.1.29.1" targetFramework="net462" />
Expand Down

0 comments on commit 00f3dc6

Please sign in to comment.