Skip to content

Commit

Permalink
[dotnet] Fix godot compilation error related to missing GeneratedAsse…
Browse files Browse the repository at this point in the history
…mblyInfoFile (Fix RIDER-122287)
  • Loading branch information
denis417 committed Jan 24, 2025
1 parent b7b2951 commit 8fd0083
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions debugger/debugger-worker/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@
<Sdk Name="JetBrains.Build.VersionLockFileTargets" Version="0.0.4" />
<PropertyGroup>
<ImportGuard-DeirectoryBuildTargets>True</ImportGuard-DeirectoryBuildTargets>
<IsIndependentBuild Condition="'$(SolutionFileName)' == 'godot-support.sln'">True</IsIndependentBuild>
<IsIndependentBuild Condition="$(IsIndependentBuild) == ''">False</IsIndependentBuild>
</PropertyGroup>
<ItemGroup Condition="$(IsIndependentBuild)">
<!-- Implicitly installed package Microsoft.Identity.Client.NativeInterop contains targets
that include this embedded file and lead to a compilation error (see RIDER-122287) -->
<EmbeddedFiles Remove="$(GeneratedAssemblyInfoFile)" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion resharper/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<Sdk Name="JetBrains.Build.VersionLockFileTargets" Version="0.0.4" />
<PropertyGroup>
<IsIndependentBuild Condition="Exists('$(MSBuildThisFileDirectory)\build\DotNetSdkPath.generated.props')">True</IsIndependentBuild>
<IsIndependentBuild Condition="'$(SolutionFileName)' == 'godot-support.sln'">True</IsIndependentBuild>
<IsIndependentBuild Condition="$(IsIndependentBuild) == ''">False</IsIndependentBuild>
<PackageLockFilePath>$(MSBuildThisFileDirectory)PackagesLock.targets</PackageLockFilePath>
</PropertyGroup>
Expand Down

0 comments on commit 8fd0083

Please sign in to comment.