Skip to content

Commit b95da18

Browse files
committed
Updated to SDK project style.
1 parent 920870a commit b95da18

File tree

3 files changed

+38
-174
lines changed

3 files changed

+38
-174
lines changed
Lines changed: 18 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,18 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4-
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{42FB2213-0815-41CD-94F8-DFB0EC1D8061}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>Umbraco.Deploy.Contrib.Connectors</RootNamespace>
11-
<AssemblyName>Umbraco.Deploy.Contrib.Connectors</AssemblyName>
12-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<TargetFrameworkProfile />
15-
<NuGetPackageImportStamp>
16-
</NuGetPackageImportStamp>
17-
</PropertyGroup>
18-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19-
<DebugSymbols>true</DebugSymbols>
20-
<DebugType>full</DebugType>
21-
<Optimize>false</Optimize>
22-
<OutputPath>bin\Debug\</OutputPath>
23-
<DefineConstants>DEBUG;TRACE</DefineConstants>
24-
<ErrorReport>prompt</ErrorReport>
25-
<WarningLevel>4</WarningLevel>
26-
</PropertyGroup>
27-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28-
<DebugType>pdbonly</DebugType>
29-
<Optimize>true</Optimize>
30-
<OutputPath>bin\Release\</OutputPath>
31-
<DefineConstants>TRACE</DefineConstants>
32-
<ErrorReport>prompt</ErrorReport>
33-
<WarningLevel>4</WarningLevel>
34-
</PropertyGroup>
35-
<ItemGroup>
36-
<Reference Include="System" />
37-
<Reference Include="System.ComponentModel.Composition" />
38-
<Reference Include="System.ComponentModel.DataAnnotations" />
39-
<Reference Include="System.Configuration" />
40-
<Reference Include="System.Core" />
41-
<Reference Include="System.Data" />
42-
<Reference Include="System.Data.Linq" />
43-
<Reference Include="System.IO" />
44-
<Reference Include="System.IO.Compression" />
45-
<Reference Include="System.Linq.Expressions" />
46-
<Reference Include="System.Net.Http" />
47-
<Reference Include="System.Numerics" />
48-
<Reference Include="System.Runtime" />
49-
<Reference Include="System.Runtime.Caching" />
50-
<Reference Include="System.Runtime.Serialization" />
51-
<Reference Include="System.Threading.Tasks" />
52-
<Reference Include="System.Transactions" />
53-
<Reference Include="System.Web" />
54-
<Reference Include="System.Web.Extensions" />
55-
<Reference Include="System.Xml.Linq" />
56-
<Reference Include="Microsoft.CSharp" />
57-
<Reference Include="System.Xml" />
58-
</ItemGroup>
59-
<ItemGroup>
60-
<Compile Include="Properties\AssemblyInfo.cs" />
61-
<Compile Include="Properties\VersionInfo.cs" />
62-
<Compile Include="ValueConnectors\BlockEditorValueConnector.cs" />
63-
<Compile Include="ValueConnectors\MultiUrlPickerValueConnector.cs" />
64-
<Compile Include="ValueConnectors\BlockListValueConnector.cs" />
65-
<Compile Include="ValueConnectors\NestedContentValueConnector.cs" />
66-
</ItemGroup>
67-
<ItemGroup>
68-
<Content Include="GridCellValueConnectors\dummy.txt" />
69-
</ItemGroup>
70-
<ItemGroup>
71-
<PackageReference Include="UmbracoDeploy.Core">
72-
<Version>4.1.2</Version>
73-
</PackageReference>
74-
</ItemGroup>
75-
<ItemGroup />
76-
<ItemGroup>
77-
<None Include="app.config" />
78-
</ItemGroup>
79-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
80-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<AssemblyName>Umbraco.Deploy.Contrib.Connectors</AssemblyName>
4+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
5+
<RootNamespace>Umbraco.Deploy.Contrib.Connectors</RootNamespace>
6+
<TargetFramework>net472</TargetFramework>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<Content Include="GridCellValueConnectors\dummy.txt" />
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<PackageReference Include="UmbracoDeploy.Core">
15+
<Version>4.1.2</Version>
16+
</PackageReference>
17+
</ItemGroup>
18+
</Project>

src/Umbraco.Deploy.Contrib.Tests/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
[assembly: AssemblyConfiguration("")]
77
[assembly: AssemblyCompany("")]
88
[assembly: AssemblyProduct("Umbraco.Deploy.Contrib")]
9-
[assembly: AssemblyCopyright("Copyright \xa9 2016 Umbraco")]
9+
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
1010
[assembly: AssemblyTrademark("")]
1111
[assembly: AssemblyCulture("")]
1212

1313
[assembly: ComVisible(false)]
1414
[assembly: Guid("48b09241-9c44-47ef-b4df-397b39a631dc")]
1515

16-
[assembly: AssemblyVersion("1.0.*")]
16+
[assembly: AssemblyVersion("4.0.0")]
Lines changed: 18 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,18 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProjectGuid>{48B09241-9C44-47EF-B4DF-397B39A631DC}</ProjectGuid>
7-
<OutputType>Library</OutputType>
8-
<AppDesignerFolder>Properties</AppDesignerFolder>
9-
<RootNamespace>Umbraco.Deploy.Contrib.Tests</RootNamespace>
10-
<AssemblyName>Umbraco.Deploy.Contrib.Tests</AssemblyName>
11-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
12-
<FileAlignment>512</FileAlignment>
13-
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
14-
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
15-
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
16-
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
17-
<IsCodedUITest>False</IsCodedUITest>
18-
<TestProjectType>UnitTest</TestProjectType>
19-
<NuGetPackageImportStamp>
20-
</NuGetPackageImportStamp>
21-
<TargetFrameworkProfile />
22-
</PropertyGroup>
23-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
24-
<DebugSymbols>true</DebugSymbols>
25-
<DebugType>full</DebugType>
26-
<Optimize>false</Optimize>
27-
<OutputPath>bin\Debug\</OutputPath>
28-
<DefineConstants>DEBUG;TRACE</DefineConstants>
29-
<ErrorReport>prompt</ErrorReport>
30-
<WarningLevel>4</WarningLevel>
31-
</PropertyGroup>
32-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
33-
<DebugType>pdbonly</DebugType>
34-
<Optimize>true</Optimize>
35-
<OutputPath>bin\Release\</OutputPath>
36-
<DefineConstants>TRACE</DefineConstants>
37-
<ErrorReport>prompt</ErrorReport>
38-
<WarningLevel>4</WarningLevel>
39-
</PropertyGroup>
40-
<ItemGroup>
41-
<Reference Include="Microsoft.CSharp" />
42-
<Reference Include="System" />
43-
<Reference Include="System.ComponentModel.Composition" />
44-
<Reference Include="System.ComponentModel.DataAnnotations" />
45-
<Reference Include="System.Configuration" />
46-
<Reference Include="System.Core" />
47-
<Reference Include="System.Data" />
48-
<Reference Include="System.Data.Linq" />
49-
<Reference Include="System.IO" />
50-
<Reference Include="System.IO.Compression" />
51-
<Reference Include="System.Linq.Expressions" />
52-
<Reference Include="System.Net.Http" />
53-
<Reference Include="System.Numerics" />
54-
<Reference Include="System.Runtime" />
55-
<Reference Include="System.Runtime.Caching" />
56-
<Reference Include="System.Runtime.Serialization" />
57-
<Reference Include="System.Threading.Tasks" />
58-
<Reference Include="System.Transactions" />
59-
<Reference Include="System.Web" />
60-
<Reference Include="System.Web.Extensions" />
61-
<Reference Include="System.Xml" />
62-
<Reference Include="System.Xml.Linq" />
63-
</ItemGroup>
64-
<ItemGroup>
65-
<Compile Include="Properties\AssemblyInfo.cs" />
66-
<Compile Include="TestHelpers\MemoryFileTypeCollection.cs" />
67-
<Compile Include="TestHelpers\MockedContent.cs" />
68-
<Compile Include="TestHelpers\MockedContentTypes.cs" />
69-
<Compile Include="TestHelpers\MockedMedia.cs" />
70-
<Compile Include="TestHelpers\MockedValues.cs" />
71-
<Compile Include="TestHelpers\TestFileTypeCollection.cs" />
72-
</ItemGroup>
73-
<ItemGroup>
74-
<ProjectReference Include="..\Umbraco.Deploy.Contrib.Connectors\Umbraco.Deploy.Contrib.Connectors.csproj">
75-
<Project>{42fb2213-0815-41cd-94f8-dfb0ec1d8061}</Project>
76-
<Name>Umbraco.Deploy.Contrib.Connectors</Name>
77-
</ProjectReference>
78-
</ItemGroup>
79-
<ItemGroup>
80-
<Folder Include="Connectors\" />
81-
</ItemGroup>
82-
<ItemGroup>
83-
<None Include="app.config" />
84-
</ItemGroup>
85-
<ItemGroup>
86-
<PackageReference Include="UmbracoDeploy.Core">
87-
<Version>4.1.2</Version>
88-
</PackageReference>
89-
</ItemGroup>
90-
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
91-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
92-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<AssemblyName>Umbraco.Deploy.Contrib.Connectors.Tests</AssemblyName>
4+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
5+
<RootNamespace>Umbraco.Deploy.Contrib.Connectors.Tests</RootNamespace>
6+
<TargetFramework>net472</TargetFramework>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="UmbracoDeploy.Core">
11+
<Version>4.1.2</Version>
12+
</PackageReference>
13+
</ItemGroup>
14+
15+
<ItemGroup>
16+
<ProjectReference Include="..\Umbraco.Deploy.Contrib.Connectors\Umbraco.Deploy.Contrib.Connectors.csproj" />
17+
</ItemGroup>
18+
</Project>

0 commit comments

Comments
 (0)