-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: develop
Are you sure you want to change the base?
Conversation
"tags": { | ||
"language": "F#", | ||
"type": "project" | ||
}, | ||
"sourceName": "SolutionTemplate", | ||
"sourceName": "App13", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это надо откатить
|
||
// 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)] |
There was a problem hiding this comment.
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" /> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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 --> |
There was a problem hiding this comment.
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")] |
There was a problem hiding this comment.
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\" /> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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'" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Мы же тут на звёздочку?
А давай версию в props вынесем. Чтобы проще было
</ItemGroup> | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Много лишних строк пустых
src/Templates/SolutionTemplate/SolutionTemplate.Droid/Properties/AssemblyInfo.cs
Outdated
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.Droid/SolutionTemplate.Droid.csproj
Outdated
Show resolved
Hide resolved
<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 --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Выдели тогда их вообще в отдельную группу и поставь выше текущей группы надо строкой 65
src/Templates/SolutionTemplate/SolutionTemplate.Droid/SolutionTemplate.Droid.csproj
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.macOS/Properties/AssemblyInfo.cs
Outdated
Show resolved
Hide resolved
<ItemGroup> | ||
<ReferencePath Remove="@(_ReferencePathToRemove)" /> | ||
</ItemGroup> | ||
</Target> |
There was a problem hiding this comment.
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.*" /> |
There was a problem hiding this comment.
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" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Возвращает на звёздочку
124d3b0
to
ab05c1f
Compare
src/Templates/SolutionTemplate/SolutionTemplate.Skia.Tizen/SolutionTemplate.Skia.Tizen.csproj
Outdated
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.Skia.Wpf/SolutionTemplate.Skia.Wpf.csproj
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.UWP/SolutionTemplate.UWP.csproj
Outdated
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.UWP/SolutionTemplate.UWP.csproj
Outdated
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.iOS/SolutionTemplate.iOS.csproj
Outdated
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.iOS/SolutionTemplate.iOS.csproj
Outdated
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.iOS/SolutionTemplate.iOS.csproj
Outdated
Show resolved
Hide resolved
src/Templates/SolutionTemplate/SolutionTemplate.iOS/SolutionTemplate.iOS.csproj
Outdated
Show resolved
Hide resolved
b1c3d17
to
7a4e4fb
Compare
8706b7c
to
932d4c6
Compare
a458d39
to
7c8f6e7
Compare
51d8d23
to
e419760
Compare
86b7ddc
to
dcc4b94
Compare
dcc4b94
to
eb122cc
Compare
4977126
to
b8ee047
Compare
0d5e392
to
43c92d0
Compare
…6, however crashes on runtime
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.*.
…e from projects as it is added from props
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.*
…d versions with SolutionTemplate
… ErrorsChanged subscriptions in ViewModel
ee72f4d
to
0e01c25
Compare
f2a63b3
to
eac5d9c
Compare
No description provided.