File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
src/Xamarin.Android.Build.Tasks Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
3
<UsingTask TaskName =" Xamarin.Android.Tools.BootstrapTasks.GenerateProfile" AssemblyFile =" ..\..\bin\Build$(Configuration)\Xamarin.Android.Tools.BootstrapTasks.dll" />
4
- <Target Name =" _Foo" BeforeTargets =" CoreCompile" >
5
- <PropertyGroup >
6
- <_GeneratedProfileClass >$(IntermediateOutputPath)Profile.g.cs</_GeneratedProfileClass >
7
- </PropertyGroup >
8
- <ItemGroup >
9
- <SharedRuntimeBuildPath Include =" ..\..\bin\$(Configuration)\lib\xbuild-frameworks\MonoAndroid\" />
10
- </ItemGroup >
11
- <CreateItem Include =" @(SharedRuntimeBuildPath->'%(Identity)\\v1.0\*.dll');@(SharedRuntimeBuildPath->'%(Identity)\\v6.0\*.dll')" >
12
- <Output TaskParameter =" Include" ItemName =" _SharedRuntimeAssemblies" />
13
- </CreateItem >
4
+ <PropertyGroup >
5
+ <_SharedRuntimeBuildPath >..\..\bin\$(Configuration)\lib\xbuild-frameworks\MonoAndroid\</_SharedRuntimeBuildPath >
6
+ <_GeneratedProfileClass >$(IntermediateOutputPath)Profile.g.cs</_GeneratedProfileClass >
7
+ </PropertyGroup >
8
+ <ItemGroup >
9
+ <_SharedRuntimeAssemblies Include =" $(_SharedRuntimeBuildPath)v1.0\*.dll;$(_SharedRuntimeBuildPath)$(AndroidFrameworkVersion)\*.dll" />
10
+ </ItemGroup >
11
+
12
+ <Target Name =" _GenerateProfileClass" BeforeTargets =" CoreCompile"
13
+ Inputs =" @(_SharedRuntimeAssemblies)"
14
+ Outputs =" $(_GeneratedProfileClass)"
15
+ >
14
16
<GenerateProfile Files =" @(_SharedRuntimeAssemblies)" OutputFile =" $(_GeneratedProfileClass)" />
15
17
<ItemGroup >
16
18
<Compile Include =" $(_GeneratedProfileClass)" />
20
22
Lines =" $(_GeneratedProfileClass)"
21
23
Overwrite =" false" />
22
24
</Target >
23
- </Project >
25
+ </Project >
You can’t perform that action at this time.
0 commit comments