ryanbis / gc4_mod_tools

Mod tools for modding Galactic Civilizations IV
MIT License
0 stars 0 forks source link

Compile error #15

Open KBassford opened 11 months ago

KBassford commented 11 months ago

Hi Folks,

I'm more used to compiling stuff in Linux. My VS wants to see a project.assets.json file. Could you include one, or modify the readme to include instructions on regenerating one please. Thank you in advance.

1>------ Build started: Project: ModTools, Configuration: Debug|x64 ------
1>C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1004: Assets file 'C:\Users\xxx\source\repos\gc4_mod_tools\ModTools\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
2>------ Build started: Project: ModToolsTestProject, Configuration: Debug|AnyCPU ------
2>C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1004: Assets file 'C:\Users\xxx\source\repos\gc4_mod_tools\Test\ModToolsTestProject\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
ryanbis commented 11 months ago

Sorry, just noticed this. Did you try a nuget restore? image

If that doesn't fix it, try installing .NET 6, as that's what the project uses.