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

build on linux fails #511

Open
dsl400 opened this issue Sep 1, 2024 · 1 comment
Open

build on linux fails #511

dsl400 opened this issue Sep 1, 2024 · 1 comment

Comments

@dsl400
Copy link

dsl400 commented Sep 1, 2024

I am trying to build the project on debian linux
after installing all the tools I removed all the System.Net.Http references and replaced them with package references
I added assembly bindings almost to all app.config files
I can see the binding reference work for FirebaseAdmin.dll

Unified primary reference "System.Net.Http, Version=4.1.1.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
      Using this version instead of original version "4.0.0.0" in "/home/dsl400/.nuget/packages/awssdk.core/3.7.2.9/lib/net45/AWSSDK.Core.dll" because AutoUnify is 'true'.
      Using this version instead of original version "4.2.0.0" in "/home/dsl400/.nuget/packages/firebaseadmin/2.3.0/lib/net461/FirebaseAdmin.dll" because AutoUnify is 'true'.

but it does not want to work for 'Google.Cloud.Storage.V1

"/home/dsl400/work/CommunityServer/build/msbuild/build.proj" (default target) (1) ->
"/home/dsl400/work/CommunityServer/Studio.sln" (Restore;Build target) (2) ->
"/home/dsl400/work/CommunityServer/common/ASC.ActiveDirectory/ASC.ActiveDirectory.csproj" (default target) (3:9) ->
"/home/dsl400/work/CommunityServer/web/core/ASC.Web.Core/ASC.Web.Core.csproj" (default target) (22:40) ->
"/home/dsl400/work/CommunityServer/common/ASC.Data.Storage/ASC.Data.Storage.csproj" (default target) (9:30) ->
(CoreCompile target) -> 
  /home/dsl400/work/CommunityServer/common/ASC.Data.Storage/GoogleCloud/GoogleCloudStorage.cs(181,36): error CS1705: Assembly 'Google.Cloud.Storage.V1' with identity 'Google.Cloud.Storage.V1, Version=3.5.0.0, Culture=neutral, PublicKeyToken=185c282632e132a0' uses 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Net.Http' with identity 'System.Net.Http, Version=4.1.1.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [/home/dsl400/work/CommunityServer/common/ASC.Data.Storage/ASC.Data.Storage.csproj]
  /home/dsl400/work/CommunityServer/common/ASC.Data.Storage/GoogleCloud/GoogleCloudStorage.cs(741,36): error CS1705: Assembly 'Google.Cloud.Storage.V1' with identity 'Google.Cloud.Storage.V1, Version=3.5.0.0, Culture=neutral, PublicKeyToken=185c282632e132a0' uses 'System.Net.Http, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Net.Http' with identity 'System.Net.Http, Version=4.1.1.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' [/home/dsl400/work/CommunityServer/common/ASC.Data.Storage/ASC.Data.Storage.csproj]

@Carazyda
Copy link
Member

Hello @dsl400 Yes, there is a problem with building sources on Linux. We will try to fix it in future releases.

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