Skip to content

Commit

Permalink
Fix Nuget build
Browse files Browse the repository at this point in the history
  • Loading branch information
roo-oliv committed Apr 3, 2024
1 parent 55db9b8 commit 6b94aeb
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_NOLOGO: true
NuGetDirectory: ${{ github.workspace}}/nuget
NuGetDirectory: ${{ github.workspace }}/nuget

defaults:
run:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nuget/
4 changes: 2 additions & 2 deletions MonoDreams.Tests/MonoDreams.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MonoDreams\MonoDreams.csproj" />
<ItemGroup>
<ProjectReference Include="..\MonoDreams\MonoDreams.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("MonoDreams.Tests")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+16751c5d3400badbbe0751bd20b3a77c1e232425")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+55db9b8d3d4b1ef10a3943f24f4a0f2dd60b3151")]
[assembly: System.Reflection.AssemblyProductAttribute("MonoDreams.Tests")]
[assembly: System.Reflection.AssemblyTitleAttribute("MonoDreams.Tests")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9c584cc092d90d760666a886031ead7bd156ffc187070045331710e5ccdb2673
6745a34f8d98306c28867212acd06cba0b4467b897f0cd0bb0ad33609cdd9b97
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,12 @@
}
},
"warningProperties": {
"noWarn": [
"NU5105"
],
"warnAsError": [
"NU1605"
]
},
"restoreLockProperties": {
"restorePackagesWithLockFile": "true",
"nuGetLockFilePath": ""
"restorePackagesWithLockFile": "true"
}
},
"frameworks": {
Expand Down
2 changes: 1 addition & 1 deletion MonoDreams.Tests/obj/MonoDreams.Tests.csproj.nuget.g.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/rodrigo/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/rodrigo/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/rodrigo/.nuget/packages/" />
Expand Down
2 changes: 1 addition & 1 deletion MonoDreams.Tests/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "5OUiiBEeSixP+J6nNBzrRnjeMTjSPvWGrqutPc39i8zfAWGUnLKGlu6+/83pcSXX/3s8iTkxKcQ1inIi0bgB5w==",
"dgSpecHash": "x6HFStvtA/HPhQiYQkIYo07y0k772VBN7Bt+FlKlaaOVgcVd8QNds3okBzOkGu0vL+L/RczQduGmIXNZxThE2A==",
"success": true,
"projectFilePath": "/home/rodrigo/git/roo-oliv/monodreams/MonoDreams.Tests/MonoDreams.Tests.csproj",
"expectedPackageFiles": [
Expand Down
2 changes: 1 addition & 1 deletion MonoDreams.Tests/obj/rider.project.model.nuget.info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17121574120004513
17121783099198820
2 changes: 1 addition & 1 deletion MonoDreams.Tests/obj/rider.project.restore.info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17121578703843853
17121782321873679
10 changes: 8 additions & 2 deletions MonoDreams/MonoDreams.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<!--
<PropertyGroup>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
-->
<PropertyGroup>
<EnablePackageValidation>true</EnablePackageValidation>
<!-- Optional: Detect breaking changes from a previous version -->
Expand All @@ -35,12 +41,12 @@
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<PackageReadmeFile>MonoDreams/README.md</PackageReadmeFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<!-- Add a README.md next to the csproj -->
<None Include="MonoDreams/README.md" Pack="true" PackagePath=""/>
<None Include="README.md" Pack="true" PackagePath=""/>
</ItemGroup>
<ItemGroup>
<None Remove="Icon.ico" />
Expand Down

0 comments on commit 6b94aeb

Please sign in to comment.