-
-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
37 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!-- | ||
prior to .NET 8 | ||
<BaseIntermediateOutputPath>.artifacts\obj\</BaseIntermediateOutputPath> | ||
<BaseOutputPath>.artifacts\bin\</BaseOutputPath> | ||
--> | ||
|
||
<!-- after .NET 8: https://learn.microsoft.com/en-us/dotnet/core/sdk/artifacts-output --> | ||
<!-- Unity ignores . prefix folder --> | ||
Override the output path of build artifacts. | ||
This is necessary to change the path to one with a dot(.) prefix to hide generated items from Unity. | ||
--> | ||
<PropertyGroup> | ||
<!-- Using .NET 8 and later, use ArtifactsPath property. --> | ||
<!-- https://learn.microsoft.com/en-us/dotnet/core/sdk/artifacts-output --> | ||
<ArtifactsPath>$(MSBuildThisFileDirectory).artifacts</ArtifactsPath> | ||
<!-- Using .NET 7 and ealier, use BaseIntermediateOutputPath and BaseOutputPath property instead. --> | ||
<!-- NOTE: Currently, even if .NET 8 SDK is installed, MessagePack.Generator still requires these properties to be set. --> | ||
<BaseIntermediateOutputPath>.artifacts\obj\</BaseIntermediateOutputPath> | ||
<BaseOutputPath>.artifacts\bin\</BaseOutputPath> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!-- Hide Unity-specific files from Visual Studio and .NET SDK --> | ||
<ItemGroup> | ||
<None Remove="**\package.json" /> | ||
<None Remove="**\*.asmdef" /> | ||
<None Remove="**\*.meta" /> | ||
</ItemGroup> | ||
|
||
<!-- Hide build artifacts from Visual Studio and .NET SDK --> | ||
<ItemGroup> | ||
<None Remove=".artifacts\**\**.*" /> | ||
<None Remove="obj\**\*.*;bin\**\*.*" /> | ||
<Compile Remove=".artifacts\**\**.*" /> | ||
<Compile Remove="bin\**\*.*;obj\**\*.*" /> | ||
<EmbeddedResource Remove=".artifacts\**\**.*" /> | ||
<EmbeddedResource Remove="bin\**\*.*;obj\**\*.*" /> | ||
</ItemGroup> | ||
</Project> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.