33 <ProjectGuid >{F1541C2D-80A9-4FE7-8D9E-75A8B9FF3479}</ProjectGuid >
44 <OutputType >Library</OutputType >
55 <AppDesignerFolder >Properties</AppDesignerFolder >
6- <RootNamespace >DSPythonNet3</RootNamespace >
7- <AssemblyName >DSPythonNet3</AssemblyName >
8- <OutputPath >$(SolutionDir)\package_output\DSPythonNet3\extra\</OutputPath >
9- <DotNet >net8.0</DotNet >
10- <TargetFramework >$(DotNet)</TargetFramework >
11- <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
12- <AppendTargetFrameworkToOutputPath >false</AppendTargetFrameworkToOutputPath >
13- <CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
14- </PropertyGroup >
15- <PropertyGroup >
6+ <OutputPath >$(BuildOutput)extra\</OutputPath >
7+ <CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
168 <NoWarn >MSB3539;CS1591;NUnit2005;NUnit2007;CS0618;CS0612;CS0672</NoWarn >
179 </PropertyGroup >
18- <ItemGroup >
19- <PackageReference Include =" DynamoVisualProgramming.Core" Version =" 3.4.0-beta6616" ExcludeAssets =" runtime" />
20- <PackageReference Include =" DynamoVisualProgramming.DynamoServices" Version =" 3.4.0-beta6616" ExcludeAssets =" runtime" />
21- <PackageReference Include =" pythonnet" Version =" 3.1.0-preview-ADSK-*" />
22- </ItemGroup >
2310 <ItemGroup >
2411 <Reference Include =" Python.Deployment" >
2512 <HintPath >..\extern\Python\Python.Deployment.dll</HintPath >
2916 <HintPath >..\extern\Python\Python.Included.dll</HintPath >
3017 <Private >True</Private >
3118 </Reference >
19+ <InternalsVisibleTo Include =" PythonMigrationViewExtension" />
20+ <InternalsVisibleTo Include =" DynamoPythonTests" />
21+
22+ <PackageReference Include =" DynamoVisualProgramming.Core" Version =" $(DynamoPackageVersion)" ExcludeAssets =" runtime" />
23+ <PackageReference Include =" DynamoVisualProgramming.DynamoServices" Version =" $(DynamoPackageVersion)" ExcludeAssets =" runtime" />
24+ <PackageReference Include =" pythonnet" Version =" 3.1.0-preview-ADSK-*" />
3225 </ItemGroup >
3326 <ItemGroup >
3427 <Compile Update =" Properties\Resources.Designer.cs" >
5245 <LastGenOutput >Resources.en-US.Designer.cs</LastGenOutput >
5346 </EmbeddedResource >
5447 </ItemGroup >
55- </Project >
48+ <ItemGroup >
49+ <None Update =" pkg.json" >
50+ <TargetPath >..\%(Filename)%(Extension)</TargetPath >
51+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
52+ </None >
53+ </ItemGroup >
54+
55+ <Target Name =" PrepareExtension" AfterTargets =" AfterBuild" >
56+ <WriteLinesToFile File =" $(BuildOutput)pkg.json" Lines =" $([System.IO.File]::ReadAllText($(BuildOutput)pkg.json).Replace('$Version$','$(Version)').Replace('$DynamoVersion$','$(DynamoVersion)').Replace('$DllVersion$','$(MS_PACKAGE_VERSION)'))" Overwrite =" true" Encoding =" Unicode" />
57+ </Target >
58+
59+ </Project >
0 commit comments