File tree Expand file tree Collapse file tree 5 files changed +2
-10
lines changed
SamplesApp/SamplesApp.Droid
Uno.ProjectTemplates.Dotnet/content/unoapp-prism/BlankApp.Droid
UnoSolutionTemplate/Droid Expand file tree Collapse file tree 5 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 79
79
msbuildLocationMethod : version
80
80
msbuildVersion : latest
81
81
msbuildArchitecture : x86
82
- msbuildArguments : /m /r /p:Configuration=Release /p:IsUiAutomationMappingEnabled=true
82
+ msbuildArguments : /m /r /p:Configuration=Release /p:IsUiAutomationMappingEnabled=true /p:AndroidBuildApplicationPackage=True
83
83
clean : false
84
84
maximumCpuCount : true
85
85
restoreNugetPackages : false
Original file line number Diff line number Diff line change @@ -56,9 +56,7 @@ You should now have a folder structure that looks like this:
56
56
![ rider-folder-structure] ( Assets/quick-start/rider-folder-structure.JPG )
57
57
58
58
### Android
59
- 1 . Remove the following line from the ` YourProject.Droid.csproj ` file:
60
- ` <Target Name="GenerateBuild" DependsOnTargets="SignAndroidPackage" AfterTargets="Build" Condition="'$(BuildingInsideVisualStudio)'==''" /> `
61
- 2 . Set Android as your startup project. Run.
59
+ 1 . Set Android as your startup project. Run.
62
60
![ run-android-rider] ( Assets/quick-start/run-android-rider.JPG )
63
61
64
62
Note: Whether you're using a physical device or the emulator, the app will install but will not automatically open.
Original file line number Diff line number Diff line change 207
207
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
208
208
<Import Project =" ..\Benchmarks.Shared\Benchmarks.Shared.projitems" Label =" Shared" />
209
209
<Import Project =" ..\SamplesApp.UnitTests.Shared\SamplesApp.UnitTests.targets" />
210
- <Target Name =" GenerateBuild" DependsOnTargets =" SignAndroidPackage" AfterTargets =" Build" Condition =" '$(BuildingInsideVisualStudio)'=='' and '$(UnoSampleAppDisableAPKGeneration)'==''" />
211
210
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
212
211
Other similar extension points exist, see Microsoft.Common.targets.
213
212
<Target Name="BeforeBuild">
Original file line number Diff line number Diff line change 97
97
</ItemGroup >
98
98
<Import Project =" ..\BlankApp.Shared\BlankApp.Shared.projitems" Label =" Shared" Condition =" Exists('..\BlankApp.Shared\BlankApp.Shared.projitems')" />
99
99
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
100
- <!-- This will force the generation of the APK when not building inside visual studio -->
101
- <Target Name =" GenerateBuild" DependsOnTargets =" SignAndroidPackage" AfterTargets =" Build" Condition =" '$(BuildingInsideVisualStudio)'==''" />
102
100
</Project >
Original file line number Diff line number Diff line change 97
97
<Import Project =" ..\$ext_safeprojectname$.Shared\$ext_safeprojectname$.Shared.projitems" Label =" Shared" />
98
98
<Import Project =" $(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
99
99
100
- <!-- This will force the generation of the APK when not building inside visual studio -->
101
- <Target Name =" GenerateBuild" DependsOnTargets =" SignAndroidPackage" AfterTargets =" Build" Condition =" '$(BuildingInsideVisualStudio)'==''" />
102
-
103
100
<Target Name =" Issue3897Workaround"
104
101
Condition=" '$(ManagedDesignTimeBuild)' == 'True' "
105
102
AfterTargets=" _RemoveLegacyDesigner" >
You can’t perform that action at this time.
0 commit comments