1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<Import Project =" ..\Python.build.props" />
3
3
<PropertyGroup >
4
- <TargetFrameworks >net461; net6.0-windows;net6.0</TargetFrameworks >
4
+ <TargetFrameworks >net6.0-windows;net6.0</TargetFrameworks >
5
5
<OutputPath >$(ProjectDir)..\..\Output\Activities\Python\</OutputPath >
6
6
<VersionSuffix ></VersionSuffix >
7
7
<!-- leave empty for ci to replace with prelease tag-->
29
29
</Target >
30
30
31
31
<ItemGroup >
32
- <None Include =" ..\3rdparty\Python.Runtime*.dll" Pack =" true" PackagePath =" bin\net461\x86" />
33
- <None Include =" ..\3rdparty\Python.Runtime*.dll" Exclude =" **\*.27.dll;**\*.34.dll;**\*.35.dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0\x86" />
34
- <None Include =" ..\3rdparty\Python.Runtime*.dll" Exclude =" **\*.27.dll;**\*.34.dll;**\*.35.dll" Pack =" true" PackagePath =" bin\net6.0\x86" />
32
+ <None Include =" ..\3rdparty\Python.Runtime*.dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0\x86" />
33
+ <None Include =" ..\3rdparty\Python.Runtime*.dll" Pack =" true" PackagePath =" bin\net6.0\x86" />
35
34
36
- <None Include =" ..\3rdparty\x64\Python.Runtime*.dll" Pack =" true" PackagePath =" bin\net461\x64" />
37
- <None Include =" ..\3rdparty\x64\Python.Runtime*.dll" Exclude =" **\*.27.dll;**\*.34.dll;**\*.35.dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0\x64" />
38
- <None Include =" ..\3rdparty\x64\Python.Runtime*.dll" Exclude =" **\*.27.dll;**\*.34.dll;**\*.35.dll" Pack =" true" PackagePath =" bin\net6.0\x64" />
35
+ <None Include =" ..\3rdparty\x64\Python.Runtime*.dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0\x64" />
36
+ <None Include =" ..\3rdparty\x64\Python.Runtime*.dll" Pack =" true" PackagePath =" bin\net6.0\x64" />
39
37
40
- <None Include =" $(OutputPath)\net461\UiPath.Python.Host*.exe" Pack =" true" PackagePath =" bin\net461" />
41
38
<None Include =" $(OutputPath)\net6.0\UiPath.Python.Host*.*exe" Pack =" true" PackagePath =" bin\net6.0" />
42
39
<None Include =" $(OutputPath)\net6.0-windows\UiPath.Python.Host*.*exe" Pack =" true" PackagePath =" bin\net6.0-windows7.0" />
43
40
<None Include =" $(OutputPath)\net6.0\UiPath.Python.Host*.*dll" Pack =" true" PackagePath =" bin\net6.0" />
49
46
<None Include =" $(OutputPath)\net6.0\*.*dll" Pack =" true" PackagePath =" bin\net6.0" />
50
47
<None Include =" $(OutputPath)\net6.0-windows\*.*dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0" />
51
48
52
- <None Include =" $(OutputPath)\net461\UiPath.Python.dll" Pack =" true" PackagePath =" bin\net461" />
53
49
<None Include =" $(OutputPath)\net6.0\UiPath.Python.dll" Pack =" true" PackagePath =" bin\net6.0" />
54
50
<None Include =" $(OutputPath)\net6.0-windows\UiPath.Python.dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0" />
55
51
56
- <None Include =" $(OutputPath)\net461\ja\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\ja\UiPath.Python.resources.dll" />
57
- <None Include =" $(OutputPath)\net461\ru\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\ru\UiPath.Python.resources.dll" />
58
- <None Include =" $(OutputPath)\net461\de\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\de\UiPath.Python.resources.dll" />
59
- <None Include =" $(OutputPath)\net461\es\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\es\UiPath.Python.resources.dll" />
60
- <None Include =" $(OutputPath)\net461\es-MX\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\es-MX\UiPath.Python.resources.dll" />
61
- <None Include =" $(OutputPath)\net461\ko\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\ko\UiPath.Python.resources.dll" />
62
- <None Include =" $(OutputPath)\net461\pt\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\pt\UiPath.Python.resources.dll" />
63
- <None Include =" $(OutputPath)\net461\pt-BR\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\pt-BR\UiPath.Python.resources.dll" />
64
- <None Include =" $(OutputPath)\net461\tr\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\tr\UiPath.Python.resources.dll" />
65
- <None Include =" $(OutputPath)\net461\zh-CN\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\zh-CN\UiPath.Python.resources.dll" />
66
- <None Include =" $(OutputPath)\net461\zh-TW\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net461\zh-TW\UiPath.Python.resources.dll" />
67
-
68
52
<None Include =" $(OutputPath)\net6.0-windows\fr\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0\fr\UiPath.Python.resources.dll" />
69
53
<None Include =" $(OutputPath)\net6.0-windows\ja\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0\ja\UiPath.Python.resources.dll" />
70
54
<None Include =" $(OutputPath)\net6.0-windows\ru\UiPath.Python.resources.dll" Pack =" true" PackagePath =" bin\net6.0-windows7.0\ru\UiPath.Python.resources.dll" />
126
110
127
111
</ItemGroup >
128
112
129
- <ItemGroup Condition = " '$(TargetFramework)' != 'net461' " >
113
+ <ItemGroup >
130
114
<BuildOutputInPackage Include =" $(OutputPath)UiPath.Python.Activities.ViewModels.dll" />
131
115
</ItemGroup >
132
116
148
132
</ItemGroup >
149
133
</Target >
150
134
151
- <ItemGroup Condition = " '$(TargetFramework)' != 'net461' " >
135
+ <ItemGroup >
152
136
<ProjectReference Include =" ..\..\Python\UiPath.Python.Activities.ViewModels\UiPath.Python.Activities.ViewModels.csproj" >
153
137
<PrivateAssets >All</PrivateAssets >
154
138
</ProjectReference >
165
149
</ProjectReference >
166
150
</ItemGroup >
167
151
168
- <ItemGroup Condition = " '$(TargetFramework)' != 'net461' " >
152
+ <ItemGroup >
169
153
<PackageReference Include =" System.Activities.ViewModels" />
170
154
</ItemGroup >
171
155
172
- <Target Name =" PostBuild" AfterTargets =" PostBuildEvent" Condition =" '$(TargetFramework)' == 'net461 ' AND $(ConfigurationName) == Debug " >
156
+ <Target Name =" PostBuild" AfterTargets =" PostBuildEvent" Condition =" '$(TargetFramework)' == 'net6.0 ' AND $(ConfigurationName) == Debug " >
173
157
<Exec Command =" if exist " $(ProjectDir)..\..\Output\Activities\Packages\UiPath.Python.*" del " $(ProjectDir)..\..\Output\Activities\Packages\UiPath.Python.*"

" powershell.exe" -file " $(ProjectDir)..\..\Tools\net.sdk\pack-project.ps1" -projectPath " $(ProjectPath)" -outputPath " $(ProjectDir)..\..\Output\Activities\Packages" -suffix " dev" " />
174
158
</Target >
175
159
</Project >
0 commit comments