Skip to content

Commit a475b52

Browse files
committed
Fix contentFiles entry for IgnoresAccessChecksTo
1 parent 15135fb commit a475b52

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

MonkeyLoader.ReferencePackageGenerator/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ private static async Task GenerateNuGetPackageAsync(Config config, string target
126126
builder.ContentFiles.Add(new ManifestContentFiles
127127
{
128128
Include = $"any/any/IgnoresAccessChecksTo/{Path.GetFileNameWithoutExtension(target)}.cs",
129-
BuildAction = "content",
130-
Flatten = "true",
131-
CopyToOutput = "true"
129+
BuildAction = "compile",
130+
Flatten = "false",
131+
CopyToOutput = "false"
132132
});
133133

134134
var packagePath = Path.Combine(config.NupkgTargetPath, $"{config.PackageIdPrefix}{Path.GetFileNameWithoutExtension(target)}.nupkg");
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"profiles": {
3+
"MonkeyLoader.ReferencePackageGenerator": {
4+
"commandName": "Project",
5+
"commandLineArgs": "Resonite.Unity.json"
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)