Skip to content

Commit

Permalink
Revert "First version with migration from packages.config to package …
Browse files Browse the repository at this point in the history
…reference (#11186)"

This reverts commit c7a5e49.
  • Loading branch information
RobertGlobant20 committed Oct 29, 2020
1 parent c7a5e49 commit 5906c99
Show file tree
Hide file tree
Showing 119 changed files with 1,559 additions and 732 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/dynamoMSbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ jobs:
run: |
echo "***Continue with the build, Good luck developer!***"
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"
.\MSBuild.exe $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /t:Restore
.\MSBuild.exe $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln /t:Build
.\MSBuild.exe $Env:GITHUB_WORKSPACE\Dynamo\src\Dynamo.All.sln
# look for Dynamo
- name: Navigate to Dynamo Folder
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/dynamo_mono_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,14 @@ jobs:

- name: Setup Nuget.exe to use on VM
uses: nuget/setup-nuget@v1
with:
nuget-version: latest

- name: Nuget Restore on DynamoMono solution
run: nuget restore $GITHUB_WORKSPACE/src/Dynamo.Mono.sln

- name: Build Dynamo with mono msbuild
- name: Build Dynamo with mono xbuild
run: |
echo "***Continue with the build, Good luck mono developer!***"
msbuild $GITHUB_WORKSPACE/src/Dynamo.Mono.sln /p:Configuration=Release /t:Restore
msbuild $GITHUB_WORKSPACE/src/Dynamo.Mono.sln /p:Configuration=Release /t:Build
xbuild /p:Configuration=Release $GITHUB_WORKSPACE/src/Dynamo.Mono.sln
# look for Dynamo
- name: Navigate to Dynamo Folder
run: |
Expand Down
4 changes: 2 additions & 2 deletions src/Config/CS.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">16.0</VisualStudioVersion>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<OutputPath Condition=" '$(OutputPath)' == '' ">$(SolutionDir)..\bin\$(Platform)\$(Configuration)</OutputPath>
Expand Down
10 changes: 0 additions & 10 deletions src/Config/Cleanup.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@
<FilesToDelete Include="$(OutputPath)nodes\SharpDX*"/>
<FilesToDelete Include="$(OutputPath)nodes\HelixToolkit*"/>
<FilesToDelete Include="$(OutputPath)nodes\Cyotek*"/>
<FilesToDelete Include="$(OutputPath)nodes\Newtonsoft.Json*"/>
<FilesToDelete Include="$(OutputPath)nodes\nunit.framework*"/>
<FilesToDelete Include="$(OutputPath)nodes\ProtoGeometry*"/>
<FilesToDelete Include="$(OutputPath)nodes\ICSharpCode.AvalonEdit*"/>
<FilesToDelete Include="$(OutputPath)nodes\IronPython*"/>
<FilesToDelete Include="$(OutputPath)nodes\Microsoft*"/>
<FilesToDelete Include="$(OutputPath)nodes\Moq*"/>
<FilesToDelete Include="$(OutputPath)nodes\RestSharp*"/>
<FilesToDelete Include="$(OutputPath)nodes\System.Collections.Immutable*"/>
<FilesToDelete Include="$(OutputPath)nodes\Xceed*"/>
</ItemGroup>
<Delete Files="@(FilesToDelete)"/>
</Target>
Expand Down
7 changes: 0 additions & 7 deletions src/Config/GregReference.props

This file was deleted.

7 changes: 0 additions & 7 deletions src/Config/LibGMainReference.props

This file was deleted.

16 changes: 0 additions & 16 deletions src/Config/LibGSupportedReference.props

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@
<Project>{47533B7C-0E1A-44A4-8511-B438645F052A}</Project>
<Name>DynamoPackages</Name>
</ProjectReference>
<ProjectReference Include="..\NodeServices\DynamoServices.csproj">
<Project>{ef879a10-041d-4c68-83e7-3192685f1bae}</Project>
<Name>DynamoServices</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Page Include="DocumentationBrowserView.xaml">
Expand Down
10 changes: 5 additions & 5 deletions src/DynamoApplications/DynamoApplications.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
<Import Project="$(SolutionDir)Config/CS.props" />
</ImportGroup>
<Import Project=".\obj\DynamoApplications.csproj.nuget.g.props" Condition="Exists('.\obj\DynamoApplications.csproj.nuget.g.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand Down Expand Up @@ -37,6 +36,9 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="NDesk.Options, Version=0.2.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NDesk.Options.0.2.1\lib\NDesk.Options.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
Expand Down Expand Up @@ -91,9 +93,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="NDesk.Options">
<Version>0.2.1</Version>
</PackageReference>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
4 changes: 4 additions & 0 deletions src/DynamoApplications/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NDesk.Options" version="0.2.1" targetFramework="net48" />
</packages>
59 changes: 35 additions & 24 deletions src/DynamoCore/DynamoCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets">
<Import Project="$(SolutionDir)/Config/CS.props" />
<Import Project="$(SolutionDir)Config/Cleanup.targets" />
<Import Project="$(SolutionDir)Config/GregReference.props" />
<Import Project="$(SolutionDir)Config/LibGMainReference.props" />
<Import Project="$(SolutionDir)Config/LibGSupportedReference.props" />
</ImportGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project=".\obj\DynamoCore.csproj.nuget.g.props" Condition="Exists('.\obj\DynamoCore.csproj.nuget.g.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{7858FA8C-475F-4B8E-B468-1F8200778CF8}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
Expand All @@ -35,6 +32,12 @@ limitations under the License.
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<WarningLevel>4</WarningLevel>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
Expand Down Expand Up @@ -79,10 +82,26 @@ limitations under the License.
<Reference Include="Analytics.NET.Google">
<HintPath>..\..\extern\Analytics.NET\Analytics.NET.Google.dll</HintPath>
</Reference>
<Reference Include="Greg, Version=2.0.7507.22529, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Greg.2.0.7507.22529\lib\net48\Greg.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="ProtoGeometry, Version=2.9.0.2744, Culture=neutral, processorArchitecture=AMD64">
<HintPath>..\packages\DynamoVisualProgramming.LibG_227_0_0.2.9.0.2745\lib\net48\ProtoGeometry.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\RestSharp.105.2.3\lib\net46\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core"/>
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" />
Expand Down Expand Up @@ -297,6 +316,7 @@ limitations under the License.
<SubType>Designer</SubType>
</EmbeddedResource>
<None Include="App.config" />
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand Down Expand Up @@ -359,14 +379,6 @@ limitations under the License.
<ItemGroup>
<Resource Include="BuiltInAndOperators\BuiltIn.Migrations.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json">
<Version>8.0.3</Version>
</PackageReference>
<PackageReference Include="RestSharp">
<Version>105.2.3</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Choose>
<When Condition=" '$(OS)' != 'Unix' ">
Expand All @@ -382,15 +394,15 @@ limitations under the License.
</Choose>
<Target Name="BeforeBuild">
<PropertyGroup>
<LibGProtoGeometryLibGLocale>$(PkgDynamoVisualProgramming_LibG_227_0_0)\tools\net48\libg_locale</LibGProtoGeometryLibGLocale>
<LibGProtoGeometryLibGLocale>$(SolutionDir)\packages\DynamoVisualProgramming.LibG_227_0_0*\tools\net48\libg_locale</LibGProtoGeometryLibGLocale>
</PropertyGroup>
<ItemGroup>
<LibGInterface Include="$(PkgDynamoVisualProgramming_LibG_227_0_0)\tools\net48\LibG.Interface.dll" />
<LibGProtoGeometryXml Include="$(PkgDynamoVisualProgramming_LibG_227_0_0)\lib\net48\ProtoGeometry.XML" />
<LibGProtoGeometryUICulture Include="$(PkgDynamoVisualProgramming_LibG_227_0_0)\tools\net48\$(UICulture)\*" />
<LibG225 Include="$(PkgDynamoVisualProgramming_LibG_225_0_0)\tools\net48\LibG_225_0_0\*" />
<LibG226 Include="$(PkgDynamoVisualProgramming_LibG_226_0_0)\tools\net48\LibG_226_0_0\*" />
<LibG227 Include="$(PkgDynamoVisualProgramming_LibG_227_0_0)\tools\net48\LibG_227_0_0\*" />
<LibGInterface Include="$(SolutionDir)\packages\DynamoVisualProgramming.LibG_227_0_0*\tools\net48\LibG.Interface.dll" />
<LibGProtoGeometryXml Include="$(solutiondir)\packages\dynamovisualprogramming.libg_227_0_0*\lib\net48\protogeometry.xml" />
<LibGProtoGeometryUICulture Include="$(SolutionDir)\packages\DynamoVisualProgramming.LibG_227_0_0*\tools\net48\$(UICulture)\*" />
<LibG225 Include="$(SolutionDir)\packages\DynamoVisualProgramming.LibG_225_0_0*\tools\net48\LibG_225_0_0\*" />
<LibG226 Include="$(SolutionDir)\packages\DynamoVisualProgramming.LibG_226_0_0*\tools\net48\LibG_226_0_0\*" />
<LibG227 Include="$(SolutionDir)\packages\DynamoVisualProgramming.LibG_227_0_0*\tools\net48\LibG_227_0_0\*" />
<ExternSimplexNoise Include="$(SolutionDir)..\extern\SimplexNoise\*" />
<SampleFiles Include="$(SolutionDir)..\doc\distrib\Samples\**\*.*" />
<GalleryFiles Include="$(SolutionDir)..\extern\gallery\**\*.*" />
Expand All @@ -413,7 +425,6 @@ limitations under the License.
<Copy SourceFiles="@(LibG225)" DestinationFolder="$(OutputPath)libg_225_0_0\" />
<Copy SourceFiles="@(LibG226)" DestinationFolder="$(OutputPath)libg_226_0_0\" />
<Copy SourceFiles="@(LibG227)" DestinationFolder="$(OutputPath)libg_227_0_0\" />
<Copy SourceFiles="@(LibG227)" DestinationFolder="$(OutputPath)libg_227_0_0\" />
<Copy SourceFiles="@(ExternSimplexNoise)" DestinationFolder="$(OutputPath)" />
<Copy SourceFiles="@(ExternAnalytics)" DestinationFolder="$(OutputPath)" />
<Copy SourceFiles="@(SampleFiles)" DestinationFolder="$(OutputPath)samples\%(RecursiveDir)" />
Expand Down Expand Up @@ -452,4 +463,4 @@ limitations under the License.
<GenerateResource SdkToolsPath="$(TargetFrameworkSDKToolsDirectory)" UseSourcePath="true" Sources="$(ProjectDir)/BuiltInAndOperators/BuiltInImages.resx" OutputResources="$(ProjectDir)/BuiltInAndOperators/BuiltInImages.resources" References="$(FrameworkAssembliesPath)System.Drawing.dll" />
<AL SdkToolsPath="$(TargetFrameworkSDKToolsDirectory)" TargetType="library" EmbedResources="$(ProjectDir)/BuiltInAndOperators/BuiltInImages.resources" OutputAssembly="$(OutDir)BuiltIn.customization.dll" Version="%(DynamoCoreInfo.Version)" />
</Target>
</Project>
</Project>
9 changes: 9 additions & 0 deletions src/DynamoCore/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="DynamoVisualProgramming.LibG_225_0_0" version="2.9.0.2751" targetFramework="net48" developmentDependency="true" />
<package id="DynamoVisualProgramming.LibG_226_0_0" version="2.9.0.2746" targetFramework="net48" developmentDependency="true" />
<package id="DynamoVisualProgramming.LibG_227_0_0" version="2.9.0.2745" targetFramework="net48" developmentDependency="true" />
<package id="Greg" version="2.0.7507.22529" targetFramework="net48" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net48" />
<package id="RestSharp" version="105.2.3" targetFramework="net48" />
</packages>
Loading

0 comments on commit 5906c99

Please sign in to comment.