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

Template fixes #2

Open
wants to merge 46 commits into
base: develop
Choose a base branch
from
Open

Template fixes #2

wants to merge 46 commits into from

Conversation

dim-37
Copy link
Collaborator

@dim-37 dim-37 commented May 27, 2021

No description provided.

@dim-37 dim-37 requested a review from xperiandri May 27, 2021 14:53
"tags": {
"language": "F#",
"type": "project"
},
"sourceName": "SolutionTemplate",
"sourceName": "App13",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это надо откатить

src/Templates/SolutionTemplate/.vsconfig Show resolved Hide resolved

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(AssemblyInfo.Product + " UWP app")]
[assembly: AssemblyDescription("UWP приложение"+ AssemblyInfo.Description)]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо откатить до этого. Только оставить

[assembly: AssemblyTitle(AssemblyInfo.Product + " UWP app")]
/// TODO: Modify description per platform
[assembly: AssemblyDescription(AssemblyInfo.Description)]

@@ -1,27 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\Solution.Build.props" />
<Import Project="..\..\Solution.Build.props" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

По всем файлам проектов пройтись Ctrl+E,D и untabify

<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>$(AssemblyBaseName)</RootNamespace>
<AssemblyName>$(AssemblyBaseName).Droid</AssemblyName>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вернуть

<MtouchLink>None</MtouchLink>
<MtouchArch>x86_64</MtouchArch>
<ConsolePause>false</ConsolePause>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я тут настройки консолидировал по смыслу. Верни порядок

@@ -64,17 +60,13 @@
<OutputPath>bin\iPhone\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<BuildIpa>true</BuildIpa>
<IOSDebugOverWiFi>true</IOSDebugOverWiFi>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Пусть будет

<MtouchUseLlvm>true</MtouchUseLlvm>
<MtouchEnableSGenConc>true</MtouchEnableSGenConc>
<!-- Possible options: -->
<!-- -interpreter=FSharp.Core -->
<!-- -linkskip=FSharp.Core -->
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Оставь

using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SolutionTemplate.macOS")]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тоже с общего файла подтягивать

@@ -111,28 +118,24 @@
<ImageAsset Include="Assets.xcassets\unologo.imageset\unoplatform.jpg" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
<Folder Include="Resources\Fonts\" />
<Folder Include="Assets.xcassets\unologo.imageset\" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Студия почему-то эти папки выпиливает. По-моему они в шаблоне есть

<Compile Remove="$(_AndroidResourceDesignerFile)" />
</ItemGroup>
</Target>
</Project>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Что-то мне кажется, что здесь табы

<ProjectGuid>6279c845-92f8-4333-ab99-3d213163593c</ProjectGuid>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
<ProjectGuid>6279c845-92f8-4333-ab99-3d213163593c</ProjectGuid>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
Copy link
Owner

@xperiandri xperiandri May 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут что-то не так с отступом

<ProjectReference Include="..\SolutionTemplate\SolutionTemplate.fsproj" />
</ItemGroup>
<Import Project="..\SolutionTemplate.Shared\SolutionTemplate.Shared.projitems" Label="Shared" />
</Project>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отступы неправильные

<ProjectReference Include="..\SolutionTemplate\SolutionTemplate.fsproj" />
</ItemGroup>
<Import Project="..\SolutionTemplate.Shared\SolutionTemplate.Shared.projitems" Label="Shared" />
</Project>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отступы неправильные

<ProjectReference Include="..\SolutionTemplate.Skia.WPF\SolutionTemplate.Skia.WPF.csproj" />
<ProjectReference Include="..\SolutionTemplate\SolutionTemplate.fsproj" />
</ItemGroup>
</Project>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отступы неправильные

</PropertyGroup>
<ItemGroup>
<PackageReference Include="Uno.UI.Skia.Wpf" Version="3.7.4" />
<PackageReference Include="Uno.UI.RemoteControl" Version="3.7.4" Condition="'$(Configuration)'=='Debug'" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мы же тут на звёздочку?
А давай версию в props вынесем. Чтобы проще было

</ItemGroup>



Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Много лишних строк пустых

<PackageReference Include="Uno.UI.RemoteControl" Version="3.7.4" Condition="'$(Configuration)'=='Debug'" />
<PackageReference Include="Uno.UI" Version="3.7.4" />
<PackageReference Include="Uno.UniversalImageLoader" Version="1.9.33" />
<!-- Analyzers -->
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Выдели тогда их вообще в отдельную группу и поставь выше текущей группы надо строкой 65

<ItemGroup>
<ReferencePath Remove="@(_ReferencePathToRemove)" />
</ItemGroup>
</Target>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Аналогино

<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="5.0.*" />
<PackageReference Include="Uno.Core" Version="2.3.0" />
<PackageReference Include="Uno.UI" Version="3.7.*" />
<PackageReference Include="Xamarin.Essentials" Version="1.6.*" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отступы

</ItemGroup>

<ItemGroup>
<PackageReference Update="FSharp.Core" Version="5.0.*" />
<PackageReference Update="FSharp.Core" Version="5.0.1" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Возвращает на звёздочку

@dim-37 dim-37 force-pushed the template_fixes branch 2 times, most recently from 124d3b0 to ab05c1f Compare June 1, 2021 13:43
@dim-37 dim-37 force-pushed the template_fixes branch 4 times, most recently from b1c3d17 to 7a4e4fb Compare June 1, 2021 14:15
@xperiandri xperiandri force-pushed the template_fixes branch 3 times, most recently from 8706b7c to 932d4c6 Compare June 2, 2021 20:23
@xperiandri xperiandri force-pushed the template_fixes branch 6 times, most recently from a458d39 to 7c8f6e7 Compare June 8, 2021 14:48
@xperiandri xperiandri force-pushed the develop branch 2 times, most recently from 0d5e392 to 43c92d0 Compare August 24, 2021 13:23
xperiandri and others added 23 commits October 23, 2021 23:11
Renamed UnoVersion variable to UnoUIVersion.
Updated Uno Version from 3.7.* to 3.8.*.
Updated Uno Core Version from 2.3.0 to 2.4.*.
Uno.Core to 2.4.*
Microsoft.UI.Xaml to 2.6.*
FSharp.Control.FusionTasks to 2.4.*
FSharpPlus to 1.2.*
Xamarin.Essentials to 1.7.*
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

Successfully merging this pull request may close these issues.

2 participants