Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error #15

Open
KBassford opened this issue Nov 25, 2023 · 1 comment
Open

Compile error #15

KBassford opened this issue Nov 25, 2023 · 1 comment

Comments

@KBassford
Copy link

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
Copy link
Owner

ryanbis commented Dec 10, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants