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

An asp.net core web api application, using "UseWindowsService", reports an error “System.NotSupportedException: The content root changed. Changing the host configuration is not supported ” when starting the service #23387

Closed
quan0zhou opened this issue Sep 26, 2021 · 22 comments · Fixed by #25882
Assignees

Comments

@quan0zhou
Copy link

quan0zhou commented Sep 26, 2021

  • System

    • Provider

    [ Name] .NET Runtime

    • EventID 1026

    [ Qualifiers] 0

    Version 0

    Level 2

    Task 0

    Opcode 0

    Keywords 0x80000000000000

    • TimeCreated

    [ SystemTime] 2021-09-26T05:59:39.0432975Z

    EventRecordID 14008

    Correlation

    • Execution

    [ ProcessID] 0
    [ ThreadID] 0

    Channel Application

    Computer USER-20210710BJ

    Security

  • EventData

    Application: ZhaoyangParking.exe CoreCLR Version: 6.0.21.45113 .NET Version: 6.0.0-rc.1.21451.13 Description: The process was terminated due to an unhandled exception. Exception Info: System.NotSupportedException: The content root changed. Changing the host configuration is not supported at Microsoft.AspNetCore.Builder.ConfigureHostBuilder.ConfigureHostConfiguration(Action1 configureDelegate) at Microsoft.Extensions.Hosting.HostingHostBuilderExtensions.UseContentRoot(IHostBuilder , String ) at Microsoft.Extensions.Hosting.WindowsServiceLifetimeHostBuilderExtensions.UseWindowsService(IHostBuilder hostBuilder, Action1 configure) at Microsoft.Extensions.Hosting.WindowsServiceLifetimeHostBuilderExtensions.UseWindowsService(IHostBuilder hostBuilder) at Program.

    $(String[] args) in E:\Learn\ZhaoyangParking\ZhaoyangParking\Program.cs:line 20

But There is nothing wrong with the program in .NET Version: 6.0.0-preview.7.21377.19


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@quan0zhou
Copy link
Author

Find the relevant code through the source code
image
After decompiling the source code from Microsoft.Extensions.Hosting.WindowsServices.dll, I found the solution
image

@quan0zhou
Copy link
Author

quan0zhou commented Sep 26, 2021

var builder = WebApplication.CreateBuilder(args);

builder.Configuration.AddJsonFile(Path.Combine(AppContext.BaseDirectory, "appsettings.json"));

builder.Host
       //.UseWindowsService()//error: The content root changed. Changing the host configuration is not supported
       .ConfigureLogging(logging =>
       {
           logging.AddEventLog();

       }).ConfigureServices((hostContext, services)=>
       {
           services.AddSingleton<IHostLifetime, WindowsServiceLifetime>();
           services.Configure<EventLogSettings>(settings=>
           {
               if (string.IsNullOrEmpty(settings.SourceName))
               {
                   settings.SourceName = hostContext.HostingEnvironment.ApplicationName;
               }
           });
           services.AddHostedService<xxxxService>();

       });

@davidfowl
Copy link
Member

Yes this is unfortunate and one of the gotchas listed here (https://gist.github.com/davidfowl/0e0372c3c1d895c3ce195ba983b1e03d#differences-in-the-hosting-model).

@quan0zhou Can you tell me what the content root is when you host as a windows service?

Also can you try this workaround:

using Microsoft.Extensions.Hosting.WindowsServices;

var options = new WebApplicationOptions
{
    Args = args,
    ContentRootPath = WindowsServiceHelpers.IsWindowsService() ? AppContext.BaseDirectory : default
};

var builder = WebApplication.CreateBuilder(options);

builder.Host.UseWindowsService();

@davidfowl
Copy link
Member

@quan0zhou Can you tell me what the content root is when you host as a windows service?

Don't worry, I have a repro with this. I think there might be an easy fix that makes this work by default.

@davidfowl
Copy link
Member

davidfowl commented Sep 26, 2021

@halter73 @Tratcher This is where we set the default content root to be the CWD (called from here), which is why the windows service logic needs to change it back to AppContext.BaseDirectory. If we could be a bit more clever about this default then it wouldn't require any explicit workarounds (for this case).

cc @eerhardt

@davidfowl
Copy link
Member

I have another idea that doesn't require changing to much code. We update the documentation to pass the correct content root via command line args when creating the service:

sc config MyWebAppServiceTest binPath= "$pwd\WebApplication560.exe --contentRoot $pwd\"

We should update the docs to reflect this.

We also need to make a change to the host so that the content root comparison is on normalized paths. If you specify $pwd without the trailing slash, it fails because we compare the directories and it has to be an exact match today.

@davidfowl
Copy link
Member

This should be a CTI scenario that we cover.

cc @captainsafia

@quan0zhou
Copy link
Author

是的, 这是不幸的, 这里列出的哥查斯之一(https://gist.github.com/davidfowl/0e0372c3c1d895c3ce195ba983b1e03d#differences-in-the-hosting-model)

@quan0zhou当您作为窗口服务托管时,你能告诉我内容根是什么吗?

您也可以尝试此解决方法:

using Microsoft.Extensions.Hosting.WindowsServices;

var options = new WebApplicationOptions
{
    Args = args,
    ContentRootPath = WindowsServiceHelpers.IsWindowsService() ? AppContext.BaseDirectory : default
};

var builder = WebApplication.CreateBuilder(options);

builder.Host.UseWindowsService();

@davidfowl This is a great solution, thanks!

@davidfowl davidfowl reopened this Sep 27, 2021
@davidfowl davidfowl transferred this issue from dotnet/aspnetcore Sep 27, 2021
@davidfowl
Copy link
Member

We need to update the windows service hosting document https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/windows-service?view=aspnetcore-5.0&tabs=visual-studio to mention that the service should be created passing the --contentRoot argument.

We might want to do the same here for good measure:

https://docs.microsoft.com/en-us/dotnet/core/extensions/windows-service#create-the-windows-service cc @IEvangelist

@IEvangelist
Copy link
Member

We need to update the windows service hosting document https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/windows-service?view=aspnetcore-5.0&tabs=visual-studio to mention that the service should be created passing the --contentRoot argument.

We might want to do the same here for good measure:

https://docs.microsoft.com/en-us/dotnet/core/extensions/windows-service#create-the-windows-service cc @IEvangelist

Thanks for the heads up @davidfowl - see dotnet/docs#26274

@Rick-Anderson Rick-Anderson self-assigned this Sep 27, 2021
EugeneKozyrev added a commit to ONLYOFFICE/DocSpace that referenced this issue Feb 8, 2022
commit b1be995
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Mon Feb 7 22:15:32 2022 +0300

    fixed solution build

commit 08c6040
Merge: e16d758 b2079cc
Author: Pavel Bannov <Pavel.Bannov@onlyoffice.com>
Date:   Mon Feb 7 20:27:17 2022 +0300

    Merge pull request #503 from ONLYOFFICE/feature/analizators

    Feature/analizators

commit b2079cc
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Mon Feb 7 20:19:58 2022 +0300

    fixed warnings

commit 9f5a1f3
Merge: 37c88da e16d758
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Mon Feb 7 19:28:23 2022 +0300

    Merge branch 'develop' into feature/analizators

commit 37c88da
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Mon Feb 7 18:10:27 2022 +0300

    Analyzers: fix

commit 812241a
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Mon Feb 7 17:53:58 2022 +0300

    Analyzers: fix

commit e16d758
Merge: eed733b 4661ee9
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Fri Feb 4 21:00:05 2022 +0300

    Merge branch 'develop' of github.com:ONLYOFFICE/CommunityServer-AspNetCore into develop

commit eed733b
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Fri Feb 4 20:59:58 2022 +0300

    fixed user photo thumbnail generator

commit 34dab04
Merge: bb28679 4661ee9
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Thu Feb 3 12:55:33 2022 +0300

    Merge branch 'develop' into feature/analizators

    # Conflicts:
    #	common/ASC.Core.Common/ASC.Core.Common.csproj

commit 4661ee9
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Wed Feb 2 19:54:23 2022 +0300

    Packages updated

commit bb28679
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Feb 2 14:05:06 2022 +0300

    analizators: bugfix

commit 17cb4a6
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 31 14:35:59 2022 +0300

    analizators: bugfix

commit 34ff334
Merge: b4334b8 8428ef7
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 31 14:35:16 2022 +0300

    Merge branch 'develop' into feature/analizators

commit 8428ef7
Merge: b7f0ffc fdec724
Author: Ilya Oleshko <ilya.oleshko@onlyoffice.com>
Date:   Fri Jan 28 13:00:47 2022 +0300

    Merge pull request #498 from ONLYOFFICE/feature/accessRightSelect

    Feature/access right select

commit fdec724
Merge: e068a18 0c2085a
Author: Yaroslavna Gaivoronyuk <yaroslavna.gayvoronuk@onlyoffice.com>
Date:   Thu Jan 27 17:29:56 2022 +0300

    Merge branch 'feature/accessRightSelect' of github.com:ONLYOFFICE/AppServer into feature/accessRightSelect

commit e068a18
Author: Yaroslavna Gaivoronyuk <yaroslavna.gayvoronuk@onlyoffice.com>
Date:   Thu Jan 27 17:29:39 2022 +0300

     update README.md

commit 0c2085a
Merge: 73c6bcb b7f0ffc
Author: Ilya Oleshko <ilya.oleshko@onlyoffice.com>
Date:   Thu Jan 27 16:52:54 2022 +0300

    Merge branch 'develop' into feature/accessRightSelect

commit 73c6bcb
Author: Yaroslavna Gaivoronyuk <yaroslavna.gayvoronuk@onlyoffice.com>
Date:   Thu Jan 27 16:45:02 2022 +0300

    upd

commit bb6c826
Merge: ee37530 4355430
Author: Yaroslavna Gaivoronyuk <yaroslavna.gayvoronuk@onlyoffice.com>
Date:   Thu Jan 27 15:59:32 2022 +0300

    Merge branch 'feature/accessRightSelect' of github.com:ONLYOFFICE/AppServer into feature/accessRightSelect

commit ee37530
Author: Yaroslavna Gaivoronyuk <yaroslavna.gayvoronuk@onlyoffice.com>
Date:   Thu Jan 27 15:58:56 2022 +0300

    change props, upd story

commit b7f0ffc
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Thu Jan 27 15:35:11 2022 +0300

    cache: fixed memory cache notify

commit 1908af6
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Thu Jan 27 15:20:51 2022 +0300

    cache: return support kafka. refactoring

commit 4355430
Merge: 6a7515e e010268
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 27 12:09:53 2022 +0300

    Merge branch 'develop' into feature/accessRightSelect

commit e010268
Merge: 7f31d3f 23fc1a7
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 27 12:06:52 2022 +0300

    Merge pull request #491 from ONLYOFFICE/feature/redesign-tiles

    Feature/redesign tiles

commit 23fc1a7
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 26 15:16:45 2022 +0300

    Web: Files: Badges: Renamed VersionBadgeWrapper to BadgeWrapper

commit b25e0c7
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 26 14:42:01 2022 +0300

    Web: Files: Tiles: Added border on hover for ok/cancel buttons while renaming

commit 926f0c6
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 26 14:09:43 2022 +0300

    Web: Files: Changed "shared" icon

commit 0e6c866
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Tue Jan 25 14:24:27 2022 +0300

    Web: Files: Badges: Extracted common Badge props to object

commit b4334b8
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 25 13:47:36 2022 +0300

    analizators/Add HttpClient service

commit a46ea93
Merge: 67a749c 7f31d3f
Author: Dmitry Kulak <dmitriy.kulak@onlyoffice.com>
Date:   Tue Jan 25 13:37:04 2022 +0300

    Merge branch 'develop' into feature/redesign-tiles

commit 6a7515e
Author: Yaroslavna Gaivoronyuk <yaroslavna.gayvoronuk@onlyoffice.com>
Date:   Tue Jan 25 11:17:38 2022 +0300

    upd access-right-select

commit 7f31d3f
Merge: 445f030 4be2547
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Tue Jan 25 11:14:23 2022 +0300

    Merge pull request #494 from ONLYOFFICE/feature/refactoring-one-dbcontext-in-dao

    used one dbcontext per service (per DAO). fixed error: System.Invalid…

commit 67a749c
Merge: eb6573b 445f030
Author: Dmitry Kulak <dmitriy.kulak@onlyoffice.com>
Date:   Tue Jan 25 10:14:13 2022 +0300

    Merge branch 'develop' into feature/redesign-tiles

commit 445f030
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Mon Jan 24 22:44:18 2022 +0300

    Fix content-type header

commit eb6573b
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Mon Jan 24 21:04:46 2022 +0300

    Web: Files: Badges: Renamed handleClick to onClick

commit ec47211
Merge: 8b69362 339614f
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Mon Jan 24 17:46:59 2022 +0300

    Merge branch 'develop' into feature/redesign-tiles

commit 8b69362
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Mon Jan 24 17:17:58 2022 +0300

    Web: Files: Tiles: removed background while renaming

commit c70e174
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Mon Jan 24 16:49:27 2022 +0300

    Web: Files: Tiles: Added wrapper for version and "New" badges, refactoring

commit 1e7981b
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Mon Jan 24 14:48:38 2022 +0300

    Web: Components: Badge: Added isHovered and noHover props

commit fce8d26
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 24 13:49:00 2022 +0300

    analizators/ca1507

commit 339614f
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Mon Jan 24 13:34:44 2022 +0300

    kafka: used only legal chars in topic name

commit 0fcac47
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 24 13:01:19 2022 +0300

    analizators/s3604

commit fb3a61d
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 24 12:57:01 2022 +0300

    analizators/s3442

commit 9292ba4
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 24 12:28:00 2022 +0300

    analizators/s2589

commit 9ad899e
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 24 12:27:43 2022 +0300

    analizators/s1264

commit f3cc581
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 24 11:41:44 2022 +0300

    analizators/bugfix

commit 1057cfa
Author: Yaroslavna Gaivoronyuk <yaroslavna.gayvoronuk@onlyoffice.com>
Date:   Mon Jan 24 11:16:45 2022 +0300

    access-right-select, upd link-with-dropdown

commit dc7e3d7
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Mon Jan 24 10:54:29 2022 +0300

    Web: Files: Tiles: Changed font size for file and folder names

commit 9ac985c
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Fri Jan 21 20:32:55 2022 +0300

    crm: CurrencyProvider: fixed init in constructor

commit 8d0324e
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:59:17 2022 +0300

    analizators/s2326

commit d86085d
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:57:22 2022 +0300

    analizators/s2292

commit 83fd179
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Fri Jan 21 16:51:59 2022 +0300

    Web: Files: Tiles: Fix after merge

commit b740a4d
Merge: 64e608d d5c6ba0
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Fri Jan 21 16:47:39 2022 +0300

    Merge branch 'develop' into feature/redesign-tiles

    # Conflicts:
    #	products/ASC.Files/Client/src/pages/Home/Section/Body/TilesView/sub-components/Tile.js
    #	products/ASC.Files/Server/DocStore

commit 667697f
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:46:30 2022 +0300

    analizators/s2259

commit 4be2547
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Fri Jan 21 16:45:50 2022 +0300

    used one dbcontext per service (per DAO). fixed error: System.InvalidOperationException: 'Cannot use multiple context instances within a single query execution. Ensure the query uses a single context instance.'

commit 510bd4d
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:42:02 2022 +0300

    analizators/s2219

commit afb1f56
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Fri Jan 21 16:40:55 2022 +0300

    backup: fixed startup backup as WindowsService dotnet/AspNetCore.Docs#23387

commit cc53cd5
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:40:08 2022 +0300

    Analizators/s1939

commit f3d8b8d
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:36:36 2022 +0300

    analizators/s1854

commit 2f5a70e
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:27:09 2022 +0300

    analizators/s1940

commit ca658e4
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:23:25 2022 +0300

    analizators/s1905

commit 143f0a5
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:22:56 2022 +0300

    Analizators/s1854

commit c05d9fe
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:15:29 2022 +0300

    analizators/s1450

commit fb65d3a
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:15:15 2022 +0300

    analizators/1481

commit 7c60d02
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:12:53 2022 +0300

    analizators/s1643

commit 3d635a4
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 16:12:05 2022 +0300

    analizators/1643

commit 2029c34
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 14:02:17 2022 +0300

    analizators/s1121

commit cd12b41
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 14:01:52 2022 +0300

    analizators/s1125

commit d5c6ba0
Merge: a0a1a1c df6fdd7
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Fri Jan 21 13:57:33 2022 +0300

    Merge pull request #473 from ONLYOFFICE/component-tooltips

    Component tooltips

commit df6fdd7
Merge: 775f05b a0a1a1c
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Fri Jan 21 13:57:21 2022 +0300

    Merge branch 'develop' into component-tooltips

commit a0a1a1c
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Fri Jan 21 13:54:09 2022 +0300

    Elastic: fix ping

commit 4732596
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 13:47:56 2022 +0300

    analizators/s1118

commit 775f05b
Merge: 32c398c fa10791
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Fri Jan 21 12:56:08 2022 +0300

    Merge branch 'develop' into component-tooltips

commit 32c398c
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Fri Jan 21 12:53:29 2022 +0300

    Web: Tests: Added opportunity to sort translation files by Key with new Configurations -> SORT in VS

commit ae53ed0
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 12:27:39 2022 +0300

    analizators/s1117

commit 728c1b8
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 12:19:57 2022 +0300

    analizators/s1104

commit 34441d6
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Fri Jan 21 11:49:16 2022 +0300

    Web: Moved some translations from Files to COMMON for asc-web-components

commit fa10791
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Fri Jan 21 11:40:59 2022 +0300

    Elastic: fix ping

commit 0630a43
Author: pavelbannov <pavel.bannov@onlyoffice.com>
Date:   Fri Jan 21 11:26:25 2022 +0300

    Elastic: fix ping

commit bf3b039
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 21 11:04:08 2022 +0300

    analizators/s1116

commit 7e919c9
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 22:06:33 2022 +0300

    Web: Tests: Fix translations test issues

commit 5c34a2b
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 22:05:59 2022 +0300

    Web: Files: Changed file encoding to UTF8 with BOM

commit 0f13f68
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 22:04:59 2022 +0300

    Web: Renamed usage of translations key "folder", "file"

commit 1392659
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 18:38:25 2022 +0300

    Web: Tests: Fix UselessTranslationKeysTest issues: removed useless keys: "TitleCreated", "TitleModified", "TitleUploaded"

commit 7824786
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 18:25:12 2022 +0300

    Web: Removed useless translation key "SelectFolder"

commit 4fdbef8
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 18:22:20 2022 +0300

    Web: Tests: Fix UselessTranslationKeysTest issues on asc-web-components js-files

commit 525439f
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 18:21:01 2022 +0300

    Web: Renamed translations key switchToThumbnails to SwitchToThumbnails

commit b23ac1c
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 18:20:13 2022 +0300

    Web: Fix badges titles

commit 64e608d
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Thu Jan 20 17:51:13 2022 +0300

    Web: Files: Tiles: Fixed shadows from badges and quickbuttons for more visibility

commit 6324300
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 17:02:15 2022 +0300

    Web: Removed duplicate

commit 9b593d5
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 16:56:32 2022 +0300

    Web: Fix translations issues by tests

commit 99105f5
Merge: a3e1d16 4d6b9fe
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 15:45:24 2022 +0300

    Merge branch 'develop' into component-tooltips

    # Conflicts:
    #	packages/asc-web-components/icon-button/index.js
    #	products/ASC.Files/Client/public/locales/de/Article.json
    #	products/ASC.Files/Client/public/locales/de/Translations.json
    #	products/ASC.Files/Client/public/locales/en/Article.json
    #	products/ASC.Files/Client/public/locales/en/Translations.json
    #	products/ASC.Files/Client/public/locales/fr/Article.json
    #	products/ASC.Files/Client/public/locales/fr/Translations.json
    #	products/ASC.Files/Client/public/locales/it/Article.json
    #	products/ASC.Files/Client/public/locales/it/Translations.json
    #	products/ASC.Files/Client/public/locales/pt-BR/Article.json
    #	products/ASC.Files/Client/public/locales/pt-BR/Translations.json
    #	products/ASC.Files/Client/public/locales/ro/Article.json
    #	products/ASC.Files/Client/public/locales/ro/Translations.json
    #	products/ASC.Files/Client/public/locales/ru/Article.json
    #	products/ASC.Files/Client/public/locales/ru/Translations.json
    #	products/ASC.Files/Client/public/locales/sk/Article.json
    #	products/ASC.Files/Client/public/locales/sk/Translations.json

commit 4d6b9fe
Merge: 7e13b3a 6c72436
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 14:58:55 2022 +0300

    Merge pull request #463 from ONLYOFFICE/feature/mobile-main-button

    Feature/mobile main button

commit 5a985a1
Merge: 2410bb9 7e13b3a
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 14:33:24 2022 +0300

    Merge branch 'develop' into feature/redesign-tiles

commit 6c72436
Merge: ec3c7ad 7e13b3a
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Thu Jan 20 14:25:05 2022 +0300

    Merge branch 'develop' into feature/mobile-main-button

commit 2410bb9
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Thu Jan 20 13:56:33 2022 +0300

    Web: Files: Tiles: Removed unused code

commit 877373e
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Thu Jan 20 13:55:58 2022 +0300

    Web: Files: Tiles: Tiles now change color while checked or active

commit 5f78b37
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 20 12:28:48 2022 +0300

    analizators/U2U1000

commit 2f4d05a
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 20 11:54:19 2022 +0300

    analizators/s2692

commit f956ad2
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 20 11:53:38 2022 +0300

    analizators/s2223

commit 50a7bd6
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 20 11:40:21 2022 +0300

    analizators/s3265

commit eb9a33c
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 20 11:36:56 2022 +0300

    analizators/s3218

commit 3f28dfe
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 20 11:36:42 2022 +0300

    analizators/s3237

commit 66643c0
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 20 10:57:54 2022 +0300

    analizators/s2365

commit 61d8d33
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Thu Jan 20 10:22:55 2022 +0300

    Web: Files: Tiles: Fixed badge padding

commit 7e13b3a
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Wed Jan 19 19:25:10 2022 +0300

    backup: refactoring

commit edd627e
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 18:33:27 2022 +0300

    analizators/s2696

commit f0dbdde
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 18:29:04 2022 +0300

    analizators/s2692

commit f2e33fa
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 18:16:59 2022 +0300

    analizators/s2365

commit 9d09963
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 19 17:55:22 2022 +0300

    Web: Files: removed DocStore from PR

commit cbab9c4
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 17:16:34 2022 +0300

    analizators/s2178

commit 25050cb
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 17:16:15 2022 +0300

    analizators/s2223

commit 8fa4d6e
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 19 17:05:27 2022 +0300

    Web: Files: Removed unused code, fixes

commit 547b78b
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 16:36:03 2022 +0300

    analizators/2178

commit e046f6f
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 16:14:51 2022 +0300

    analizators/s1006

commit efbfb62
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 19 15:35:15 2022 +0300

    Web: Files: withLoader: Fixes

commit 1a1d597
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 19 15:31:42 2022 +0300

    Web: Files: Tiles: Separated clashing styles for rename wrapper

commit da4b9d0
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 19 15:29:17 2022 +0300

    Web: Files: Tiles: Fixed option button padding

commit 85f1660
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 13:46:21 2022 +0300

    analizators/U2U1203

commit 20b6095
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 13:24:11 2022 +0300

    analizators/U2U1022

commit a30b276
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 13:00:16 2022 +0300

    analizators/U2U1015

commit fbb50e6
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 12:51:30 2022 +0300

    analizators/U2U1202

commit 4b211c0
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 12:14:50 2022 +0300

    analizators/U2U1203

commit 1403afb
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 11:59:14 2022 +0300

    analizators/U2U1209

commit c871295
Merge: 5098ea1 07ebea5
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Wed Jan 19 11:47:44 2022 +0300

    Merge branch 'develop' into feature/redesign-tiles

commit 5098ea1
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 19 11:34:32 2022 +0300

    Web: Files: Tiles: Loaders: Fixed number of loaders on smartphones

commit 2876ef5
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 19 11:23:46 2022 +0300

    Web: Files: Tiles: Fixed quick buttons appearance conditions

commit 769fc55
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 19 11:16:58 2022 +0300

    analizators/U2U1210

commit e21b7a2
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Jan 19 11:05:59 2022 +0300

    Web: Files: Tiles: Refactoring

commit 6cb00cd
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Tue Jan 18 19:19:56 2022 +0300

    Web: Files: Tiles: Added quick buttons, refactoring

commit 07ebea5
Author: Alexey Bannov <alexey.bannov@onlyoffice.com>
Date:   Tue Jan 18 19:04:35 2022 +0300

    backup: refactoring

commit 78047d3
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 18 18:29:46 2022 +0300

    analizators/U2U1210

commit 6c57925
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 18 17:43:46 2022 +0300

    analizators/U2U1209

commit f1f7a82
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 18 17:00:48 2022 +0300

    analizators/U2U1208

commit acd5b83
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 18 17:00:28 2022 +0300

    analiztators/U2U1206

commit 84638fe
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 18 16:54:24 2022 +0300

    analizators/U2U1202

commit 36c26bc
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 18 15:40:28 2022 +0300

    analizators/U2U1117

commit e636847
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 17 11:28:39 2022 +0300

    analizators/U2U1115

commit cec441c
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 17 11:23:40 2022 +0300

    analizators/U2U1113

commit 0ee1a35
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 17 11:22:52 2022 +0300

    analizators/U2U1115

commit 8e62da4
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Fri Jan 14 17:46:52 2022 +0300

    Web: Files: Tiles: Removed unused code

commit 516cd2f
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 14 16:44:02 2022 +0300

    analizators/U2U1111

commit b9884e6
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 14 16:32:06 2022 +0300

    Analizators/U2U1107

commit 4bf8415
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Fri Jan 14 16:12:37 2022 +0300

    Analizators/U2U1104

commit 9bc8584
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 13 15:53:57 2022 +0300

    analizators/U2U1103

commit cacb889
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 13 15:04:28 2022 +0300

    analizators/U2U1100

commit d1ce4c5
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 13 14:30:40 2022 +0300

    analizators/U2U1025

commit 4155f91
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Jan 13 14:19:39 2022 +0300

    analizators/U2U1025

commit fe75b6f
Merge: e014ff6 a1ff0a8
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Thu Jan 13 13:59:50 2022 +0300

    Merge branch 'develop' into feature/redesign-tiles

commit 66cf28b
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 12 18:42:03 2022 +0300

    analizators/U2U1100

commit 6961f38
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 12 15:34:58 2022 +0300

    analizators/U2U1023

commit 3ff7aec
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 12 13:27:06 2022 +0300

    analizators/U2U1015

commit 610c45f
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Jan 12 12:56:00 2022 +0300

    analizators/U2U1009

commit 50c0596
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 11 18:37:19 2022 +0300

    analizators/U2U1009

commit c85c2e6
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Jan 11 18:37:10 2022 +0300

    analizators/U2U1007

commit d9619e1
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 10 18:13:54 2022 +0300

    analizators/U2U1006

commit c43f244
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 10 18:13:30 2022 +0300

    analizators/U2U1003

commit a671732
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 10 12:24:21 2022 +0300

    analizators/SCS0005

commit d7a1f73
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 10 11:45:40 2022 +0300

    analizators/s4035

commit 579e867
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Mon Jan 10 11:18:55 2022 +0300

    analizators/s3168

commit 50698af
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 15:28:14 2021 +0300

    analizators/s3168

commit b9ae9b7
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 15:12:44 2021 +0300

    analizators/s2583

commit 6c32e34
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 15:04:47 2021 +0300

    analizators/s1848

commit 1c29b81
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 15:01:20 2021 +0300

    analizators/s1848

commit 6273539
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 14:03:50 2021 +0300

    analizators/s2583

commit 8f53895
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 14:03:05 2021 +0300

    analizators/s2201

commit 3d33fec
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 14:00:03 2021 +0300

    analizators/s2259

commit 555ca30
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 13:23:01 2021 +0300

    analizators/s2259

commit e2857e8
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 12:52:44 2021 +0300

    analizators/s2997

commit 2a82bc8
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Thu Dec 30 12:44:25 2021 +0300

    analizators/s2583

commit e014ff6
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Thu Dec 30 10:55:16 2021 +0300

    Web: Files: Tiles: Loaders aligned with content, fixes

commit abd72b9
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Dec 29 18:49:02 2021 +0300

    analizators/s3903

commit 973f8a4
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Dec 29 18:47:35 2021 +0300

    analizators/s2259

commit fd7a5d9
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Dec 29 18:45:47 2021 +0300

    Web: Files: Tiles: Fixed styles for name renaming

commit 632783b
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Dec 29 18:12:39 2021 +0300

    analizators/s4275

commit facc97b
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Dec 29 17:41:02 2021 +0300

    analizators/s4423

commit 877095f
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Wed Dec 29 17:40:19 2021 +0300

    analizators/s3923

commit b5bcf38
Merge: 57c2460 9d43cb0
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Dec 29 15:48:41 2021 +0300

    Merge remote-tracking branch 'origin/develop' into feature/redesign-tiles

commit a40b066
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 19:01:12 2021 +0300

    analizators/s3963

commit f244266
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 18:50:54 2021 +0300

    analizators/s3966

commit 5e91416
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 18:44:54 2021 +0300

    analizators/s4035

commit 895e888
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 17:04:52 2021 +0300

    analizators/s4144

commit 6cd3a7b
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 17:03:05 2021 +0300

    analizators/s4201

commit 28e1c65
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 16:39:44 2021 +0300

    analizators/s4456

commit ee79cec
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 16:19:53 2021 +0300

    analizators/s4457

commit c332120
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 16:08:11 2021 +0300

    analizators/s4487

commit af1c812
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 15:03:12 2021 +0300

    analizators/s4586

commit 0a786bb
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 15:00:48 2021 +0300

    analizators/s4830

commit 352a8b6
Author: SuhorukovAnton <anton.sukhorukov@onlyoffice.com>
Date:   Tue Dec 28 14:54:10 2021 +0300

    analizators/s5034

commit 57c2460
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Mon Dec 27 18:46:26 2021 +0300

    Web: Files: Tiles: Redesign, refactoring

commit a3e1d16
Merge: f3ec8d4 5e088d3
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Mon Dec 27 16:15:17 2021 +0300

    Merge branch 'develop' into component-tooltips

commit ec3c7ad
Merge: 1fb23a1 5e088d3
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Mon Dec 27 16:12:36 2021 +0300

    Merge branch 'develop' into feature/mobile-main-button

commit 4f33443
Author: gectokot <dmitry.kulak11@gmail.com>
Date:   Wed Dec 15 18:37:55 2021 +0300

    Web: Files: Tiles: Different number of loaders on different screens

commit 1f4ce11
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Tue Dec 21 18:00:54 2021 +0300

    Web: Files: Tiles: Loaders redesign

commit 18aa012
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Tue Dec 21 18:00:12 2021 +0300

    Web: Files: Tiles: Renaming redesign, fixes

commit c4c8970
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Fri Dec 17 18:19:06 2021 +0300

    Web: Files: Tiles: Refactoring

commit 22e446d
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Fri Dec 17 18:17:48 2021 +0300

    Web: Files: Tiles: Badges redesign

commit 37fb1b2
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Fri Dec 17 18:14:20 2021 +0300

    Web: Files: Tiles: Removed file extension from file title

commit 9d06c87
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Thu Dec 16 19:05:05 2021 +0300

    Web: Files: Tiles: File tiles and layout redesign

commit 23afa67
Author: Dmitry Kulak <dmitry.kulak11@gmail.com>
Date:   Wed Dec 15 18:37:55 2021 +0300

    Web: Files: Tiles: Folder tile redesign, made file icons bigger

commit 1fb23a1
Merge: 4fe4080 de1eade
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Tue Dec 14 12:08:49 2021 +0300

    Merge branch 'develop' into feature/mobile-main-button

commit 4fe4080
Merge: 2f21f22 8d1f9da
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Tue Dec 7 16:24:43 2021 +0300

    Merge branch 'develop' into feature/mobile-main-button

commit f3ec8d4
Merge: 907877b b9ca3c8
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Dec 2 13:11:27 2021 +0500

    Merge branch 'develop' into component-tooltips

commit 907877b
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Dec 2 13:08:33 2021 +0500

    Web: Common: delete filter button title

commit 0d98d5d
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Dec 2 13:07:57 2021 +0500

    Web: Files: added ButtonEdit translation, added badge edit title

commit 2de5472
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Wed Dec 1 17:17:12 2021 +0500

    Web: Files: added TitleShowActions  and TitleShowFolderActions  translations, added row and tile context menu titles

commit 2b7bc7f
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Tue Nov 30 15:11:59 2021 +0500

    Web: Files: added ButtonShareAccess translation, added share and row checkbox tooltip

commit 4c97720
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Tue Nov 30 14:28:01 2021 +0500

    Web: Files: added switchToThumbnails and SwitchViewToCompact translation, added view selector tooltip

commit 6db5c38
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Mon Nov 29 18:40:00 2021 +0500

    Web: Files: added group menu title

commit def7e82
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Mon Nov 29 17:56:37 2021 +0500

    Web: Files: added TitleSelectFile translation, added group combo box title

commit c9b58ca
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Mon Nov 29 16:57:14 2021 +0500

    Web: Files: added MainHeaderSelectAll translation, added group menu checkbox title

commit 82a1458
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Mon Nov 29 14:48:47 2021 +0500

    Web: Files: added MobileIos translation, added ios download tooltip

commit d5eebd2
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Mon Nov 29 14:34:41 2021 +0500

    Web: Files: added MobileAndroid translation, added android download tooltip

commit 29da1ca
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Mon Nov 29 14:22:04 2021 +0500

    Web: Files: added MobileLinux translation, added linux download tooltip

commit f759ddc
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Mon Nov 29 14:12:56 2021 +0500

    Web: Files: added MobileMac translation, added mac download tooltip

commit ed7bb58
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Mon Nov 29 14:08:05 2021 +0500

    Web: Files: added MobileWin translations, added win download tooltip

commit a046e5a
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Nov 25 18:47:09 2021 +0500

    Web: Files: added icon button title prop, added connect tooltip

commit 1e8bbfc
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Nov 25 17:21:54 2021 +0500

    Web: Files: added ButtonAddSkyDrive translation, added sky drive button tooltip

commit c7e4da9
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Nov 25 17:12:58 2021 +0500

    Web: Files: added ButtonAddNextcloud translation, added nextcloud button tooltip

commit 5e1a7c4
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Nov 25 16:17:23 2021 +0500

    Web: Files: added ButtonAddDropBox translation, added drop box tooltip

commit bd9687c
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Nov 25 15:12:09 2021 +0500

    Web: Files: added ButtonAddBoxNet translation, added box button tooltip

commit 7d66e16
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Nov 25 14:54:32 2021 +0500

    Web: Files: added ButtonAddGoogle translation

commit 2f21f22
Merge: 0e52607 d94ea50
Author: Alexey Safronov <Alexey.Safronov@onlyoffice.com>
Date:   Mon Nov 22 16:39:22 2021 +0300

    Merge branch 'develop' into feature/mobile-main-button

commit 0e52607
Merge: bca3a57 9ad5e54
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Fri Nov 19 14:35:39 2021 +0500

    Merge branch 'develop' into feature/mobile-main-button

commit bca3a57
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Fri Nov 19 14:34:30 2021 +0500

    Web: Components: added read me for main button mobile

commit 60d8567
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Fri Nov 19 14:34:01 2021 +0500

    Web: Components: added recalculation of height, added error prop progress bar

commit 77e57c8
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Fri Nov 19 14:30:22 2021 +0500

    Web: Components: fixed scroll styles

commit 0503188
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Thu Nov 18 14:10:58 2021 +0500

    Web: Components: added storybook controls for main button mobile

commit 66dd9b1
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Wed Nov 17 17:39:18 2021 +0500

    Web: Components: fixed floating button in main button mobile, added scrollbar

commit b28acbe
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Wed Nov 17 17:37:01 2021 +0500

    Web: Common: added color prop for floating button

commit 3f532f6
Merge: da5c9bb 678b9ae
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Tue Nov 2 13:36:34 2021 +0500

    Merge branch 'develop' into feature/mobile-main-button

commit da5c9bb
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Tue Nov 2 13:34:15 2021 +0500

    Web: Components: created the main button mobile component

commit d6544c0
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Tue Nov 2 13:31:54 2021 +0500

    Web: Public: added icons

commit b42a30a
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Tue Nov 2 13:31:18 2021 +0500

    Web: Components: added main button styles

commit 886e1ba
Author: Dmitry Sychugov <dmitry.sychugov@onlyoffice.com>
Date:   Tue Nov 2 13:30:33 2021 +0500

    Web: Common: added icons in floating button
@Rick-Anderson Rick-Anderson removed the Pri0 Urgent priority label Apr 5, 2022
@Rick-Anderson
Copy link
Contributor

See Create the Windows Service

https://github.com/dotnet/docs/pull/26372/files:

Tip

If you need to change the content root of the host configuration, you can pass it as a command-line argument when specifying the binpath:

sc.exe create "Svc Name" binpath="C:\Path\To\App.exe --contentRoot C:\Other\Path"

@Rick-Anderson Rick-Anderson self-assigned this Apr 5, 2022
@DapperDeer
Copy link

DapperDeer commented May 26, 2022

Hey there,

I am trying to create my service with the new --contentRoot argument but am experiencing this issue where the argument isn't accepting a space character:

sc.exe create Diagnostics binPath="C:\Program Files\Diagnostics\Diagnostics.exe --contentRoot C:\Program Files\Diagnostics"

Application: Diagnostics.exe
CoreCLR Version: 6.0.322.12309
.NET Version: 6.0.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.DirectoryNotFoundException: C:\Program\

I've tried putting the path in single quotes ala --contentRoot 'C:\Program Files\Diagnostics' but no luck on that either - in fact, it's strangely mixing my working directory and part of the given content root?

Application: Diagnostics.exe
CoreCLR Version: 6.0.322.12309
.NET Version: 6.0.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.DirectoryNotFoundException: C:\Program Files\Diagnostics\'C:\Program\

Entirely possible I'm missing a simple solution, but please advise nonetheless.

Thanks.

Edit: I was able to work around this by being in the directory I waned the Content Root to be and setting it as ./, but this may still be something to look into?

@davidfowl
Copy link
Member

Yes, we plan to make this a bit more seamless so nothing has to be changed by default.

@josdan018
Copy link

I am trying to create my service with the new --contentRoot argument but am experiencing this issue where the argument isn't accepting a space character:

sc.exe create Diagnostics binPath="C:\Program Files\Diagnostics\Diagnostics.exe --contentRoot C:\Program Files\Diagnostics"

Application: Diagnostics.exe
CoreCLR Version: 6.0.322.12309
.NET Version: 6.0.3
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.DirectoryNotFoundException: C:\Program\

@DapperDeer .exe path should be quoted ref

@SimoneBWS
Copy link

In my case it works with:
sc create MyApp binpath="C:\Program Files\Contoso\MyApp\bin\MyApp.exe --contentRoot C:\Program Files\Contoso\MyApp\bin\"

@tbayart
Copy link

tbayart commented Nov 10, 2023

2 years later, we still face the same issue
@davidfowl can you tell me if there is a reason to set the ContentRootPath only when the application run as a Windows service ?

ContentRootPath = WindowsServiceHelpers.IsWindowsService() ? AppContext.BaseDirectory : default

also if this is still considered as a workaround, is there a cleaner way to start a Krestrel as a Windows service ?

@davidfowl
Copy link
Member

What version of .NET are you running?

@tbayart
Copy link

tbayart commented Nov 10, 2023

net6.0 LTS

@davidfowl
Copy link
Member

It's fixed in .NET 7+

@tbayart
Copy link

tbayart commented Nov 11, 2023

Thanks for the update, i will check that with incoming net8.0 upgrade

@mateuszPATeam
Copy link

Apologies for digging up an old thread, but I'm unable to set the content root path, no matter what I do. My application is self-contained, single executable, and I want to host it as a Windows Service. I applied the above snippet and tried to create the service with --contentRoot, but it just doesn't do anything and my Content Root is always pointing to a folder in Windows. The target framework is .NET 6. Any ideas how I can fix it?

@tbayart
Copy link

tbayart commented Jan 13, 2024

@davidfowl workaround solved the issue on my side for my .net 6 version
#23387 (comment)

if it's not your case, try to reproduce your issue with minimal code and post it here so we can help you solve your problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.