-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from mikanyg/net-standard-2.0
Net standard 2.0 support Converted servicefabric.autorest project to netstandard20 and updated SF dependencies to V3.0 which are netstandard compliant. Converted unit test project to netcore nunit project template based on dotnet cli Updated samples to .NET 4.6.2 in order to be .NET Standard 2.0 compliant and updated to v2.0.0 of ServiceFabric.AutoRest
- Loading branch information
Showing
35 changed files
with
636 additions
and
836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 0 additions & 36 deletions
36
Src/ServiceFabric.AutoRest.Communication/Properties/AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
172 changes: 43 additions & 129 deletions
172
Src/ServiceFabric.AutoRest.Communication/ServiceFabric.AutoRest.Communication.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,135 +1,49 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{6EC66346-310D-4D9D-A4A8-10537601063D}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<PackageId>ServiceFabric.AutoRest</PackageId> | ||
<Version>2.0.0</Version> | ||
<PackageLicenseUrl>https://raw.githubusercontent.com/mikanyg/ServiceFabric.AutoRest/master/LICENSE.txt</PackageLicenseUrl> | ||
<PackageProjectUrl>https://github.com/mikanyg/ServiceFabric.AutoRest</PackageProjectUrl> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<RepositoryType>Git</RepositoryType> | ||
<RepositoryUrl>https://github.com/mikanyg/ServiceFabric.AutoRest.git</RepositoryUrl> | ||
<PackageReleaseNotes> | ||
2.0.0 | ||
- Now targeting netstandard2.0 | ||
1.4.1 | ||
- Added Newtonsoft.Json as a dependency in the proper version. | ||
1.4.0 | ||
- Primary dependencies (ServiceFabric and AutoRest) updated to latest version. | ||
1.3.0 | ||
- BREAKING CHANGE: RestCommunicationClient now implements ICommunicationClient interface explicitly. Cast to ICommunicationClient to get acces to its members. | ||
- Dependent package versions updated to latest version. | ||
- More trace output added when events are being triggered. | ||
1.2.0 | ||
- RestCommunicationClient now has a properties dictionary for storing metadata. Usable for subscribers. | ||
- New event ClientCreated fired by RestCommunicationClientFactory after a client has been created. | ||
- New event ClientValidating fired by RestCommunicationClientFactory during client validation. Allows subscribers to determine client validity. | ||
1.1.0 | ||
- Added support for resolving credentials at communication client creation time, through an instance of ICredentialsManager. | ||
1.0.1 | ||
- Added Trace output for improved diagnostics. | ||
1.0.0 | ||
- Initial release version. | ||
</PackageReleaseNotes> | ||
<PackageTags>ServiceFabric Azure Fabric AutoRest ClientRuntime REST</PackageTags> | ||
<Copyright>Copyright © 2018</Copyright> | ||
<Product>ServiceFabric.AutoRest</Product> | ||
<Authors>mikanyg</Authors> | ||
<Company>mikanyg</Company> | ||
<Description>Service Fabric communication library that can be used with AutoRest generated client libraries.</Description> | ||
<RootNamespace>ServiceFabric.AutoRest.Communication.Client</RootNamespace> | ||
<AssemblyName>ServiceFabric.AutoRest</AssemblyName> | ||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'"> | ||
<DebugSymbols>true</DebugSymbols> | ||
<OutputPath>bin\x64\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<DebugType>full</DebugType> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<ErrorReport>prompt</ErrorReport> | ||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'"> | ||
<OutputPath>bin\x64\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<Optimize>true</Optimize> | ||
<DebugType>pdbonly</DebugType> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<ErrorReport>prompt</ErrorReport> | ||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.10\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.ServiceFabric.Data, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.Data.2.8.232\lib\net45\Microsoft.ServiceFabric.Data.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.ServiceFabric.Data.Interfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.Data.2.8.232\lib\net45\Microsoft.ServiceFabric.Data.Interfaces.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="Microsoft.ServiceFabric.Diagnostics, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.Diagnostics.Internal.2.8.232\lib\net45\Microsoft.ServiceFabric.Diagnostics.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.ServiceFabric.Internal, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.6.0.232\lib\net45\Microsoft.ServiceFabric.Internal.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.ServiceFabric.Internal.Strings, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.6.0.232\lib\net45\Microsoft.ServiceFabric.Internal.Strings.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.ServiceFabric.Preview, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.6.0.232\lib\net45\Microsoft.ServiceFabric.Preview.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.ServiceFabric.Services, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.Services.2.8.232\lib\net45\Microsoft.ServiceFabric.Services.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> | ||
<HintPath>..\..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Fabric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.6.0.232\lib\net45\System.Fabric.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="System.Fabric.Management.ServiceModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.6.0.232\lib\net45\System.Fabric.Management.ServiceModel.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Fabric.Management.ServiceModel.XmlSerializers, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.6.0.232\lib\net45\System.Fabric.Management.ServiceModel.XmlSerializers.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Fabric.Strings, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=AMD64"> | ||
<HintPath>..\..\packages\Microsoft.ServiceFabric.6.0.232\lib\net45\System.Fabric.Strings.dll</HintPath> | ||
<Private>True</Private> | ||
</Reference> | ||
<Reference Include="System.Net" /> | ||
<Reference Include="System.Net.Http.WebRequest" /> | ||
<Reference Include="System.Runtime.Serialization" /> | ||
<Reference Include="System.ServiceModel" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="CommunicationClientValidatingEventArgs.cs" /> | ||
<Compile Include="ICredentialsManager.cs" /> | ||
<Compile Include="RestCommunicationClient.cs" /> | ||
<Compile Include="RestCommunicationClientFactory.cs" /> | ||
<Compile Include="HttpOperationExceptionHandler.cs" /> | ||
<Compile Include="IRestServicePartitionClient.cs" /> | ||
<Compile Include="IRestServicePartitionClientFactory.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="RestServicePartitionClient.cs" /> | ||
<Compile Include="RestServicePartitionClientFactory.cs" /> | ||
<Compile Include="TypeExtensions.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="app.config" /> | ||
<None Include="packages.config"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
<None Include="ServiceFabric.AutoRest.nuspec" /> | ||
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.10" /> | ||
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="3.0.456" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> | ||
|
||
</Project> |
41 changes: 0 additions & 41 deletions
41
Src/ServiceFabric.AutoRest.Communication/ServiceFabric.AutoRest.nuspec
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.